-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJustfile
More file actions
44 lines (32 loc) · 833 Bytes
/
Justfile
File metadata and controls
44 lines (32 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Settings
set dotenv-load := false
# Default recipe: quick quality check without tests
default: sync type-check lint-check format-check
# Setup & Dependencies
sync:
uv sync
# Code Quality - Check variants
type-check:
uv run mypy .
lint-check:
uvx ruff check .
format-check:
uvx ruff format . --check
# Code Quality - Fix variants
lint:
uvx ruff check . --fix
format:
uvx ruff format .
# Composite quality checks
check: sync type-check lint-check format-check
@echo "Quick quality checks passed"
check-all: check test
@echo "All quality checks and tests passed"
pre-commit: sync type-check lint format test
@echo "Pre-commit checks passed"
# Testing
test:
uv run pytest
# CI workflow (matches CI steps)
ci: sync type-check lint-check format-check test
@echo "CI checks passed"