Skip to content
Merged
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
18 changes: 9 additions & 9 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@ update-snapshots:
[working-directory: 'rust']
format-rust:
@cargo fmt
@echo Formatted Rust code.
@echo 'Formatted Rust code.'

# Format the Python code.
[group('formatting')]
format-python:
@uv run ruff format
@echo Formatted Python code.
@echo 'Formatted Python code.'

# Format all code.
[group('formatting')]
Expand All @@ -92,13 +92,13 @@ format:
# Lint Python code.
[group('linting')]
lint-python:
@echo Running ruff format...
@echo 'Running ruff format...'
@uv run ruff format --check
@echo Running ruff check...
@echo 'Running ruff check...'
@uv run ruff check
@echo Running mypy...
@echo 'Running mypy...'
@uv run mypy src/grimp tests
@echo Running Import Linter...
@echo 'Running Import Linter...'
@uv run lint-imports

# Lint Rust code using cargo fmt and clippy
Expand All @@ -122,11 +122,11 @@ autofix-python:
# Run linters.
[group('linting')]
lint:
@echo Linting Python...
@echo 'Linting Python...'
@just lint-python
@echo Linting Rust...
@echo 'Linting Rust...'
@just lint-rust
@echo
@echo ''
@echo '👍 {{GREEN}} Linting all good.{{NORMAL}}'

# Build docs.
Expand Down