forked from AFPy/potodo
27 lines
492 B
INI
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/
|