-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathjustfile
More file actions
48 lines (38 loc) · 949 Bytes
/
justfile
File metadata and controls
48 lines (38 loc) · 949 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
45
46
47
48
# Handler Development Commands
# Default - show help
default:
@just --list
# Install dependencies
install:
uv sync
# Run handler (defaults to TUI)
run *args="tui":
uv run handler {{args}}
# Run tests
test:
uv run pytest
# Run all code quality checks (lint, format, typecheck)
check:
@echo "Running linter..."
uv run ruff check .
@echo "\nChecking formatting..."
uv run ruff format --check .
@echo "\nRunning type checker..."
uv run ty check
@echo "\nAll checks passed!"
# Fix auto-fixable issues (lint & format)
fix:
uv run ruff check --fix .
uv run ruff format .
# Show the current version
version:
uv version
# Bump version (major, minor, or patch)
bump level="patch":
uv version --bump {{level}}
# Create a git tag for the current version
tag:
git tag "v$(uv version --short)"
# Tag and push the release to origin
release: tag
git push origin "v$(uv version --short)"