gi-stubgen
Generate Python stubs for GObject-based libraries.
Requires gi-docgen.
Usage
source ./scripts/venv.sh
./scripts/generate-intermediate.sh
./scripts/generate-stubs.sh
Point your linter/static analysis tool to the resulting .stubs
folder.