potodo/tox.ini
Jules Lasne (jlasne - seluj78) 61b0f6d746 Added coverage report
2020-10-14 13:46:53 +02:00

27 lines
492 B
INI

[flake8]
extend-ignore = E501 # line length handled by black.
[tox]
envlist = py36, py37, py38, py39, flake8, mypy, black
skip_missing_interpreters = True
[testenv]
deps =
pytest
pytest-cov
commands =
pip install -e .
pytest --cov=potodo tests/
[testenv:flake8]
deps = flake8
commands = flake8 tests/ potodo/
[testenv:black]
deps = black
commands = black --check --diff tests/ potodo/
[testenv:mypy]
deps = mypy
commands = mypy --ignore-missing-imports --strict potodo/