snappass/tox.ini
Jon Parise 2c702b0a39
Run flake8 across the entire code base (#163)
Also, make sure we're using a consistent version of flake8 in CI.
2022-05-17 11:41:01 -07:00

15 lines
321 B
INI

[tox]
envlist = py37, py38, py39, py310, flake8
[testenv]
setenv =
MOCK_REDIS = 1
commands =
pip install -r requirements.txt
pip install -r dev-requirements.txt
pytest --junitxml=junit-{envname}.xml --cov-report xml tests.py
[testenv:flake8]
commands =
pip install -r dev-requirements.txt
flake8