-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathJustfile
More file actions
65 lines (53 loc) · 1.38 KB
/
Justfile
File metadata and controls
65 lines (53 loc) · 1.38 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
54
55
56
57
58
59
60
61
62
63
64
65
# Justfile for FrameCloud project
# Default recipe to list all available recipes
default:
@just --list
# Run all tests
test:
uv run pytest
test-slow:
uv run pytest --runslow
# Run tests in parallel (requires pytest-xdist)
test-parallel:
uv run pytest -n auto
# Run linting with ruff
lint:
uvx ruff check --fix src tests
# Check formatting without making changes
format:
uvx ruff format --check src tests
# Type check with ty
type-check:
uvx ty check
# Run all quality checks (lint, format, type-check)
check: lint format type-check
# Fix all auto-fixable issues
fix: lint format
# Clean up generated files
clean:
rm -rf .pytest_cache
rm -rf .ruff_cache
rm -rf reports
rm -rf htmlcov
rm -rf .coverage
find . -type d -name __pycache__ -exec rm -rf {} +
find . -type f -name "*.pyc" -delete
# Install all dependencies
install:
uv sync
# Update dependencies
update:
uv lock --upgrade
# Show project info
info:
@echo "FrameCloud - Point Cloud Processing Library"
@echo "============================================"
@echo "Available test suites:"
@echo " - test: Run all tests"
@echo " - test-slow: Run slow tests only"
@echo ""
@echo "Quality checks:"
@echo " - lint: Run linter"
@echo " - format: Format code"
@echo " - type-check: Run type checker"
@echo " - check: Run all quality checks"