demos/tox.ini

32 lines
570 B
INI

[tox]
envlist = py3{7,8,9,10,11,12,13}, mypy, black, pylint, isort, ruff
isolated_build = True
skip_missing_interpreters = True
[testenv]
deps =
pytest
hypothesis
skip_install = True
commands = python -m pytest
[testenv:black]
deps = black
commands = black --check --diff tests/ point.py
[testenv:mypy]
deps = mypy
commands = mypy --ignore-missing-imports point.py
[testenv:pylint]
deps = pylint
commands = pylint point.py
[testenv:isort]
deps = isort
commands = isort --check --profile=black point.py
[testenv:ruff]
deps = ruff
commands = ruff check point.py