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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mypy linting support
1 participant