Skip to content

Commit 509efd0

Browse files
authored
Merge pull request matplotlib#20454 from QuLogic/lgtm-py3
Tell LGTM to use Python 3 explicitly.
2 parents 32afcf5 + 15cae08 commit 509efd0

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

.lgtm.yml

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

0 commit comments

Comments
 (0)