mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-15 12:50:47 +02:00
* Rename squeakserver to squeaknode and get itest passing * Fix itest dockerfile * Rename more squeakserver to squeaknode * Rename database from squeakserver to squeaknode * Update readme * Remove frontend/build from git * Rename squeakserver to squeaknode in tox and main
80 lines
No EOL
1.3 KiB
INI
80 lines
No EOL
1.3 KiB
INI
[tox]
|
|
envlist = py36,py37,py38
|
|
skip_missing_interpreters =
|
|
true
|
|
|
|
[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 =
|
|
squeaknode
|
|
tests
|
|
itests
|
|
commands =
|
|
mypy --ignore-missing-imports {posargs:{[testenv:mypy]mypy_paths}}
|
|
|
|
[testenv:codechecks]
|
|
basepython = python3.8
|
|
deps =
|
|
flake8
|
|
reorder-python-imports
|
|
-rrequirements.txt
|
|
codechecks_paths =
|
|
squeaknode
|
|
tests
|
|
itests
|
|
commands =
|
|
flake8
|
|
reorder-python-imports
|
|
|
|
[testenv:black]
|
|
basepython = python3.8
|
|
deps =
|
|
black
|
|
-rrequirements.txt
|
|
black_paths =
|
|
squeaknode
|
|
tests
|
|
itests
|
|
commands =
|
|
black {posargs:{[testenv:black]black_paths}}
|
|
|
|
[testenv:autopep8]
|
|
basepython = python3.8
|
|
deps =
|
|
autopep8
|
|
-rrequirements.txt
|
|
commands =
|
|
autopep8 --in-place --recursive --max-line-length=100 .
|
|
|
|
[testenv:autoflake]
|
|
basepython = python3.8
|
|
deps =
|
|
autoflake
|
|
-rrequirements.txt
|
|
commands =
|
|
autoflake --in-place --recursive --remove-all-unused-imports .
|
|
|
|
[testenv:isort]
|
|
basepython = python3.8
|
|
deps =
|
|
isort
|
|
-rrequirements.txt
|
|
commands =
|
|
isort . |