ria-toolkit-oss/tox.ini
G gillian 7ef3fe8fb1
Some checks failed
Test with tox / Test with tox (3.11) (pull_request) Successful in 15m58s
Build Sphinx Docs Set / Build Docs (pull_request) Successful in 18m3s
Build Project / Build Project (3.10) (pull_request) Successful in 21m51s
Test with tox / Test with tox (3.10) (pull_request) Failing after 21m59s
Build Project / Build Project (3.11) (pull_request) Successful in 22m37s
Build Project / Build Project (3.12) (pull_request) Successful in 22m35s
Test with tox / Test with tox (3.12) (pull_request) Successful in 6m53s
Revert "Drop Python 3.10 support, minimum is now 3.11"
This reverts commit 70c790cadd.
2026-05-12 13:39:05 -04:00

36 lines
793 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, .riahub, build, dist, docs, venv, .venv, env, .env, .idea, .vscode, .tox, _external
max-complexity = 15
per-file-ignores = __init__.py:F401
[gh-actions]
python =
3.10: py310, lint
3.11: py311
3.12: py312