fix(deps): update dependency ty to v0.0.26 #1201
Annotations
10 errors and 1 warning
|
ty (not-subscriptable):
social_core/backends/mediawiki.py#L67
social_core/backends/mediawiki.py:67:23: not-subscriptable: Cannot subscript object of type `None` with no `__getitem__` method
info: rule `not-subscriptable` is enabled by default
|
|
ty (unresolved-attribute):
social_core/backends/github_enterprise.py#L24
social_core/backends/github_enterprise.py:24:37: unresolved-attribute: Object of type `Self@_url` has no attribute `setting`
info: rule `unresolved-attribute` is enabled by default
|
|
ty (unresolved-attribute):
social_core/backends/github_enterprise.py#L15
social_core/backends/github_enterprise.py:15:29: unresolved-attribute: Object of type `Self@api_url` has no attribute `setting`
info: rule `unresolved-attribute` is enabled by default
|
|
ty (invalid-assignment):
social_core/backends/base.py#L119
social_core/backends/base.py:119:13: invalid-assignment: Object of type `Unknown | None` is not assignable to attribute `is_new` on type `UserProtocol & ~AlwaysFalsy`
info: rule `invalid-assignment` is enabled by default
|
|
ty (invalid-assignment):
social_core/backends/base.py#L118
social_core/backends/base.py:118:13: invalid-assignment: Object of type `Unknown | None` is not assignable to attribute `social_user` on type `UserProtocol & ~AlwaysFalsy`
info: rule `invalid-assignment` is enabled by default
|
|
ty (unresolved-attribute):
social_core/backends/azuread_b2c.py#L159
social_core/backends/azuread_b2c.py:159:16: unresolved-attribute: Attribute `public_bytes` is not defined on `RSAPrivateKey` in union `RSAPrivateKey | RSAPublicKey`
info: rule `unresolved-attribute` is enabled by default
|
|
ty (invalid-argument-type):
social_core/backends/apple.py#L133
social_core/backends/apple.py:133:17: invalid-argument-type: Argument to bound method `decode` is incorrect: Expected `RSAPublicKey | EllipticCurvePublicKey | Ed25519PublicKey | ... omitted 4 union elements`, found `RSAPrivateKey | RSAPublicKey`
info: Element `RSAPrivateKey` of this union is not assignable to `RSAPublicKey | EllipticCurvePublicKey | Ed25519PublicKey | ... omitted 4 union elements`
.venv/lib/python3.14/site-packages/jwt/api_jwt.py:300:9: info: Method defined here
.venv/lib/python3.14/site-packages/jwt/api_jwt.py:303:9: Parameter declared here
info: rule `invalid-argument-type` is enabled by default
|
|
ty (invalid-return-type):
social_core/backends/apple.py#L117
social_core/backends/apple.py:117:16: invalid-return-type: Return type does not match returned value: expected `str | dict[str, Any]`, found `GeneratorType[str, None, None]`
social_core/backends/apple.py:104:42: Expected `str | dict[str, Any]` because of return type
info: rule `invalid-return-type` is enabled by default
|
|
ty (unresolved-attribute):
social_core/actions.py#L128
social_core/actions.py:128:31: unresolved-attribute: Object of type `UserProtocol & ~AlwaysFalsy` has no attribute `social_user`
info: rule `unresolved-attribute` is enabled by default
|
|
ty (unresolved-attribute):
social_core/actions.py#L109
social_core/actions.py:109:27: unresolved-attribute: Object of type `UserProtocol & ~AlwaysFalsy` has no attribute `social_user`
info: rule `unresolved-attribute` is enabled by default
|
|
ty (redundant-cast):
social_core/pipeline/utils.py#L87
social_core/pipeline/utils.py:87:32: redundant-cast: Value is already of type `type[BaseStorage]`
info: rule `redundant-cast` is enabled by default
|