@@ -3,7 +3,9 @@ envlist =
33 coverage-clean
44 manifest
55 flake8
6- # pylint
6+ vulture
7+ xenon
8+ pyroma
79 readme
810 doc8
911 docs
@@ -31,12 +33,43 @@ deps = check-manifest
3133skip_install = true
3234commands = check-manifest
3335
34- [testenv:coverage-report ]
35- deps = coverage
36+ [testenv:flake8 ]
37+ basepython = python3
3638skip_install = true
39+ deps =
40+ flake8
41+ flake8-docstrings>=0.2.7
42+ flake8-import-order>=0.9
43+ pep8-naming
44+ flake8-colors
3745commands =
38- coverage combine
39- coverage report
46+ flake8 src/bio2bel_go/ tests/ setup.py
47+
48+ [testenv:vulture]
49+ deps = vulture
50+ skip_install = true
51+ commands = vulture src/bio2bel_go/
52+ description = Run the vulture tool to look for dead code.
53+
54+ [testenv:xenon]
55+ deps = xenon
56+ skip_install = true
57+ commands = xenon --max-average A --max-modules A --max-absolute B .
58+ description = Run the xenon tool to monitor code complexity.
59+
60+ [testenv:mypy]
61+ deps = mypy
62+ skip_install = true
63+ commands = mypy --ignore-missing-imports src/bio2bel_go/
64+ description = Run the mypy tool to check static typing on the project.
65+
66+ [testenv:pyroma]
67+ deps =
68+ pygments
69+ pyroma
70+ skip_install = true
71+ commands = pyroma --min =10 .
72+ description = Run the pyroma tool to check the project' s package friendliness.
4073
4174[testenv:readme]
4275commands = rst-lint README.rst
@@ -58,26 +91,6 @@ commands =
5891 cat {envtmpdir}/build/coverage/c.txt
5992 cat {envtmpdir}/build/coverage/python.txt
6093
61- [testenv:flake8]
62- basepython = python3
63- skip_install = true
64- deps =
65- flake8
66- flake8-docstrings>=0.2.7
67- flake8-import-order>=0.9
68- pep8-naming
69- flake8-colors
70- commands =
71- flake8 src/bio2bel_go/ tests/ setup.py
72-
73- [testenv:pylint]
74- basepython = python3
75- deps =
76- pyflakes
77- pylint
78- commands =
79- pylint src/bio2bel_go
80-
8194[testenv:doc8]
8295basepython = python3
8396skip_install = true
@@ -87,6 +100,13 @@ deps =
87100commands =
88101 doc8 docs/source/ README.rst
89102
103+ [testenv:coverage-report]
104+ deps = coverage
105+ skip_install = true
106+ commands =
107+ coverage combine
108+ coverage report
109+
90110####################
91111# Deployment tools #
92112####################
0 commit comments