mirror of https://gitlab.com/litecord/litecord.git
24 lines
448 B
INI
24 lines
448 B
INI
[tox]
|
|
envlist = py3.9
|
|
isolated_build = true
|
|
|
|
[testenv]
|
|
ignore_errors = true
|
|
deps =
|
|
pytest==6.2.4
|
|
pytest-asyncio==0.15.1
|
|
pytest-cov==2.12.1
|
|
flake8==3.9.2
|
|
black==21.6b0
|
|
mypy==0.910
|
|
pytest-instafail==0.4.2
|
|
commands =
|
|
python3 ./manage.py migrate
|
|
black --check litecord run.py tests manage
|
|
flake8 litecord run.py tests manage
|
|
pytest {posargs:tests}
|
|
|
|
[flake8]
|
|
max-line-length = 88
|
|
ignore = E501,W503,E203,E402
|