iterative/dvc

View on GitHub
dvc/testing/test_workspace.py

Summary

Maintainability
A
2 hrs
Test Coverage

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

    def test_add(self, tmp_dir, dvc, workspace, hash_name, hash_value):
Severity: Minor
Found in dvc/testing/test_workspace.py - About 45 mins to fix

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

        def test_add_dir(self, tmp_dir, dvc, workspace, hash_name, dir_hash_value):
    Severity: Minor
    Found in dvc/testing/test_workspace.py - About 45 mins to fix

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

          def test_import_dir(self, tmp_dir, dvc, workspace, stage_md5, dir_md5):
      Severity: Minor
      Found in dvc/testing/test_workspace.py - About 35 mins to fix

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

            def test_import_empty_dir(
        Severity: Minor
        Found in dvc/testing/test_workspace.py - About 35 mins to fix

          There are no issues that match your filters.

          Category
          Status