Skip to content

Commit b121a84

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

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.lgtm.yml

+14
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)