-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathJustfile
More file actions
44 lines (33 loc) · 804 Bytes
/
Justfile
File metadata and controls
44 lines (33 loc) · 804 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
set dotenv-load := false
# List available recipes
default:
@just --list
# Run all checks (lint + format + tests)
check: lint test
# Run ruff linter
lint:
uv run ruff check src/ tests/
# Auto-fix lint errors
fix:
uv run ruff check --fix src/ tests/
# Check formatting
fmt-check:
uv run ruff format --check src/ tests/
# Auto-format code
fmt:
uv run ruff format src/ tests/
# Run tests
test *args:
uv run pytest tests/ {{ args }}
# Run tests with verbose output
test-v *args:
uv run pytest tests/ -v {{ args }}
# Install gw as editable for development
dev:
uv pip install -e .
# Install gw as a uv tool (globally)
install:
uv tool install . --force --reinstall
# Reinstall and reload shell integration
reload: install
@echo 'Run: eval "$(gw shell-init)"'