JrGoodle/clowder

View on GitHub
clowder/util/git/online.py

Summary

Maintainability
A
3 hrs
Test Coverage

Function submodule_update has 12 arguments (exceeds 8 allowed). Consider refactoring.
Open

    def submodule_update(cls, path: Path, init: bool = False, depth: Optional[int] = None, single_branch: bool = False,
Severity: Major
Found in clowder/util/git/online.py - About 1 hr to fix

    Function pull has 11 arguments (exceeds 8 allowed). Consider refactoring.
    Open

        def pull(cls, path: Path, remote: Optional[str] = None, branch: Optional[str] = None,
    Severity: Major
    Found in clowder/util/git/online.py - About 50 mins to fix

      Function fetch has 11 arguments (exceeds 8 allowed). Consider refactoring.
      Open

          def fetch(cls, path: Path, prune: bool = False, prune_tags: bool = False, tags: bool = False,
      Severity: Major
      Found in clowder/util/git/online.py - About 50 mins to fix

        Function clone has 10 arguments (exceeds 8 allowed). Consider refactoring.
        Open

            def clone(cls, path: Path, url: str, depth: Optional[int] = None, branch: Optional[str] = None,
        Severity: Major
        Found in clowder/util/git/online.py - About 45 mins to fix

          There are no issues that match your filters.

          Category
          Status