Skip to content

feat(search): lazily import dateparser #5605

feat(search): lazily import dateparser

feat(search): lazily import dateparser #5605

Triggered via pull request October 2, 2024 09:42
Status Success
Total duration 1m 59s
Artifacts

mypy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
mypy: weblate/api/spectacular.py#L69
No return value expected
mypy: weblate/settings_example.py#L835
"get_spectacular_settings" does not return a value (it only ever returns None)
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