Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1437772

Browse files
authored
Merge pull request #12192 from timhoffm/lgtm-config
CI: Exclude examples from lgtm analysis
2 parents 6eceb1e + b121a84 commit 1437772

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.lgtm.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
path_classifiers:
2+
examples:
3+
# Exclude example files from analysis by tagging them.
4+
# We intentionally use multiple imports and unused variables in the
5+
# examples to make them more explicit. These generate a lot of alerts.
6+
# Since lgtm does not yet support suppressing selected alerts per
7+
# file, we currently deactivate analysis completely here. May be
8+
# reactivated when we can selectively suppress
9+
# - py/import-and-import-from
10+
# - py/repeated-import
11+
# - py/unused-local-variable
12+
# - py/multiple-definition
13+
- examples
14+
- tutorials

0 commit comments

Comments
 (0)