Skip to content

chore: use constant to define heartbeat frequency #6570

chore: use constant to define heartbeat frequency

chore: use constant to define heartbeat frequency #6570

Triggered via push November 12, 2024 12:47
Status Success
Total duration 2m 13s
Artifacts

mypy.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors
mypy
Process completed with exit code 1.
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#L98
Argument "key" to "WeblateLock" has incompatible type "Any | str"; expected "int"
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>] = ...")