[tox] envlist = lint, py{38,39,310,311,312,313}, [gh-actions] python = 3.8: py38 3.9: py39 3.10: py310, lint 3.11: py311 3.12: py312 3.13: py313 [testenv] deps = pytest commands = pytest {posargs} [testenv:lint] basepython = python3.10 skip_install = true deps = # Pinned deliberately. There is no ruff config in this repo, so the linter # runs on whatever its current release considers the default rule set, and # 0.16.0 enabled families that were previously opt-in (UP031, B006, I001, # BLE001, ...). That turned every open pull request red at once, on 144 # findings in code nobody had touched, and only in the 3.10 job — the one # this env is tied to. Bump this on purpose, in a commit that also fixes # whatever the new rules find. ruff==0.15.21 commands = ruff check --exit-non-zero-on-fix jellyfin_apiclient_python tests