Showing 10 of 11 total issues
GitOffline
has 98 functions (exceeds 80 allowed). Consider refactoring. Open
Open
class GitOffline:
@classmethod
def get_remote_fetch_url(cls, path: Path, remote: str) -> Optional[str]:
remotes = GitOffline.get_remotes_info(path)
Function submodule_update
has 12 arguments (exceeds 8 allowed). Consider refactoring. Open
Open
def submodule_update(cls, path: Path, init: bool = False, depth: Optional[int] = None, single_branch: bool = False,
Function pull
has 11 arguments (exceeds 8 allowed). Consider refactoring. Open
Open
def pull(cls, path: Path, remote: Optional[str] = None, branch: Optional[str] = None,
Function fetch
has 11 arguments (exceeds 8 allowed). Consider refactoring. Open
Open
def fetch(self, prune: bool = False, prune_tags: bool = False, tags: bool = False,
Function run
has 11 arguments (exceeds 8 allowed). Consider refactoring. Open
Open
def run(command: Union[str, List[str]], cwd: Path = Path.cwd(), check: bool = True,
Function fetch
has 11 arguments (exceeds 8 allowed). Consider refactoring. Open
Open
def fetch(cls, path: Path, prune: bool = False, prune_tags: bool = False, tags: bool = False,
Function submodule_update
has 10 arguments (exceeds 8 allowed). Consider refactoring. Open
Open
def submodule_update(self, init: bool = False, depth: Optional[int] = None, single_branch: bool = False,
Function fetch
has 10 arguments (exceeds 8 allowed). Consider refactoring. Open
Open
def fetch(self, prune: bool = False, prune_tags: bool = False, tags: bool = False,
Function clone
has 10 arguments (exceeds 8 allowed). Consider refactoring. Open
Open
def clone(cls, path: Path, url: str, depth: Optional[int] = None, branch: Optional[str] = None,
Function pull
has 9 arguments (exceeds 8 allowed). Consider refactoring. Open
Open
def pull(self, remote: Optional[str] = None, branch: Optional[str] = None,