Skip to content

Commit

Permalink
Exclude examples from lgtm analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
timhoffm committed Sep 20, 2018
1 parent 1b66c1d commit b121a84
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .lgtm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
path_classifiers:
examples:
# Exclude example files from analysis by tagging them.
# We intentionally use multiple imports and unused variables in the
# examples to make them more explicit. These generate a lot of alerts.
# Since lgtm does not yet support suppressing selected alerts per
# file, we currently deactivate analysis completely here. May be
# reactivated when we can selectively suppress
# - py/import-and-import-from
# - py/repeated-import
# - py/unused-local-variable
# - py/multiple-definition
- examples
- tutorials

0 comments on commit b121a84

Please sign in to comment.