-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
34 lines (27 loc) · 834 Bytes
/
Copy pathjustfile
File metadata and controls
34 lines (27 loc) · 834 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
set shell := ["bash", "-uc"]
# `release` / `version` / changelog recipes come from release.just (shared).
# drape publishes to PyPI via GitHub Actions OIDC (release.yml). `just release`
# tags + pushes; the tag push triggers the workflow that uploads to PyPI.
default:
@just --list
# BEGIN PROJECT-KIT — generated, do not edit by hand
import '.project-kit/_lib.just'
import '.project-kit/release.just'
# END PROJECT-KIT
# --- repo-specific ---
# Run linters + type checks
check:
uv run ruff check .
uv run black --check .
uv run mypy src/drape
# Auto-format
fmt:
uv run ruff check --fix .
uv run black .
# Cut a release. Build and PyPI publish happen automatically via GitHub Actions
# OIDC after the tag push (release.yml).
ship level:
@just release {{level}}
# Run tests
test:
uv run pytest