check: && spellcheck check-format
ruff check
uvx mypy --strict scripts/verify_cargo_inheritance.py
python3 scripts/verify_cargo_inheritance.py
cargo deny --workspace check all
cargo clippy --workspace
cargo doc --workspace --no-deps
cargo rdme --check
cargo xtask bindgen --check
fix: format
# failure to apply one fix will not affect the others
-ruff check --fix --unsafe-fixes
-cargo clippy --workspace --fix --allow-staged --allow-dirty
-just regen
-cargo rdme --force
# final status is equivalent to `check`
just check
regen:
cargo xtask bindgen
format:
cargo fmt
ruff format
ruff check --select=I --fix
taplo format
check-format:
cargo fmt --check
ruff format --check
ruff check --select=I
taplo format --check
spellcheck:
-just _typos
spellfix:
# typos --write-changes
-just _typos --write-changes
# run typos, pinned to an appropriate minor version
_typos *flags:
@uvx typos@1.34.0 {{flags}}