mirror of https://gitlab.com/litecord/litecord.git
24 lines
468 B
INI
24 lines
468 B
INI
[tox]
|
|
envlist = py3.10
|
|
isolated_build = true
|
|
|
|
[testenv]
|
|
ignore_errors = true
|
|
deps =
|
|
pytest==7.1.2
|
|
pytest-asyncio==0.19.0
|
|
pytest-cov==3.0.0
|
|
flake8==5.0.4
|
|
black==22.6.0
|
|
mypy==0.971
|
|
pytest-instafail==0.4.2
|
|
commands =
|
|
python3 ./manage.py migrate
|
|
black --check litecord run.py tests manage
|
|
flake8 litecord run.py tests manage
|
|
pytest --asyncio-mode=auto {posargs:tests}
|
|
|
|
[flake8]
|
|
max-line-length = 88
|
|
ignore = E501,W503,E203,E402
|