Skip to content

Commit 4fb0f7e

Browse files
Add LGTM.com / DeepSource.io configuration files (#909)
* Add LGTM.com configuration file The YAML configuration file for the LGTM static analysis tool can be either lgtm.yml or .lgtm.yml: https://help.semmle.com/lgtm-enterprise/user/help/lgtm.yml-configuration-file.html 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/zarr-python * Add DeepSource.io configuration file The TOML configuration file is .deepsource.toml: https://deepsource.io/docs/concepts/#deepsourcetoml-file DeepSource.io analysis must be enabled by a repository owner. It doesn't look like it is possible to run DeepSource.io on each PR, rather the monitored branch is analysed periodically, after commits are pushed.
1 parent de7858a commit 4fb0f7e

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.deepsource.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version = 1
2+
3+
test_patterns = ["zarr/tests/test_*.py"]
4+
5+
[[analyzers]]
6+
name = "python"
7+
enabled = true
8+
9+
[analyzers.meta]
10+
runtime_version = "3.x.x"

.lgtm.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Config for LGTM.com static code analysis
2+
# https://lgtm.com/projects/g/zarr-developers/zarr-python
3+
4+
extraction:
5+
python:
6+
python_setup:
7+
version: 3

0 commit comments

Comments
 (0)