-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
43 lines (33 loc) · 735 Bytes
/
justfile
File metadata and controls
43 lines (33 loc) · 735 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
# Install dependencies and pre-commit hooks
install *extras:
uv sync {{ extras }}
# Run linting and format check (ruff, typos, nixfmt, oxfmt)
lint:
nix fmt -- --fail-on-change
# Format and auto-fix linting issues
format:
nix fmt
# Run all tests
test:
uv run pytest
# Run tests with coverage
coverage:
uv run pytest --cov --cov-report=term --cov-report=json --cov-report=html
# Run tool-specific tests
test-tools:
uv run pytest tests
# Run example tests
test-examples:
uv run pytest examples
# Run type checking
ty:
uv run ty check stackone_ai
# Run gitleaks secret detection
gitleaks:
gitleaks detect --source . --config .gitleaks.toml
# Build package
build:
uv build
# Publish package to PyPI
publish:
uv publish