borgbackup/borg

View on GitHub

Showing 611 of 611 total issues

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

    def recreate(self, archive_id, target_name, delete_original, comment=None):
Severity: Minor
Found in src/borg/archive.py - About 35 mins to fix

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

        def save(self, archive, target, comment=None, delete_original=True):
    Severity: Minor
    Found in src/borg/archive.py - About 35 mins to fix

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

          def _delete(self, id, segment, offset, size):
      Severity: Minor
      Found in src/borg/legacyrepository.py - About 35 mins to fix

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

            def __init__(self, path, limit, segments_per_dir, capacity=90):
        Severity: Minor
        Found in src/borg/legacyrepository.py - About 35 mins to fix

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

              def __init__(self, *, key, cache, add_item, rechunkify):
          Severity: Minor
          Found in src/borg/archive.py - About 35 mins to fix

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

                def process_dir_with_fd(self, *, path, fd, st, strip_prefix):
            Severity: Minor
            Found in src/borg/archive.py - About 35 mins to fix

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

                  def restore_attrs(self, path, item, symlink=False, fd=None):
              Severity: Minor
              Found in src/borg/archive.py - About 35 mins to fix

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

                    def open(self, path, exclusive, lock_wait=None, lock=True):
                Severity: Minor
                Found in src/borg/legacyrepository.py - About 35 mins to fix

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

                      def wrapper(self, args, repository, manifest, **kwargs):
                  Severity: Minor
                  Found in src/borg/archiver/_common.py - About 35 mins to fix

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

                        def parse(
                    Severity: Minor
                    Found in src/borg/repoobj.py - About 35 mins to fix

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

                          def test_flag_position_independence(self, parse_vars_from_line, position, flag, args_key, args_value):
                      Severity: Minor
                      Found in src/borg/testsuite/archiver/argparsing_test.py - About 35 mins to fix

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

                        def process_chunks(repository, repo_objs, stats, recompress_ids, olevel):
                        Severity: Minor
                        Found in src/borg/archiver/repo_compress_cmd.py - About 35 mins to fix

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

                              def test_cache_corruption(self, decrypted_cache: RepositoryCache, H1, H2, H3):
                          Severity: Minor
                          Found in src/borg/testsuite/remote_test.py - About 35 mins to fix

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

                                def do_repo_create(self, args, repository, *, other_repository=None, other_manifest=None):
                            Severity: Minor
                            Found in src/borg/archiver/repo_create_cmd.py - About 35 mins to fix

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

                                  def parse(
                              Severity: Minor
                              Found in src/borg/repoobj.py - About 35 mins to fix

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

                                def test_chunkify_sparse(tmpdir, fname, sparse_map, header_size, sparse):
                                Severity: Minor
                                Found in src/borg/testsuite/chunker_pytest_test.py - About 35 mins to fix

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

                                      def do_rename(self, args, repository, manifest, cache, archive):
                                  Severity: Minor
                                  Found in src/borg/archiver/rename_cmd.py - About 35 mins to fix

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

                                    def set_acl(path, access=None, default=None, nfs4=None, numeric_ids=False):
                                    Severity: Minor
                                    Found in src/borg/testsuite/platform_freebsd_test.py - About 35 mins to fix

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

                                          def __init__(self, path, exclusive=False, sleep=None, timeout=None, id=None):
                                      Severity: Minor
                                      Found in src/borg/fslocking.py - About 35 mins to fix

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

                                                def pop_option(options, key, present, not_present, wanted_type, int_base=0):
                                        Severity: Minor
                                        Found in src/borg/fuse.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language