Skip to content

Commit 412b0a6

Browse files
committed
update
1 parent aedd3cf commit 412b0a6

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

template/Justfile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ fix:
2121

2222
# run tests across all supported Python versions
2323
test: _require-hatch
24-
hatch run -m test:test
25-
26-
# run all quality checks
27-
check: format lint test
24+
hatch run test:test
2825

2926
# build the package
3027
build: _require-uv
@@ -45,9 +42,18 @@ clean:
4542
rm -rf .venv .pytest_cache .mypy_cache .ruff_cache
4643
find . -type d -name "__pycache__" -exec rm -r {} +
4744

45+
# static type check with mypy
46+
typecheck: _require-uv
47+
uv run mypy
48+
49+
# run all quality checks
50+
check: format lint coverage typecheck
51+
4852
# list available recipes
4953
help:
5054
just --list
5155

5256
alias fmt := format
5357
alias cov := coverage
58+
alias mypy := typecheck
59+
alias type := typecheck

0 commit comments

Comments
 (0)