feat: cleanup git repository before doing project backup #8759
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.
|