pydantic model generator for atproto lexicons
1# build rust extension in dev mode
2dev:
3 uvx maturin develop
4
5# run unit tests only
6test: dev
7 uv run pytest -v -m "not integration"
8
9# run integration tests (requires network)
10test-integration: dev
11 uv run pytest -v -m integration
12
13# run all tests
14test-all: dev
15 uv run pytest -v
16
17# build release wheels
18build:
19 uvx maturin build --release
20
21# lint
22lint:
23 uv run ruff check .
24 uv run ruff format --check .
25
26# format
27fmt:
28 uv run ruff check --fix .
29 uv run ruff format .
30
31# benchmark on atproto lexicons
32bench: dev
33 ./scripts/bench.py
34
35# clean build artifacts
36clean:
37 rm -rf target dist *.egg-info