diff --git a/.lgtm.yml b/.lgtm.yml new file mode 100644 index 000000000000..b48a4f003db0 --- /dev/null +++ b/.lgtm.yml @@ -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