chore(lang): move CJK detection to the language model #8662
Annotations
11 errors
Report mypy:
weblate/trans/util.py#L321
Item "QName" of "str | bytes | bytearray | QName" has no attribute "startswith"
|
Report mypy:
weblate/trans/util.py#L321
Argument 1 to "startswith" of "bytes" has incompatible type "str"; expected "Buffer | tuple[Buffer, ...]"
|
Report mypy:
weblate/trans/util.py#L321
Argument 1 to "startswith" of "bytearray" has incompatible type "str"; expected "Buffer | tuple[Buffer, ...]"
|
Report mypy:
weblate/trans/util.py#L322
Value of type "str | bytes | bytearray | QName" is not indexable
|
Report mypy:
weblate/trans/util.py#L322
Item "QName" of "str | bytes | bytearray | QName" has no attribute "index"
|
Report mypy:
weblate/trans/util.py#L322
Argument 1 to "index" of "bytes" has incompatible type "str"; expected "Buffer | SupportsIndex"
|
Report mypy:
weblate/trans/util.py#L322
Argument 1 to "index" of "bytearray" has incompatible type "str"; expected "Buffer | SupportsIndex"
|
Report mypy:
weblate/lang/models.py#L453
Unsupported dynamic base class "models.Manager.from_queryset"
|
Report mypy:
weblate/trans/models/unit.py#L331
Signature of "select_for_update" incompatible with supertype "QuerySet"
|
Report mypy:
weblate/trans/models/unit.py#L492
Signature of "save" incompatible with supertype "Model"
|
Run mypy
Process completed with exit code 1.
|
Loading