WeblateOrg / weblate

Function/method with an empty body PTC-W0049
Anti-pattern
Major
2 months ago3 years old
fixup_repo doesn't contain any code
 132        self.repo = self.clone_repo(self.tempdir)
 133        self.fixup_repo(self.repo)
 134
 135    def fixup_repo(self, repo) -> None: 136        return
 137
 138    def get_remote_repo_url(self):
merge doesn't contain any code
1595    def rebase(self, abort=False) -> None:
1596        return
1597
1598    def merge(1599        self, abort: bool = False, message: str | None = None, no_ff: bool = False
1600    ) -> None:
1601        return
update_remote doesn't contain any code
1583    def get_remote_branch_name(self, branch: str | None = None) -> str:
1584        return self.branch if branch is None else branch
1585
1586    def update_remote(self) -> None:1587        return
1588
1589    def push(self, branch) -> None:
configure_remote doesn't contain any code
1575    default_branch = "main"
1576    supports_push = False
1577
1578    def configure_remote(1579        self, pull_url: str, push_url: str, branch: str, fast: bool = True
1580    ) -> None:
1581        return
rebase doesn't contain any code
1592    def reset(self) -> None:
1593        return
1594
1595    def rebase(self, abort=False) -> None:1596        return
1597
1598    def merge(