8000 Exclude examples from lgtm analysis · matplotlib/matplotlib@c114065 · GitHub
[go: up one dir, main page]

Skip to content

Commit c114065

Browse files
committed
Exclude examples from lgtm analysis
1 parent 1b66c1d commit c114065

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.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+
# - pymultiple-definition
13+
- examples
14+
- tutorials

0 commit comments

Comments
 (0)
0