Skip to content

Commit d76d605

Browse files
committed
chore(just): consolidate lint and format commands
Simplify justfile by combining related operations: - lint: now includes format check (nix fmt --fail-on-change) - format: replaces lint-fix, runs ruff fix and nix fmt together This makes the CI workflow simpler as format checking is now part of the lint command.
1 parent 5bfab5b commit d76d605

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

justfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22
install *extras:
33
uv sync {{ extras }}
44

5-
# Run ruff linting
5+
# Run ruff linting and format check
66
lint:
77
uv run ruff check .
8+
nix fmt -- --fail-on-change
89

9-
# Auto-fix linting issues
10-
lint-fix:
10+
# Format and auto-fix linting issues
11+
format:
1112
uv run ruff check --fix .
13+
nix fmt
1214

1315
# Run all tests
1416
test:

0 commit comments

Comments
 (0)