This styleguide lists conventions to write elegant GDScript. The goal is
to encourage writing clean, readable code and promote consistency across
projects, discussions, and tutorials. Hopefully, this will also
encourage development of auto-formatting tools.

Since GDScript is close to Python, this guide is inspired by Python’s
PEP 8 programming
styleguide.

Note

Godot’s built-in script editor uses a lot of these conventions
by default. Let it help you.