iterative/dvc

View on GitHub

Showing 498 of 560 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 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 _sort_exp has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      def _sort_exp(
      Severity: Minor
      Found in dvc/repo/experiments/show.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 commit has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              def 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 _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

                  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 _pull has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        def _pull(
                    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 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 update has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

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

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

                            def sync_import(
                            Severity: Minor
                            Found in dvc/stage/imports.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 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 _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 fill_stage_dependencies has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                    def fill_stage_dependencies(stage, deps=None, erepo=None, params=None, fs_config=None):
                                    Severity: Minor
                                    Found in dvc/stage/utils.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 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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language