Some scripts that are useful to manage Moodle.
https://docs.astral.sh/uv/getting-started/installation/
uv run mypy .
uv run ruff check --fix
uv run ruff format
Set the schoolyear in lib/schoolyear.py
To run any script:
uv run name-of-script.py
uv lock --upgrade
uv sync