Skip to content

Commit 92f9ae1

Browse files
committed
Add basic justfile
1 parent 363d3d6 commit 92f9ae1

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

justfile

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
default: check-lockfile lint type-check test
2+
3+
# Check if the lockfile is up to date
4+
check-lockfile:
5+
uv lock --locked
6+
7+
# Lint code and check formatting using ruff
8+
lint:
9+
uv run ruff check src tests
10+
uv run ruff format --check src tests
11+
12+
# Validate static types using mypy
13+
type-check:
14+
uv run mypy src
15+
16+
# Run tests using pytest
17+
test:
18+
uv run pytest tests

0 commit comments

Comments
 (0)