Skip to content

feat: cleanup git repository before doing project backup #8759

feat: cleanup git repository before doing project backup

feat: cleanup git repository before doing project backup #8759

Triggered via pull request January 30, 2025 16:49
Status Success
Total duration 2m 36s
Artifacts

mypy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
mypy: weblate/vcs/base.py#L141
Item "None" of "Component | None" has no attribute "pk"
mypy: weblate/vcs/base.py#L220
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/git.py#L826
Item "None" of "Component | None" has no attribute "push"
mypy: weblate/vcs/git.py#L826
Item "None" of "Component | None" has no attribute "repo"
mypy: weblate/vcs/git.py#L1068
Item "None" of "Component | None" has no attribute "pull_message"
mypy: weblate/vcs/git.py#L1282
Item "None" of "Component | None" has no attribute "repo"
mypy: weblate/trans/backups.py#L324
Argument 2 to "rename" has incompatible type "str | None"; expected "str | bytes | PathLike[str] | PathLike[bytes]"
mypy
Process completed with exit code 1.