# Run all pre-commit checks
precommit: fmt-check clippy test

# Check formatting
fmt-check:
    cargo fmt -- --check

# Lint
clippy:
    cargo clippy -- -D warnings

# Run tests
test:
    cargo test

# Auto-fix formatting
fmt:
    cargo fmt
