-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJustfile
More file actions
53 lines (40 loc) · 1.15 KB
/
Copy pathJustfile
File metadata and controls
53 lines (40 loc) · 1.15 KB
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
45
46
47
48
49
50
51
52
53
# Justfile - Command runner for local development
set shell := ["bash", "-uc"]
set windows-shell := ["powershell.exe", "-NoLogo", "-Command"]
set unstable
set lists
uv := if which("uv") == [] { "python -m uv" } else { "uv" }
# Default recipe: list available commands
default:
@just --list
# Install all project and development dependencies into local .venv
install:
{{uv}} sync --all-groups --all-extras
# Run ruff lint and format checks
lint:
{{uv}} run ruff check .
{{uv}} run ruff format --check .
# Automatically format code and fix lint issues
format:
{{uv}} run ruff format .
{{uv}} run ruff check --fix .
# Run Pyright static type checker
typecheck:
{{uv}} run pyright
# Run test suite with code coverage
test:
{{uv}} run pytest
# Run all quality checks (lint, typecheck, test)
check: lint typecheck test
# Build standard wheel and source distribution
build:
{{uv}} build
# Clean temporary files and build artifacts
clean:
{{uv}} run python scripts/run.py clean
# Run CLI application directly
run *ARGS:
{{uv}} run template-python {{ARGS}}
# Run GUI application directly
gui:
{{uv}} run template-python-gui