1
1
[tox]
2
- envlist = isort, black, flake8, safety, mypy, install, py3{7,8,9,10,11}
2
+ envlist = flake8, safety, mypy, install, py3{7,8,9,10,11}
3
3
isolated_build = true
4
4
5
5
[gh-actions]
6
6
python =
7
- 3.7: install, isort, black, flake8, mypy, safety, py37
7
+ 3.7: install, flake8, mypy, safety, py37
8
8
3.8: install, mypy, safety, py38
9
9
3.9: install, mypy, safety, py39
10
10
3.10: install, mypy, safety, py310
@@ -13,26 +13,20 @@ python =
13
13
[testenv]
14
14
# Define base for all test environments.
15
15
16
- [testenv:isort]
17
- skip_install = True
18
- deps =
19
- isort
20
- commands =
21
- isort --check-only --diff {toxinidir}/src/depinfo {toxinidir}/tests {toxinidir}/setup.py
22
-
23
- [testenv:black]
24
- skip_install = True
25
- deps =
26
- black
27
- commands =
28
- black --check --diff {toxinidir}/src/depinfo {toxinidir}/tests {toxinidir}/setup.py
29
-
30
16
[testenv:flake8]
31
17
skip_install = True
32
18
deps =
19
+ darglint
33
20
flake8
34
- flake8-docstrings
21
+ flake8-bandit
22
+ flake8-black
35
23
flake8-bugbear
24
+ flake8-builtins
25
+ flake8-comprehensions
26
+ flake8-docstrings
27
+ flake8-eradicate
28
+ flake8-isort
29
+ flake8-pytest-style
36
30
commands =
37
31
flake8 {toxinidir}/src/depinfo {toxinidir}/tests {toxinidir}/setup.py
38
32
@@ -104,6 +98,9 @@ ignore =
104
98
E203
105
99
W503
106
100
D202
101
+ # darglint
102
+ strictness = long
103
+ docstring_style = google
107
104
108
105
[isort]
109
106
skip =
0 commit comments