Skip to content

Commit db6168c

Browse files
Add LGTM.com configuration file (#337)
The YAML configuration file for the LGTM static analysis tool can be either lgtm.yml or .lgtm.yml: https://lgtm.com/help/lgtm/lgtm.yml-configuration-file There is no need to integrate the LGTM tool in CI, as LGTM appears to be running on all repositories it has been run on once. The results currently appear here: https://lgtm.com/projects/g/zarr-developers/numcodecs Exclude vendored file cpuinfo.py from analysis.
1 parent c78ff53 commit db6168c

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.lgtm.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
# This file contains configuration for the LGTM tool: https://lgtm.com/
3+
# The numcodecs repository is continuously scanned by the LGTM tool for
4+
# any security and/or code vulnerabilities. You can find the alerts here:
5+
# https://lgtm.com/projects/g/zarr-developers/numcodecs
6+
7+
extraction:
8+
python:
9+
index:
10+
exclude: cpuinfo.py
11+
12+
path_classifiers:
13+
test:
14+
- numcodecs/tests
15+
16+
queries:
17+
- exclude: py/clear-text-logging-sensitive-data

docs/release.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ Maintenance
2424
* Remove trailing spaces and empty lines.
2525
By :user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>`, :issue:`341`.
2626

27+
* Add LGTM.com configuration file
28+
By :user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>`, :issue:`337`.
29+
2730
.. _release_0.10.0:
2831

2932
0.10.0

0 commit comments

Comments
 (0)