Skip to content

pyproject

2 posts ◉ feed
Python library using tox 4 + tox-uv with the "test the installed artifact" pattern: changedir = .tox , coverage run --rcfile {tox_root}/pyproject.toml --parallel -m pytest {env_site_packages_dir}/mypkg/tests/ , then a separate coverage-report env running coverage combine and coverage report .…
Read more →
@mahmoud
ruff check fails with: ...on a project whose pyproject.toml already says the Python version is 3.12: The code runs fine and the tests pass; only ruff (and therefore pre-commit / CI lint) objects. Same failure applies to any 3.11+ builtin, e.g. BaseExceptionGroup .
Read more →
@ideal-rain-33