iterative/dvc

View on GitHub

Showing 547 of 589 total issues

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

def test_get_url(bench_dvc, tmp_dir, scm, dvc, make_dataset):
Severity: Minor
Found in dvc/testing/benchmarks/cli/commands/test_get_url.py - About 35 mins to fix

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

    def test_import_url(bench_dvc, tmp_dir, scm, dvc, make_dataset):
    Severity: Minor
    Found in dvc/testing/benchmarks/cli/commands/test_import_url.py - About 35 mins to fix

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

      def get_or_create_stage(
      Severity: Minor
      Found in dvc/repo/add.py - About 35 mins to fix

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

            def _fill_parts(self, scheme, host, user, port, path):
        Severity: Minor
        Found in dvc/testing/path_info.py - About 35 mins to fix

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

              def __init__(self, stage: "Stage", p, info, *args, **kwargs):
          Severity: Minor
          Found in dvc/dependency/dataset.py - About 35 mins to fix

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

                def test_import_no_download(self, tmp_dir, dvc, remote_version_aware, scm):
            Severity: Minor
            Found in dvc/testing/workspace_tests.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(self, tmp_dir, dvc, workspace, is_object_storage):
              Severity: Minor
              Found in dvc/testing/workspace_tests.py - About 35 mins to fix

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

                    def test_import_url_to_remote_dir(self, tmp_dir, dvc, workspace, remote):
                Severity: Minor
                Found in dvc/testing/workspace_tests.py - About 35 mins to fix

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

                  def test_push(bench_dvc, tmp_dir, dvc, make_dataset, remote):
                  Severity: Minor
                  Found in dvc/testing/benchmarks/cli/commands/test_push.py - About 35 mins to fix

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

                        def test_add_to_remote(self, tmp_dir, dvc, remote, workspace):
                    Severity: Minor
                    Found in dvc/testing/workspace_tests.py - About 35 mins to fix

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

                      def test_partial_remove(bench_dvc, tmp_dir, dvc, dataset, remote):
                      Severity: Minor
                      Found in dvc/testing/benchmarks/cli/stories/test_modify_data.py - About 35 mins to fix

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

                        def validate(
                        Severity: Minor
                        Found in dvc/utils/strictyaml.py - About 35 mins to fix

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

                          def test_fetch(bench_dvc, tmp_dir, dvc, make_dataset, remote):
                          Severity: Minor
                          Found in dvc/testing/benchmarks/cli/commands/test_fetch.py - About 35 mins to fix

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

                            def load(
                            Severity: Minor
                            Found in dvc/utils/strictyaml.py - About 35 mins to fix

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

                              def read_param_file(
                              Severity: Minor
                              Found in dvc/dependency/param.py - About 35 mins to fix

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

                                    def add(  # noqa: C901
                                Severity: Minor
                                Found in dvc/output.py - About 35 mins to fix

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

                                      def __init__(self, repo, path, verify=True, **kwargs):
                                  Severity: Minor
                                  Found in dvc/dvcfile.py - About 35 mins to fix

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

                                        def _collect_used_dir_cache(
                                    Severity: Minor
                                    Found in dvc/output.py - About 35 mins to fix

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

                                          def __init__(
                                      Severity: Minor
                                      Found in dvc/fs/git.py - About 35 mins to fix

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

                                            def du(self, path, total=True, maxdepth=None, withdirs=False, **kwargs):
                                        Severity: Minor
                                        Found in dvc/fs/dvc.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language