iterative/dvc

View on GitHub
dvc/api.py

Summary

Maintainability
A
1 hr
Test Coverage

Function _open has 6 arguments (exceeds 4 allowed). Consider refactoring.
Invalid

def _open(path, repo=None, rev=None, remote=None, mode="r", encoding=None):
Severity: Minor
Found in dvc/api.py - About 45 mins to fix

    Function read has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Invalid

    def read(path, repo=None, rev=None, remote=None, mode="r", encoding=None):
    Severity: Minor
    Found in dvc/api.py - About 45 mins to fix

      Function open has 6 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      def open(path, repo=None, rev=None, remote=None, mode="r", encoding=None):
      Severity: Minor
      Found in dvc/api.py - About 45 mins to fix

        Function summon has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

        def summon(name, repo=None, rev=None, summon_file="dvcsummon.yaml", args=None):
        Severity: Minor
        Found in dvc/api.py - About 35 mins to fix

          There are no issues that match your filters.

          Category
          Status