chore(deps): update pre-commit hook adamchainz/django-upgrade to v1.2… #7152
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.
|