ria-toolkit-oss/tox.ini
michael 1f0f4f6fb4
All checks were successful
Test with tox / Test with tox (3.11) (push) Successful in 1m24s
Build Project / Build Project (3.10) (push) Successful in 1m46s
Build Sphinx Docs Set / Build Docs (push) Successful in 2m16s
Test with tox / Test with tox (3.10) (push) Successful in 2m20s
Build Project / Build Project (3.11) (push) Successful in 2m47s
Test with tox / Test with tox (3.12) (push) Successful in 1m16s
Build Project / Build Project (3.12) (push) Successful in 2m45s
Fixing typo issue with 3.11
2025-09-05 10:21:07 -04:00

36 lines
782 B
INI

[tox]
isolated_build = true
envlist = py310, py311, py312, lint
skipsdist = true
[testenv]
description = Run pytest test suite
allowlist_externals = poetry
commands =
poetry install --quiet
poetry run pytest
[testenv:lint]
description = Run linting and formatting checks with Flake8, isort, and Black
deps =
flake8
isort
black
commands =
poetry run flake8 .
poetry run isort --check --diff .
poetry run black --check --diff .
[flake8]
max-line-length = 119
extend-ignore = W503, E203, E701
exclude = .git, .github, build, dist, docs, venv, .venv, env, .env, .idea, .vscode, .tox
max-complexity = 15
per-file-ignores = __init__.py:F401
[gh-actions]
python =
3.10: py310, lint
3.11: py311
3.12: py312