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
test.py:8: error: Argument 1 to "is_signature_valid" of "CertificateRevocationList" has incompatible type "DSAPublicKey | RSAPublicKey | EllipticCurvePublicKey | Ed25519PublicKey | Ed448PublicKey | X25519PublicKey | X448PublicKey"; expected "DSAPublicKey | RSAPublicKey | EllipticCurvePublicKey | Ed25519PublicKey | Ed448PublicKey" [arg-type]
I noticed that while migrating the codebast on ubuntu noble (that uses 41.0.7-4ubuntu0.1), while on ubuntu jammy (that uses 3.4.8-1ubuntu2.2) mypy does not complain.
The codebase is quite different, but the code seems to work on both versions so I think the mistake is in the type annotations (unless I am doing something wrong, of course).
Thanks
The text was updated successfully, but these errors were encountered:
alex
added
the
waiting-on-reporter
Issue is waiting on a reply from the reporter. It will be automatically cloesd if there is no reply.
label
Jan 17, 2025
See this example code:
mypy fails with
I noticed that while migrating the codebast on ubuntu noble (that uses 41.0.7-4ubuntu0.1), while on ubuntu jammy (that uses 3.4.8-1ubuntu2.2) mypy does not complain.
The codebase is quite different, but the code seems to work on both versions so I think the mistake is in the type annotations (unless I am doing something wrong, of course).
Thanks
The text was updated successfully, but these errors were encountered: