From 3a71f476aa4df7b896288a1dc0969c522dfe12ac Mon Sep 17 00:00:00 2001 From: Eva Lott Date: Mon, 15 May 2023 13:32:11 +0100 Subject: [PATCH] Ignoring before and after the given line --- src/python3_pip_skeleton/__main__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/python3_pip_skeleton/__main__.py b/src/python3_pip_skeleton/__main__.py index d0efccf9..d2ca4f5e 100644 --- a/src/python3_pip_skeleton/__main__.py +++ b/src/python3_pip_skeleton/__main__.py @@ -25,7 +25,10 @@ # An empty list will ignore the whole file. IGNORE_FILES: Dict[str, List[Tuple[str, str]]] = { "update-tools.rst": [], - "test_boilerplate_removed.py": [], + "test_boilerplate_removed.py": [ + ("import sys", "def test_module_summary"), + ("One line description of your", "features and why people should use it"), + ], "pin-requirements.rst": [], "0002-switched-to-pip-skeleton.rst:": [], "README.rst": [