chore: bootstrap Godot quality tools

This commit is contained in:
Rijad Zuzo
2026-07-09 23:32:03 +02:00
parent 5cbab527bf
commit 8419116008
7 changed files with 46 additions and 14 deletions
+11 -3
View File
@@ -5,12 +5,20 @@ parser errors, and LLM-generated garbage before committing.
## Requirements
- **Python 3** with `gdtoolkit` (gdscript-toolkit):
- **Python 3** with the pinned `gdtoolkit` (gdscript-toolkit). The recommended
setup uses `uv` and a project-local environment:
```bash
pip install gdtoolkit
uv venv .venv
uv pip install --python .venv/bin/python -r requirements-dev.txt
```
On Windows, use `.venv/Scripts/python.exe` for the `--python` value.
- **Godot 4** binary on `PATH`, or set the `GODOT_BIN` environment variable
The quality and format scripts discover `.venv` automatically; activating it
is optional.
## Usage
### Full project check
@@ -102,7 +110,7 @@ to the terminal.
To add this to CI, install the dependencies and run:
```bash
pip install gdtoolkit
python -m pip install -r requirements-dev.txt
./tools/quality.sh
```