Skip to content

Conversation

@jedesroches
Copy link

This is necessary as type-checking tools like mypy, pyright and ty use
this file as described by PEP-0561 to recognize typed libraries. This
is useful for better DX where, when types are available, they may
enhance autocompletion and/or provide early warnings of invalid code.

I would also recommend adding, if possible, types to the non-generated
parts of the code (like the GhApi class for example).

Closes #178.

This is necessary as type-checking tools like mypy, pyright and ty use
this file as described by PEP-0561 to recognize typed libraries. This
is useful for better DX where, when types are available, they may
enhance autocompletion and/or provide early warnings of invalid code.

I would also recommend adding, if possible, types to the non-generated
parts of the code (like the GhApi class for example).

Closes AnswerDotAI#178.
@jedesroches jedesroches marked this pull request as ready for review July 21, 2025 13:42
@jph00 jph00 merged commit 43cd8f1 into AnswerDotAI:main Jan 15, 2026
@jph00 jph00 added the enhancement New feature or request label Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mypy linting support

2 participants