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