Development Guide
Use this checklist for a code change. For Doc and site work, see the Documenting Guide; code conventions are in the Style Guide.
Set up#
Install Git, Python 3.13+, Blender 5.2+ and VS Code with the Python extension.
git clone https://github.com/ShinoMythmaker/Aetherblend.git
cd Aetherblend
git switch -c my-change
Use your fork URL when appropriate.
1. Create the virtual environment#
From the repository root:
python -m venv .venv
On Linux/macOS, use python3 if python isn't available:
python3 -m venv .venv
2. Select it in VS Code#
- Open the Command Palette with Ctrl+Shift+P / Cmd+Shift+P.
- Run Python: Select Interpreter.
- Select the interpreter inside
.venv. - Run Terminal: Create New Terminal. With automatic environment activation
enabled, VS Code activates
.venvin that new terminal.
Selecting the interpreter doesn't necessarily activate an already-open terminal - open a new one afterward.
3. Install dependencies#
In that activated terminal:
python -m pip install --upgrade pip ruff tomli-w markdown pygments fake-bpy-module
python get_dependencies.py
The final command downloads the add-on's dependency wheels.
For Blender integration, install the Blender Development extension and use Blender: Build and Start to launch the add-on.
Make and validate a change#
- Read the relevant Style Guide rules and make one focused change in the owning feature.
- Run checks from the repository root in the activated terminal:
Check for issues#
python -m ruff check .
Apply fixes Ruff can make automatically#
python -m ruff check --fix path/to/file.py
Format a file#
python -m ruff format path/to/file.py
Check formatting without changing files#
python -m ruff format --check .
Instead of using path/to/file.py, you can use . to target the whole repository.