remove dead code
This commit is contained in:
parent
c2376e6a44
commit
51c4d457b1
|
@ -88,7 +88,6 @@ class Annotation:
|
|||
item = AnnotationItem()
|
||||
|
||||
# step1 remove the annotation
|
||||
# reg1 = "(\#\ *\@"++"\ *)"
|
||||
reg1 = r"(\#\ *\@" + name + r"\ *)"
|
||||
line1 = re.sub(reg1, "", line).strip()
|
||||
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -8,6 +8,7 @@ flake8-isort
|
|||
flake8-logging-format
|
||||
flake8-polyfill
|
||||
flake8-quotes
|
||||
flake8-eradicate
|
||||
pep8-naming
|
||||
wheel
|
||||
pytest
|
||||
|
|
Loading…
Reference in New Issue