Skip to content

[Bug]: Python stub files are incomplete, causing false errors in editor #4

@ChenlizheMe

Description

@ChenlizheMe

Affected area

Python scripting layer

Version or commit

python library

Environment

not necessary

Steps to reproduce

The current Python stub (.pyi) files for Infernux are incomplete. Many classes, methods, and attributes are missing or not properly typed.

As a result, when using the engine in IDEs like VSCode or PyCharm, the editor shows red underlines for perfectly valid code. This hurts the developer experience, especially for newcomers.

Expected behavior

The stubs should be fully annotated so that editor reports no false-positive errors when writing typical Infernux gameplay scripts.

Actual behavior

not necessary

Logs, screenshots, or crash output

This is a known limitation in v0.1.0. Full stub coverage will be addressed in a future patch (likely 0.1.1 or 0.2.0).

Checklist

  • I searched existing issues before opening this report.
  • I can reproduce this issue on the current main branch or a recent release.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions