Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to check types with mypy #16

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Try to check types with mypy #16

wants to merge 6 commits into from

Conversation

jtojnar
Copy link
Owner

@jtojnar jtojnar commented Mar 10, 2023

jtojnar added 6 commits April 7, 2024 15:21
This is accepted for Python’s native `property` decorator but for `GObject.Property`, mypy would complain:

    Name "final_commit_message" already defined on line [no-redef]
Not sure if they are actually returned or an exception is thrown and the type annotations are just wrong.

Not sure if that can actually happen or just improper binding generation.
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.

1 participant