fixed tox, update to included linters

This commit is contained in:
2022-10-30 12:07:37 -05:00
parent d279fa416a
commit e6be5a854c
7 changed files with 180 additions and 135 deletions

24
tox.ini
View File

@@ -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