You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ mypy repr.py
repr.py:3: error: "ellipsis" has no attribute "OptionParser" [attr-defined]
repr.py:4: error: "ellipsis" has no attribute "make_option" [attr-defined]
Found 2 errors in 1 file (checked 1 source file)
It looks like the placeholder for this attribute is currently a literal ellipsis:
Here is a simple example:
mypy complains about type errors:
It looks like the placeholder for this attribute is currently a literal ellipsis:
pygobject-stubs/src/gi-stubs/repository/GLib.pyi
Line 206 in 97a1be6
I believe stubgen annotates attributes with
_typeshed.Incomplete
when the type cannot be determined.typing.Any
would probably work as well.The text was updated successfully, but these errors were encountered: