diff --git a/.lgtm.yml b/.lgtm.yml new file mode 100644 index 0000000000..6bf3e9bea0 --- /dev/null +++ b/.lgtm.yml @@ -0,0 +1,4 @@ +--- +queries: + # https://lgtm.com/rules/6770079/ + - exclude: py/unused-import diff --git a/pdf_build_src/process_markdowns.py b/pdf_build_src/process_markdowns.py index 53d9481d29..a1e5bfd38e 100644 --- a/pdf_build_src/process_markdowns.py +++ b/pdf_build_src/process_markdowns.py @@ -16,7 +16,8 @@ import numpy as np sys.path.append("../tools/") -from mkdocs_macros_bids import macros # noqa (used in "eval" call later on) +# functions from module macros are called by eval() later on +from mkdocs_macros_bids import macros # noqa: F401 def run_shell_cmd(command):