mirror of
https://github.com/thinking-machines-lab/tinker.git
synced 2026-04-19 12:58:01 +00:00
14 lines
306 B
Bash
Executable file
14 lines
306 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
echo "==> Running ruff"
|
|
uv run ruff format
|
|
uv run ruff check --fix .
|
|
# run formatting again to fix any inconsistencies when imports are stripped
|
|
uv run ruff format
|
|
|
|
echo "==> Formatting docs"
|
|
uv run python scripts/utils/ruffen-docs.py README.md api.md
|