Permissions language reworked #5554
Annotations
10 errors
mypy:
weblate/trans/models/agreement.py#L25
Signature of "create" incompatible with supertype "BaseManager"
|
mypy:
weblate/utils/celery.py#L67
"FallbackContext" has no attribute "__enter__"
|
mypy:
weblate/utils/celery.py#L67
"FallbackContext" has no attribute "__exit__"
|
mypy:
weblate/utils/errors.py#L143
'Settings' object has no attribute 'ROLLBAR'
|
mypy:
weblate/vcs/gpg.py#L39
List item 7 has incompatible type "None"; expected "str | bytes | PathLike[str] | PathLike[bytes]"
|
mypy:
weblate/vcs/gpg.py#L63
List item 4 has incompatible type "None"; expected "str | bytes | PathLike[str] | PathLike[bytes]"
|
mypy:
weblate/vcs/gpg.py#L82
Argument 2 to "siphash" has incompatible type "None"; expected "str | bytes"
|
mypy:
weblate/vcs/base.py#L212
If x = b'abc' then f"{x}" or "{}".format(x) produces "b'abc'", not "abc". If this is desired behavior, use f"{x!r}" or "{!r}".format(x). Otherwise, decode the bytes
|
mypy:
weblate/vcs/models.py#L36
Need type annotation for "GITHUB_CREDENTIALS" (hint: "GITHUB_CREDENTIALS: dict[<type>, <type>] = ...")
|
mypy:
weblate/vcs/models.py#L39
Need type annotation for "AZURE_DEVOPS_CREDENTIALS" (hint: "AZURE_DEVOPS_CREDENTIALS: dict[<type>, <type>] = ...")
|