diff --git a/.lgtm.yml b/.lgtm.yml new file mode 100644 index 0000000000..0734210407 --- /dev/null +++ b/.lgtm.yml @@ -0,0 +1,8 @@ +--- +# This file contains configuration for the LGTM tool: https://lgtm.com/ +# The bids-specification repository is continuously scanned by the LGTM tool +# for any security and/or code vulnerabilities. You can find the alert here: +# https://lgtm.com/projects/g/bids-standard/bids-specification/ +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):