~/blueaccademy.
Use this page together with Install Rancher Desktop.
What this repo expects
The current source of truth inblueaccademy is:
pyproject.tomlrequires Python>=3.11uv.lockis present.pre-commit-config.yamlruns hooks throughuv run ...
uv- Python 3.11 or newer
pre-commit
Official references
Install uv
macOS and Linux
The official standalone installer is:Windows
The official standalone installer is:Verify uv
After installation, open a fresh terminal and run:
PATH first.
Install Python through uv
The repo requires Python >=3.11.
If your machine does not already have a suitable Python version available, install one with uv:
uv can use it.
Clone the main repository
If the repo is not already on disk:Sync project dependencies
For contributor setup, sync the locked dependencies including the development group:- the lockfile is present
- development tools are declared in
pyproject.toml - the git hooks call those tools through
uv run
Install pre-commit
There are two separate things people confuse here:
- the
pre-commitPython package - the Git hook installation for this repository
uv sync --dev.
The next step is to install the Git hooks into the repository:
pre-commit is available:
What the current hooks run
The repo’s.pre-commit-config.yaml currently runs:
- trailing whitespace checks
- YAML validation
- branch protection against direct commits to
main uv run ty checkuv run ruff check --fixuv run ruff formatuv run pytest
pre-commit without documenting uv would be incomplete.
