We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 71a1e7f + ca26a82 commit 314555dCopy full SHA for 314555d
setup.cfg
@@ -50,8 +50,6 @@ wsgi_scripts =
50
test =
51
pytest!=9.0.0
52
pytest-mock
53
- flake8<3.8
54
- black
55
pytest-cov
56
pytest-xdist
57
pytest-html
@@ -62,3 +60,6 @@ test =
62
60
paramiko
63
61
exec_helpers
64
lxml
+lint =
+ flake8<3.8
65
+ black
tox.ini
@@ -33,12 +33,16 @@ commands =
33
pytest --cov=rockoon tests {posargs}
34
35
[testenv:pep8]
36
+deps =
37
+ .[lint]
38
# using black for code style, so ignore pycodestyle violations from flake8
39
commands =
40
flake8 rockoon tests
41
black --check --diff rockoon tests
42
43
[testenv:black]
44
45
46
envdir={toxworkdir}/pep8
47
# actually format code with black
48
# run flake8 just in case afterwards
0 commit comments