Push Tracker
ria-toolkit-oss/tox.ini
G gillian 23d12875be
Some checks failed
Build Sphinx Docs Set / Build Docs (pull_request) Successful in 22s
Test with tox / Test with tox (3.12) (pull_request) Failing after 17s
Test with tox / Test with tox (3.11) (pull_request) Failing after 30s
Build Project / Build Project (3.12) (pull_request) Successful in 1m5s
Build Project / Build Project (3.11) (pull_request) Successful in 1m7s
Drop Python 3.10 support and fix all flake8 lint violations
- Remove py310 from tox envlist, CI matrix, readthedocs, README badge
- Move lint env to run on 3.11 in gh-actions mapping
- Fix E501 line-too-long in cusum_annotator, energy_detector,
  parallel_signal_separator, threshold_qualifier (split error string)
- Fix E501 in annotate.py: wrap --sample-rate click.option decorators
  to black style (one arg per line with trailing comma)
- Fix C901 in annotate.py: extract _log_separate_start() helper to
  reduce separate() complexity from 17 to 14
- Fix separate() signature wrapping to match black style

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 14:23:13 -04:00

35 lines
769 B
INI

[tox]
isolated_build = true
envlist = 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.11: py311, lint
3.12: py312