remove dead code

This commit is contained in:
Robert Kaussow 2020-04-11 12:28:38 +02:00
parent c2376e6a44
commit 51c4d457b1
4 changed files with 2 additions and 3 deletions

View File

@ -88,7 +88,6 @@ class Annotation:
item = AnnotationItem()
# step1 remove the annotation
# reg1 = "(\#\ *\@"++"\ *)"
reg1 = r"(\#\ *\@" + name + r"\ *)"
line1 = re.sub(reg1, "", line).strip()

View File

@ -28,7 +28,6 @@ class Parser:
self._files_registry = Registry()
self._parse_meta_file()
self._parse_var_files()
# self._parse_task_tags()
self._populate_doc_data()
def _parse_var_files(self):

View File

@ -268,7 +268,7 @@ class FileUtils:
prompt = "[N/y]"
try:
# input() is safe in python3
# input method is safe in python3
choice = input("{} {} ".format(question, prompt)) or default # nosec
return to_bool(choice)
except (KeyboardInterrupt, ValueError) as e:

View File

@ -8,6 +8,7 @@ flake8-isort
flake8-logging-format
flake8-polyfill
flake8-quotes
flake8-eradicate
pep8-naming
wheel
pytest