forked from aliganjei/bltools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJustfile
More file actions
47 lines (35 loc) · 791 Bytes
/
Justfile
File metadata and controls
47 lines (35 loc) · 791 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
# Justfile for bltools
set shell := ["powershell", "-c"]
default: help
# List available recipes
help:
@just --list
# Install dependencies using uv
setup:
uv sync --all-extras --dev
# Run all tests
test:
uv run pytest
# Run tests with coverage
test-cov:
uv run pytest --cov=bltools --cov-report=term-missing --cov-fail-under=90
# Security audit
audit:
uv run bandit -r src/
# Lint and format code
lint:
uv run ruff check --fix .
uv run ruff format .
uv run mypy .
# Build documentation
docs-build:
uv run mkdocs build --strict
# Serve documentation locally
docs-serve:
uv run mkdocs serve
# Build Docker image
docker-build:
docker build -t bltools .
# Run CLI via Docker
docker-run args:
docker run -v ${PWD}:/data bltools {{args}}