fixed tox, update to included linters
This commit is contained in:
24
tox.ini
24
tox.ini
@@ -4,12 +4,30 @@
|
||||
# and then run "tox" from this directory.
|
||||
|
||||
[tox]
|
||||
envlist = py310
|
||||
envlist = py310, linters
|
||||
|
||||
[flake8]
|
||||
max-line-length = 120
|
||||
|
||||
[isort]
|
||||
profile=black
|
||||
line_length = 120
|
||||
|
||||
[testenv]
|
||||
deps =
|
||||
requests==2.28.1
|
||||
Jinja2==3.1.2
|
||||
vcrpy
|
||||
requests==2.28.1
|
||||
vcrpy==4.2.1
|
||||
commands =
|
||||
python -m unittest discover tests
|
||||
|
||||
[testenv:linters]
|
||||
deps =
|
||||
black
|
||||
flake8
|
||||
flake8-black
|
||||
commands =
|
||||
black --check --diff athletico
|
||||
black --check --diff tests
|
||||
flake8 athletico
|
||||
flake8 tests
|
||||
Reference in New Issue
Block a user