iterative/dvc

View on GitHub

Showing 547 of 589 total issues

Consider simplifying this complex logical expression.
Open

    if remote is not None and remote_config is not None:
        conf = erepo.get("config") or {}

        core = conf.get("core") or {}
        core["remote"] = remote
Severity: Major
Found in dvc/repo/imp.py - About 40 mins to fix

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

    def sync_import(stage, dry=False, force=False, jobs=None, no_download=False):
    Severity: Minor
    Found in dvc/stage/imports.py - About 35 mins to fix

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

      def run_stage(stage, dry=False, force=False, run_env=None, **kwargs):
      Severity: Minor
      Found in dvc/stage/run.py - About 35 mins to fix

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

            def init_executor(
        Severity: Minor
        Found in dvc/repo/experiments/queue/base.py - About 35 mins to fix

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

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

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

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

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

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

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

                    def line(self, x0, y0, x1, y1, char):  # noqa: C901, PLR0912
                Severity: Minor
                Found in dvc/dagascii.py - About 35 mins to fix

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

                      def _repro_commit(
                  Severity: Minor
                  Found in dvc/repo/experiments/executor/base.py - About 35 mins to fix

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

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

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

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

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

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

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

                          def _pull_cache(
                          Severity: Minor
                          Found in dvc/repo/experiments/pull.py - About 35 mins to fix

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

                                def _reproduce_entry(
                            Severity: Minor
                            Found in dvc/repo/experiments/queue/tempdir.py - About 35 mins to fix

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

                                  def fetch_exps(
                              Severity: Minor
                              Found in dvc/repo/experiments/executor/base.py - About 35 mins to fix

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

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

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

                                      def init_cache(
                                  Severity: Minor
                                  Found in dvc/repo/experiments/executor/local.py - About 35 mins to fix

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

                                    def merge_patterns(flavour, pattern_a, prefix_a, pattern_b, prefix_b):
                                    Severity: Minor
                                    Found in dvc/pathspec_math.py - About 35 mins to fix

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

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

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

                                        def _push_cache(
                                        Severity: Minor
                                        Found in dvc/repo/experiments/push.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language