@@ -104,24 +104,24 @@ update-all = {shell = """ \
104104# CI: format, lint, mypy, test
105105format = {shell = """ \
106106 printf 'Formatting...' \
107- && .venv/bin/ ruff --config=./pyproject.toml fix src/ tests/ \
107+ && uvx ruff --config=./pyproject.toml fix src/ tests/ \
108108 && printf '\t\t ✅\n ' || printf '\t\t ❌\n ' \
109109 """ }
110110lint = {shell = """ \
111111 printf 'Linting...' \
112- && .venv/bin/ ruff check --config=./pyproject.toml src/ tests/ \
112+ && uvx ruff check --config=./pyproject.toml src/ tests/ \
113113 && printf '\t\t ✅\n ' || printf '\t\t ❌\n ' \
114114 """ }
115115mypy = {shell = """ \
116116 printf 'Type-checking...' \
117- && .venv/bin/ mypy -v --no-error-summary --install-types --config-file=./pyproject.toml \
117+ && uvx mypy -v --no-error-summary --install-types --config-file=./pyproject.toml \
118118 && printf '\t ✅\n ' || printf '\t ❌\n ' \
119119 """ }
120120test = {shell = """ \
121121 printf 'Running tests...' \
122- && .venv/bin/ coverage run -m pytest tests/ --show-capture=log -p no:logging -p no:warnings \
123- && .venv/bin/ coverage report \
124- && .venv/bin/ coverage-badge -o docs/public/img/coverage.svg -f \
122+ && uvx coverage run -m pytest tests/ --show-capture=log -p no:logging -p no:warnings \
123+ && uvx coverage report \
124+ && uvx coverage-badge -o docs/public/img/coverage.svg -f \
125125 """ }
126126ci = {shell = """ \
127127 pdm run format; \
@@ -242,7 +242,7 @@ skip-magic-trailing-comma = false
242242# Like Black, automatically detect the appropriate line ending.
243243line-ending = " auto"
244244
245- [tool .ruff .per-file-ignores ]
245+ [tool .ruff .lint . per-file-ignores ]
246246"tests/**/*.py" = [
247247 " S101" , # asserts allowed in tests...
248248 " FBT" , # don"t care about booleans as positional arguments in tests
0 commit comments