mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-20 13:28:20 +02:00
* Rename server entrypoint * Updated manifest * Moved db init.sql file * Rename module to squeakserver
39 lines
638 B
INI
39 lines
638 B
INI
[tox]
|
|
envlist = py38
|
|
|
|
[testenv]
|
|
deps =
|
|
pytest
|
|
-rrequirements.txt
|
|
passenv = MY_APP_CONFIG_FILE
|
|
commands =
|
|
py.test {posargs:tests}
|
|
|
|
[testenv:coverage]
|
|
deps =
|
|
{[testenv]deps}
|
|
coverage
|
|
pytest
|
|
commands = coverage run -m pytest {posargs:tests}
|
|
|
|
[testenv:mypy]
|
|
deps =
|
|
{[testenv]deps}
|
|
mypy
|
|
mypy_paths =
|
|
squeakserver
|
|
tests
|
|
commands =
|
|
mypy --ignore-missing-imports {posargs:{[testenv:mypy]mypy_paths}}
|
|
|
|
[testenv:codechecks]
|
|
basepython = python3.7
|
|
deps =
|
|
flake8
|
|
reorder-python-imports
|
|
codechecks_paths =
|
|
squeakserver
|
|
tests
|
|
commands =
|
|
flake8
|
|
reorder-python-imports
|