Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,8 @@ jobs:
with:
python-version: "3.12"

- name: Install project and dev dependencies
run: python -m pip install -e '.[dev]'

- name: Run local checks
run: ./scripts/check.sh
3 changes: 3 additions & 0 deletions scripts/check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ python -m compileall -q src tests
printf '\n== unit tests ==\n'
PYTHONPATH=src python -m unittest discover -s tests -p 'test_*.py'

printf '\n== ruff ==\n'
python -m ruff check .

printf '\n== text hygiene ==\n'
python - <<'PY'
from __future__ import annotations
Expand Down