1[tox] 2envlist = black, flake8, pytest 3 4[testenv] 5basepython = python 6 7[testenv:black] 8commands = python -mblack --check . 9deps = black 10 11[testenv:black-reformat] 12commands = python -mblack . 13deps = black 14 15[testenv:flake8] 16commands = python -mflake8 17deps = flake8 18 19[testenv:pytest] 20commands = python -mpytest --cov=twoping --cov-report=term-missing 21deps = pytest 22 pytest-cov 23 -r{toxinidir}/requirements.txt 24 25[testenv:pytest-quick] 26commands = python -mpytest -m "not slow" 27deps = pytest 28 -r{toxinidir}/requirements.txt 29 30[flake8] 31exclude = 32 .git, 33 __pycache__, 34 .tox, 35# TODO: remove C901 once complexity is reduced 36ignore = C901,E203,E231,W503 37max-line-length = 120 38max-complexity = 10 39 40[pytest] 41markers = 42 slow 43