Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INFRA] Add .lgtm.yml file for better usage of LGTM CI tool #865

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .lgtm.yml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion pdf_build_src/process_markdowns.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down