Skip to content

chore(deps): update pre-commit hook adamchainz/django-upgrade to v1.2… #7152

chore(deps): update pre-commit hook adamchainz/django-upgrade to v1.2…

chore(deps): update pre-commit hook adamchainz/django-upgrade to v1.2… #7152

Triggered via push December 2, 2024 18:39
Status Success
Total duration 2m 15s
Artifacts

mypy.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors
mypy: weblate/trans/models/agreement.py#L25
Signature of "create" incompatible with supertype "BaseManager"
mypy: weblate/trans/util.py#L320
Item "QName" of "str | bytes | bytearray | QName" has no attribute "startswith"
mypy: weblate/trans/util.py#L320
Argument 1 to "startswith" of "bytes" has incompatible type "str"; expected "Buffer | tuple[Buffer, ...]"
mypy: weblate/trans/util.py#L320
Argument 1 to "startswith" of "bytearray" has incompatible type "str"; expected "Buffer | tuple[Buffer, ...]"
mypy: weblate/trans/util.py#L321
Value of type "str | bytes | bytearray | QName" is not indexable
mypy: weblate/trans/util.py#L321
Item "QName" of "str | bytes | bytearray | QName" has no attribute "index"
mypy: weblate/trans/util.py#L321
Argument 1 to "index" of "bytes" has incompatible type "str"; expected "Buffer | SupportsIndex"
mypy: weblate/trans/util.py#L321
Argument 1 to "index" of "bytearray" has incompatible type "str"; expected "Buffer | SupportsIndex"
mypy: weblate/utils/celery.py#L67
"FallbackContext" has no attribute "__enter__"
mypy: weblate/utils/celery.py#L67
"FallbackContext" has no attribute "__exit__"
mypy
Process completed with exit code 1.