r/Python • u/Secure_Account157 • 14m ago
Resource gamedev-toolkit: standard-library Python linters for Godot, Unity, Unreal and Roblox projects
What My Project Does
It checks game-engine projects by reading their files directly, without the engine installed: Godot scripts, scenes and project.godot, Unity .meta files, assembly definitions and C# scripts, Unreal .uproject files and C++ headers, Roblox Luau in Rojo projects, translation files (CSV and PO) and Steam's SteamPipe build scripts. It finds bugs that otherwise show up only at build time or after release, and says how to fix each one.
Some Python details:
- Standard library only:
re,json,csv,pathlib,dataclasses,argparse, andstructto read PNG sizes for Steam store art without Pillow. Each checker is one file you can copy into your repo. --jsonoutput for tooling, exit codes 0/1/2, and--format githubfor inline pull request annotations (the Godot linter so far, the rest are open issues).- CI runs the tests on Python 3.10 and 3.13 on Linux, Windows and macOS against fixture projects with planted bugs. Each checker must find every planted bug and report nothing on the clean files.
Target Audience
Game developers who want these checks in CI, and people who use AI coding agents (the repo also packages the checkers as agent skills). It's young (v0.4) but tested, MIT licensed.
Comparison
The engine editors catch some of these, but only when you open the project, and some (a path with the wrong letter case on Windows, a Steam build script) not at all. Language linters such as gdtoolkit for GDScript, Roslyn analyzers for C# and selene for Luau check the code in one language. These check the project as a whole: file references, metadata, build configuration and rules that depend on the engine version.