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
12 changes: 11 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
just --list --unsorted

# Run all build-related recipes in the justfile
run-all: install-deps format-python check-python test-python check-security check-spelling check-commits build-website
run-all: install-deps format-python check-python test-python check-security check-spelling check-commits build-website check-unused

# Install Python package dependencies
install-deps:
Expand Down Expand Up @@ -54,3 +54,13 @@ check-security:
# Check for spelling errors in files
check-spelling:
uv run typos

# Check for unused code in the package and its tests
check-unused:
# exit code=0: No unused code was found
# exit code=3: Unused code was found
# Three confidence values:
# - 100 %: function/method/class argument, unreachable code
# - 90 %: import
# - 60 %: attribute, class, function, method, property, variable
vulture src/ tests/
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ dev = [
"ruff>=0.11.4",
"time-machine>=2.16.0",
"typos>=1.31.1",
"vulture>=2.14",
]

[build-system]
Expand Down
11 changes: 11 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.