Skip to content

Commit 9f19747

Browse files
fix: dependency conflicts within the static code analysis pipeline.
1 parent 131a484 commit 9f19747

File tree

1 file changed

+28
-24
lines changed

1 file changed

+28
-24
lines changed

tox.ini

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# standard unit tests
32
[testenv:pytest]
43
deps = pytest
@@ -10,29 +9,34 @@ commands = pytest --cov-config=.coveragerc --cov=inscriptis ./tests
109
deps = pyroma
1110
commands = pyroma .
1211

13-
# coding style
14-
[testenv:pep8]
15-
deps = flake8
16-
flake8-blind-except
17-
flake8-bandit
18-
flake8-bugbear
19-
flake8-builtins
20-
flake8-cognitive-complexity
21-
flake8-colors
22-
flake8-comprehensions
23-
flake8-docstrings
24-
flake8-eradicate
25-
flake8-expression-complexity
26-
flake8-mutable
27-
flake8-pathlib
28-
flake8-pytest
29-
flake8-quotes
30-
flake8-raise
31-
flake8-simplify
32-
flake8-string-format
33-
flake8-tuple
34-
flake8-logging-format
35-
pep8-naming
12+
# checks compatible with flake 4
13+
[testenv:flake8-4]
14+
deps = flake8 ~= 4.0.1
15+
flake8-blind-except ~= 0.2.0
16+
flake8-bandit ~= 2.1.2
17+
flake8-bugbear ~= 21.9.2
18+
flake8-builtins ~= 1.5.3
19+
flake8-cognitive-complexity ~= 0.1.0
20+
flake8-colors ~= 0.1.9
21+
flake8-comprehensions ~= 3.7.0
22+
flake8-docstrings ~= 1.6.0
23+
flake8-eradicate ~= 1.2.0
24+
flake8-expression-complexity ~= 0.0.9
25+
flake8-string-format ~= 0.3.0
26+
flake8-tuple ~= 0.4.1
27+
flake8-logging-format ~= 0.6.0
28+
flake8-pytest ~= 1.3
29+
flake8-quotes ~= 3.3.1
30+
flake8-raise ~= 0.0.5
31+
flake8-simplify ~= 0.14.2
32+
pep8-naming ~= 0.12.1
33+
flake8-mutable ~= 1.2.0
34+
commands = flake8
35+
36+
# checks compatible with flake < 4.0.0
37+
[testenv:flake8-3]
38+
deps = flake8 < 4.0.0
39+
flake8-use-pathlib ~= 0.2.0
3640
commands = flake8
3741

3842
[flake8]

0 commit comments

Comments
 (0)