Skip to content

12700 dummy fields #6144

12700 dummy fields

12700 dummy fields #6144

Triggered via pull request October 27, 2024 07:21
Status Success
Total duration 2m 0s
Artifacts

mypy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
mypy
Process completed with exit code 1.
mypy: weblate/auth/models.py#L328
Incompatible return value type (got "User | None", expected "User")
mypy: weblate/auth/models.py#L371
Signature of "contribute_to_class" incompatible with supertype "Field"
mypy: weblate/auth/models.py#L499
Argument "request" to "create" of "AuditLogManager" has incompatible type "None"; expected "AuthenticatedHttpRequest"
mypy: weblate/auth/models.py#L861
Argument "request" to "create" of "AuditLogManager" has incompatible type "AuthenticatedHttpRequest | None"; expected "AuthenticatedHttpRequest"
mypy: weblate/auth/models.py#L877
Argument "request" to "create" of "AuditLogManager" has incompatible type "AuthenticatedHttpRequest | None"; expected "AuthenticatedHttpRequest"
mypy: weblate/auth/models.py#L1189
Need type annotation for "AUTH_RESTRICT_ADMINS" (hint: "AUTH_RESTRICT_ADMINS: dict[<type>, <type>] = ...")