summaryrefslogtreecommitdiffstats
path: root/.lgtm.yml
diff options
context:
space:
mode:
authorPaweł Krupa <pawel@krupa.net.pl>2018-09-24 01:39:20 +0200
committerCosta Tsaousis <costa@tsaousis.gr>2018-09-24 02:39:20 +0300
commita0f1d2becae25e7f3fdd1ef1f391eb794eeb851c (patch)
tree9468d68be4bb2845ae85ba9c405dffe14662723d /.lgtm.yml
parentbbea403290815ff34b4fd99ce9bb15928b6f210f (diff)
Update .lgtm.yml (#4272)
Diffstat (limited to '.lgtm.yml')
-rw-r--r--.lgtm.yml37
1 files changed, 15 insertions, 22 deletions
diff --git a/.lgtm.yml b/.lgtm.yml
index c323ed7261..eb062d50fd 100644
--- a/.lgtm.yml
+++ b/.lgtm.yml
@@ -1,30 +1,23 @@
-# docs: https://lgtm.com/help/lgtm/lgtm.yml-configuration-file
-
+---
+# LGTM does a good job at classifying files, but sometimes it needs some help.
+# To classify files which shouldn't be checked we need to define where such
+# files are located and manually assign them one of possible categories:
+# docs, generated, library, template, test
+# More information can be found in lgtm documentation:
+# https://help.semmle.com/lgtm-enterprise/user/help/file-classification.html#built-in-tags
+# https://lgtm.com/help/lgtm/lgtm.yml-configuration-file
path_classifiers:
library:
- - python.d/python_modules/third_party/*
+ - python.d/python_modules/third_party/
- python.d/python_modules/urllib3/
- - python.d/python_modules/urllib3/*
- - python.d/python_modules/urllib3/util/*
- - python.d/python_modules/urllib3/packages/*
- - python.d/python_modules/urllib3/packages/backports/*
- - python.d/python_modules/urllib3/packages/ssl_match_hostname/*
- - python.d/python_modules/urllib3/contrib/*
- - python.d/python_modules/urllib3/contrib/_securetransport/*
- - python.d/python_modules/pyyaml2/*
- - python.d/python_modules/pyyaml3/*
- - node.d/node_modules/lib/*
- - node.d/node_modules/lib/ber/*
+ - python.d/python_modules/pyyaml2/
+ - python.d/python_modules/pyyaml3/
+ - node.d/node_modules/lib/
- node.d/node_modules/asn1-ber.js
- node.d/node_modules/extend.js
- node.d/node_modules/net-snmp.js
- node.d/node_modules/pixl-xml.js
- - web/lib/*
- - web/css/*
+ - web/lib/
+ - web/css/
test:
- - tests/web/*
- - tests/web/lib/*
- - tests/web/fixtures/*
- - tests/profile/*
- - tests/node.d/*
- - tests/*
+ - tests/