diff --git a/lgtm.yml b/lgtm.yml new file mode 100644 index 0000000000..cbdd9e90c1 --- /dev/null +++ b/lgtm.yml @@ -0,0 +1,3 @@ +# https://github.com/github/codeql/issues/6517 +queries: + - 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):