GitPython is a python library used to interact with Git repositories.
This report summarizes scanner evidence for gitpython-developers/GitPython, a Python project with 5,192 GitHub stars. SynthScan examined 52,845 lines of code across 201 source files, recording 1384 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 36.1 (High pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 974 finding(s).
Are imports declared and package/API names verified? 258 finding(s).
Are wrappers, guards, and repeated structures necessary? 834 finding(s).
Which changes need focused human review? 1384 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1384 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | fuzzing/fuzz-targets/utils.py | 10 | def is_expected_exception_message(exception: Exception, error_message_list: List[str]) -> bool: # pragma: no cover | CODE |
| LOW⚡ | fuzzing/fuzz-targets/utils.py | 78 | def match_exception_with_traceback(exception_list: Set[Tuple[str, str]], exc_traceback) -> bool: | CODE |
| LOW | fuzzing/fuzz-targets/utils.py | 89 | def check_exception_against_list(exc_traceback, exception_file: str = "explicit-exceptions-list.txt") -> bool: | CODE |
| LOW⚡ | test/test_downstream_compatibility.py | 15 | def test_public_version_supports_downstream_provider_checks(): | CODE |
| LOW⚡ | test/test_downstream_compatibility.py | 19 | def test_legacy_typing_union_import_supports_downstream_registration(): | CODE |
| LOW⚡ | test/test_downstream_compatibility.py | 25 | def test_legacy_typing_optional_import_supports_downstream_plugin_import(): | CODE |
| LOW⚡ | test/test_downstream_compatibility.py | 33 | def test_config_section_assignment_restores_downstream_git_identity(object_format, ref_format): | CODE |
| LOW | test/test_downstream_compatibility.py | 57 | def test_repo_accepts_explicit_literal_path_selection(object_format, ref_format, monkeypatch): | CODE |
| LOW | test/test_downstream_compatibility.py | 72 | def test_revision_root_tree_retains_iterable_path_context(object_format, ref_format): | CODE |
| LOW | test/test_downstream_compatibility.py | 84 | def test_missing_revision_paths_retain_tree_lookup_errors(object_format, ref_format): | CODE |
| LOW | test/test_downstream_compatibility.py | 101 | def test_local_tracking_branch_uses_gits_upstream_location(object_format, ref_format): | CODE |
| LOW | test/test_downstream_compatibility.py | 113 | def test_legacy_gitdb_selector_uses_the_managed_object_backend(object_format, ref_format): | CODE |
| LOW | test/test_downstream_compatibility.py | 128 | def test_index_entries_readers_retain_pending_and_published_snapshots(object_format, ref_format): | CODE |
| LOW | test/test_downstream_compatibility.py | 154 | def test_git_directory_option_selects_the_requested_worktree(object_format, ref_format): | CODE |
| LOW | test/test_downstream_compatibility.py | 174 | def test_git_directory_option_retains_explicit_environment(): | CODE |
| LOW | test/test_downstream_compatibility.py | 187 | def test_separate_git_directory_retains_the_supplied_checkout(object_format, ref_format): | CODE |
| LOW | test/conftest.py | 120 | def historical_dependency_sources(request): | CODE |
| LOW⚡ | test/test_positional_args.py | 32 | def test_pull_rejects_option_shaped_refspec(repo, tmp_path, refspec, allow_unsafe_options): | CODE |
| LOW⚡ | test/test_positional_args.py | 40 | def test_pull_rejects_option_shaped_remote(repo, tmp_path): | CODE |
| LOW⚡ | test/test_positional_args.py | 48 | def test_pull_preserves_operand_and_explicit_option_values(repo, tmp_path): | CODE |
| LOW⚡ | test/test_positional_args.py | 59 | def test_delete_head_cannot_override_force(repo, tmp_path): | CODE |
| LOW⚡ | test/test_positional_args.py | 68 | def test_rename_head_cannot_select_current_branch(repo, tmp_path): | CODE |
| LOW⚡ | test/test_positional_args.py | 77 | def test_checkout_rejects_option_shaped_branch_names(repo, tmp_path, name, allow_unsafe_options): | CODE |
| LOW⚡ | test/test_positional_args.py | 85 | def test_tag_operands_follow_option_terminator(repo, tmp_path): | CODE |
| LOW | test/test_positional_args.py | 98 | def test_remote_ref_delete_preserves_operand(repo, tmp_path): | CODE |
| LOW⚡ | test/test_positional_args.py | 110 | def test_move_treats_option_shaped_source_as_filename(repo, tmp_path): | CODE |
| LOW⚡ | test/test_positional_args.py | 116 | def test_move_cannot_override_overwrite_protection(repo, tmp_path): | CODE |
| LOW⚡ | test/test_positional_args.py | 125 | def test_ignored_treats_option_shaped_path_as_filename(repo, tmp_path): | CODE |
| LOW⚡ | test/test_positional_args.py | 129 | def test_move_cannot_override_dry_run(repo, tmp_path): | CODE |
| LOW⚡ | test/test_positional_args.py | 137 | def test_remote_update_rejects_option_shaped_name(repo, tmp_path, name): | CODE |
| LOW | test/test_cli_safety.py | 42 | def test_default_database_never_uses_python_storage(repo): | CODE |
| LOW | test/test_cli_safety.py | 54 | def test_tag_storage_rejects_missing_tagger(plain_repo): | CODE |
| LOW | test/test_cli_safety.py | 64 | def test_batch_queries_cannot_inject_a_second_request(repo): | CODE |
| LOW⚡ | test/test_cli_safety.py | 75 | def test_batch_injection_rejected_before_process_start(plain_repo, query): | CODE |
| LOW⚡ | test/test_cli_safety.py | 84 | def test_invalid_object_stream_does_not_start_git(plain_repo, kind, size, data): | CODE |
| LOW⚡ | test/test_cli_safety.py | 92 | def test_library_calls_reject_shell_and_executable_configuration(plain_repo): | CODE |
| LOW | test/test_cli_safety.py | 106 | def test_managed_commands_disable_implicit_execution(plain_repo): | CODE |
| LOW | test/test_cli_safety.py | 121 | def test_blame_and_archive_do_not_run_configured_commands(repo): | CODE |
| LOW | test/test_cli_safety.py | 147 | def test_minimum_git_is_checked_before_creating_repository(scratch): | CODE |
| LOW | test/test_cli_safety.py | 155 | def test_raw_command_interface_keeps_its_passthrough_contract(): | CODE |
| LOW | test/test_cli_safety.py | 166 | def test_removed_object_backend_is_rejected_before_mutation(scratch): | CODE |
| LOW | test/test_cli_safety.py | 179 | def test_paths_use_literal_environment_syntax_and_expand_tilde(scratch, monkeypatch): | CODE |
| LOW | test/test_tree.py | 24 | def test_tree_cache_edits_do_not_update_object_ids_or_parents(): | CODE |
| LOW | test/test_tree.py | 47 | def test_invalid_tree_does_not_retain_partial_cache(object_format, invalid_position): | CODE |
| LOW | test/test_tree.py | 71 | def test_tree_slicing_follows_list_order_without_changing_the_tree(selection): | CODE |
| LOW | test/test_tree.py | 86 | def test_tree_slicing_rejects_a_zero_step(): | CODE |
| LOW | test/test_tree.py | 92 | def test_reversed_tree_preserves_order_and_nested_paths(): | CODE |
| LOW | test/test_tree.py | 133 | def test_valid_unusual_tree_names_round_trip(self, rw_repo): | CODE |
| LOW | test/test_tree.py | 153 | def test_tree_modifier_ordering(self): | CODE |
| LOW | test/test_tree.py | 188 | def test_tree_names_are_checked_at_construction_and_serialization(self, name): | CODE |
| LOW | test/test_tree.py | 231 | def test_gitmodules_symlink_entries_are_rejected(self, rw_repo, name): | CODE |
| LOW | test/test_tree.py | 289 | def test_gitmodules_short_name_near_misses_round_trip(self, rw_repo, name): | CODE |
| LOW⚡ | test/test_tree.py | 360 | def test_repo_lookup_string_path(self): | CODE |
| LOW⚡ | test/test_tree.py | 366 | def test_repo_lookup_pathlike_path(self): | CODE |
| LOW⚡ | test/test_tree.py | 372 | def test_repo_lookup_invalid_string_path(self): | CODE |
| LOW⚡ | test/test_tree.py | 377 | def test_repo_lookup_invalid_pathlike_path(self): | CODE |
| LOW⚡ | test/test_tree.py | 382 | def test_repo_lookup_nested_string_path(self): | CODE |
| LOW⚡ | test/test_tree.py | 388 | def test_repo_lookup_nested_pathlike_path(self): | CODE |
| LOW⚡ | test/test_tree.py | 394 | def test_repo_lookup_folder_string_path(self): | CODE |
| LOW⚡ | test/test_tree.py | 400 | def test_repo_lookup_folder_pathlike_path(self): | CODE |
| 615 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | check-version.sh | 3 | # This file is part of GitPython and is released under the | COMMENT |
| MEDIUM | init-tests-after-clone.sh | 3 | # This file is part of GitPython and is released under the | COMMENT |
| MEDIUM | build-release.sh | 3 | # This file is part of GitPython and is released under the | COMMENT |
| MEDIUM | fuzzing/oss-fuzz-scripts/build.sh | 3 | # This file is part of GitPython and is released under the | COMMENT |
| MEDIUM | …ng/oss-fuzz-scripts/container-environment-bootstrap.sh | 3 | # This file is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_stats.py | 3 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_tree.py | 3 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_rev_parse.py | 3 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_submodule.py | 1 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_db.py | 3 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_actor.py | 3 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_blob_filter.py | 1 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_typing.py | 1 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_docs.py | 3 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM⚡ | test/test_docs.py | 111 | # Create a new head/branch. | COMMENT |
| MEDIUM⚡ | test/test_docs.py | 114 | new_branch = cloned_repo.create_head("feature") # Create a new branch ... | CODE |
| MEDIUM⚡ | test/test_docs.py | 122 | # Create a new tag reference. | COMMENT |
| MEDIUM | test/test_docs.py | 173 | # Create a local branch at one of the remote's branches. | COMMENT |
| MEDIUM | test/test_docs.py | 211 | # Create a new submodule and check it out on the spot, set up to track the | COMMENT |
| MEDIUM | test/test_docs.py | 273 | new_branch = repo.create_head("new") # Create a new one. | CODE |
| MEDIUM | test/test_docs.py | 501 | git_cmd.checkout("HEAD", b="my_new_branch") # Create a new branch. | CODE |
| MEDIUM⚡ | test/test_imports.py | 1 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_git.py | 3 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_git.py | 454 | # Create the child process that inherits the environment variable. The child | COMMENT |
| MEDIUM | test/test_cleanup.py | 1 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_submodule_no_fetch.py | 1 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_fun.py | 1 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/__init__.py | 3 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_clone.py | 1 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_util.py | 3 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/cleanup.py | 1 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_diff.py | 3 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_refs.py | 3 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_refs.py | 771 | # Create a new branch that is likely to touch the file we changed. | COMMENT |
| MEDIUM | test/test_refs.py | 862 | # Create a new non-head ref just to be sure we handle it even if packed. | COMMENT |
| MEDIUM | test/tstrunner.py | 1 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_installation.py | 1 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_repo.py | 3 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_reflog.py | 1 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_index.py | 3 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_remote.py | 3 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_remote.py | 305 | # Create a new UN-shared repo and fetch into it after we pushed a change to the | COMMENT |
| MEDIUM | test/test_quick_doc.py | 1 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_fixture_health.py | 1 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_exc.py | 3 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM⚡ | test/test_blob.py | 3 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_base.py | 3 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_commit.py | 3 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/test_commit.py | 497 | # Create a commit with Unicode in the message, and the author's name. | COMMENT |
| MEDIUM | test/test_remote_progress.py | 1 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/lib/__init__.py | 3 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/lib/helper.py | 3 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | test/performance/__init__.py | 1 | # This module is part of GitPython and is released under the | COMMENT |
| MEDIUM | smmap/smmap/test/test_tutorial.py | 61 | # Create a default buffer which can operate on the whole file | COMMENT |
| MEDIUM | smmap/doc/source/conf.py | 5 | # This file is execfile()d with the current directory set to its containing dir. | COMMENT |
| MEDIUM | doc/source/conf.py | 4 | # This file is execfile()d with the current directory set to its containing dir. | COMMENT |
| MEDIUM | gitdb/doc/source/conf.py | 5 | # This file is execfile()d with the current directory set to its containing dir. | COMMENT |
| MEDIUM | gitdb/gitdb/pack.py | 3 | # This module is part of GitDB and is released under | COMMENT |
| MEDIUM | gitdb/gitdb/fun.py | 3 | # This module is part of GitDB and is released under | COMMENT |
| MEDIUM | gitdb/gitdb/util.py | 3 | # This module is part of GitDB and is released under | COMMENT |
| 68 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/lib/__init__.py | 8 | CODE | |
| LOW | smmap/smmap/__init__.py | 10 | CODE | |
| LOW | smmap/smmap/__init__.py | 11 | CODE | |
| LOW | gitdb/gitdb/fun.py | 702 | CODE | |
| LOW | gitdb/gitdb/util.py | 14 | CODE | |
| LOW | gitdb/gitdb/util.py | 87 | CODE | |
| LOW | gitdb/gitdb/util.py | 87 | CODE | |
| LOW | gitdb/gitdb/util.py | 28 | CODE | |
| LOW | gitdb/gitdb/__init__.py | 14 | CODE | |
| LOW | gitdb/gitdb/__init__.py | 15 | CODE | |
| LOW | gitdb/gitdb/__init__.py | 16 | CODE | |
| LOW | gitdb/gitdb/stream.py | 30 | CODE | |
| LOW | gitdb/gitdb/test/lib.py | 21 | CODE | |
| LOW | gitdb/gitdb/test/db/lib.py | 6 | CODE | |
| LOW | gitdb/gitdb/test/db/lib.py | 6 | CODE | |
| LOW | gitdb/gitdb/test/db/lib.py | 6 | CODE | |
| LOW | gitdb/gitdb/test/db/test_ref.py | 11 | CODE | |
| LOW | gitdb/gitdb/db/__init__.py | 6 | CODE | |
| LOW | gitdb/gitdb/db/__init__.py | 7 | CODE | |
| LOW | gitdb/gitdb/db/__init__.py | 8 | CODE | |
| LOW | gitdb/gitdb/db/__init__.py | 9 | CODE | |
| LOW | gitdb/gitdb/db/__init__.py | 10 | CODE | |
| LOW | gitdb/gitdb/db/__init__.py | 11 | CODE | |
| LOW | git/db.py | 19 | CODE | |
| LOW | git/cmd.py | 6 | CODE | |
| LOW | git/cmd.py | 73 | CODE | |
| LOW | git/cmd.py | 74 | CODE | |
| LOW | git/config.py | 25 | CODE | |
| LOW | git/config.py | 26 | CODE | |
| LOW | git/compat.py | 16 | CODE | |
| LOW | git/compat.py | 16 | CODE | |
| LOW | git/compat.py | 20 | CODE | |
| LOW | git/compat.py | 20 | CODE | |
| LOW | git/compat.py | 20 | CODE | |
| LOW | git/compat.py | 20 | CODE | |
| LOW | git/compat.py | 20 | CODE | |
| LOW | git/remote.py | 46 | CODE | |
| LOW | git/remote.py | 47 | CODE | |
| LOW | git/remote.py | 48 | CODE | |
| LOW | git/util.py | 73 | CODE | |
| LOW | git/util.py | 73 | CODE | |
| LOW | git/util.py | 73 | CODE | |
| LOW | git/util.py | 73 | CODE | |
| LOW | git/util.py | 89 | CODE | |
| LOW | git/util.py | 83 | CODE | |
| LOW | git/util.py | 84 | CODE | |
| LOW | git/util.py | 84 | CODE | |
| LOW | git/util.py | 85 | CODE | |
| LOW | git/util.py | 86 | CODE | |
| LOW | git/__init__.py | 91 | CODE | |
| LOW | git/__init__.py | 93 | CODE | |
| LOW | git/__init__.py | 95 | CODE | |
| LOW | git/__init__.py | 95 | CODE | |
| LOW | git/__init__.py | 95 | CODE | |
| LOW | git/__init__.py | 95 | CODE | |
| LOW | git/__init__.py | 95 | CODE | |
| LOW | git/__init__.py | 95 | CODE | |
| LOW | git/__init__.py | 95 | CODE | |
| LOW | git/__init__.py | 95 | CODE | |
| LOW | git/__init__.py | 95 | CODE | |
| 163 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | test/test_util.py | 208 | except PermissionError: | CODE |
| HIGH | test/cleanup.py | 51 | except FileNotFoundError: | CODE |
| HIGH | test/test_repo.py | 1142 | except GitCommandError: | CODE |
| HIGH | test/test_repo.py | 856 | except OSError: | CODE |
| HIGH | test/test_repo.py | 432 | except OSError: | CODE |
| HIGH | test/test_repo.py | 445 | except OSError: | CODE |
| HIGH | test/test_remote.py | 69 | except ValueError: | CODE |
| HIGH | smmap/smmap/mman.py | 65 | except (TypeError, KeyError): | CODE |
| HIGH | smmap/smmap/test/lib.py | 33 | except OSError: | CODE |
| HIGH | gitdb/gitdb/pack.py | 39 | except ImportError: | CODE |
| HIGH | gitdb/gitdb/fun.py | 703 | except ImportError: | CODE |
| HIGH | gitdb/gitdb/util.py | 181 | except OSError: | CODE |
| HIGH | gitdb/gitdb/stream.py | 36 | except ImportError: | CODE |
| HIGH | gitdb/gitdb/test/test_pack.py | 174 | except UnsupportedOperation: | CODE |
| HIGH | gitdb/gitdb/test/lib.py | 44 | except AttributeError: | CODE |
| HIGH | gitdb/gitdb/test/test_example.py | 31 | except UnboundLocalError: | CODE |
| HIGH | gitdb/gitdb/test/performance/test_pack.py | 119 | except UnsupportedOperation: | CODE |
| HIGH | gitdb/gitdb/db/ref.py | 46 | except OSError: | CODE |
| HIGH | gitdb/gitdb/db/ref.py | 73 | except Exception: | CODE |
| HIGH | gitdb/gitdb/db/base.py | 188 | except KeyError: | CODE |
| HIGH | git/cmd.py | 744 | except (GitCommandNotFound, PermissionError): | CODE |
| HIGH | git/cmd.py | 138 | except OSError: | CODE |
| HIGH | git/config.py | 443 | except (TypeError, ValueError): | CODE |
| HIGH | git/remote.py | 1164 | except AttributeError: | CODE |
| HIGH | git/remote.py | 859 | except ValueError: | CODE |
| HIGH | git/util.py | 1196 | except OSError: | CODE |
| HIGH | git/util.py | 1316 | except (AttributeError, TypeError): | CODE |
| HIGH | git/objects/submodule/base.py | 264 | except ValueError: | CODE |
| HIGH | git/objects/submodule/base.py | 294 | except AttributeError: | CODE |
| HIGH | git/objects/submodule/base.py | 1576 | except KeyError: | CODE |
| HIGH | git/objects/submodule/base.py | 1768 | except (cp.NoSectionError, ValueError): | CODE |
| HIGH | git/objects/submodule/base.py | 464 | except FileNotFoundError: | CODE |
| HIGH | git/objects/submodule/base.py | 1043 | except GitCommandError: | CODE |
| HIGH | git/refs/symbolic.py | 776 | except ValueError: | CODE |
| HIGH | git/index/base.py | 691 | except IndexError: | CODE |
| HIGH | git/index/base.py | 480 | except OSError: | CODE |
| HIGH | git/index/base.py | 1596 | except KeyError: | CODE |
| HIGH | git/repo/base.py | 514 | except Exception: | CODE |
| HIGH | git/repo/base.py | 347 | except ValueError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | test/test_byte_output.py | 85 | pushed = target.push("refs/heads/*:refs/heads/*") | CODE |
| HIGH | test/test_docs.py | 445 | origin.push() # Attempt push, ignore errors. | CODE |
| HIGH | test/test_docs.py | 446 | origin.push().raise_if_error() # Push and raise error if it fails. | CODE |
| HIGH⚡ | test/test_remote.py | 358 | res = remote.push(lhead.reference, progress) | CODE |
| HIGH⚡ | test/test_remote.py | 365 | res = remote.push(lhead.reference) | CODE |
| HIGH⚡ | test/test_remote.py | 371 | res = remote.push("+%s" % lhead.reference) | CODE |
| HIGH⚡ | test/test_remote.py | 384 | res = remote.push(progress=progress, tags=True) | CODE |
| HIGH⚡ | test/test_remote.py | 392 | res = remote.push(tags=True) | CODE |
| HIGH⚡ | test/test_remote.py | 398 | res = remote.push("+%s" % new_tag.path) | CODE |
| HIGH⚡ | test/test_remote.py | 403 | res = remote.push(":%s" % new_tag.path) | CODE |
| HIGH⚡ | test/test_remote.py | 413 | res = remote.push(new_head, progress) | CODE |
| HIGH⚡ | test/test_remote.py | 421 | res = remote.push(":%s" % new_head.path, force_with_lease=force_with_lease) | CODE |
| HIGH⚡ | test/test_remote.py | 428 | res = remote.push(":%s" % new_head.path) | CODE |
| HIGH⚡ | test/test_remote.py | 434 | res = remote.push(all=True) | CODE |
| HIGH⚡ | test/test_remote.py | 442 | remote.push(":%s" % other_tag.path, kill_after_timeout=10.0) | CODE |
| HIGH | test/test_remote.py | 326 | remote.push(rw_repo.head.reference) | CODE |
| HIGH | test/test_remote.py | 652 | rem.push("__BAD_REF__") | CODE |
| HIGH | test/test_remote.py | 918 | remote.push(url) | CODE |
| HIGH | test/test_remote.py | 936 | remote.push(url, allow_unsafe_protocols=True) | CODE |
| HIGH | test/test_remote.py | 956 | remote.push(**unsafe_option) | CODE |
| HIGH | test/test_remote.py | 984 | remote.push(**unsafe_option, allow_unsafe_options=True) | CODE |
| HIGH | git/remote.py | 121 | info = remote.push()[0] | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/test_submodule.py | 1667 | # ================================================== | COMMENT |
| MEDIUM | test/test_submodule.py | 1708 | # ============== | COMMENT |
| MEDIUM | test/test_submodule.py | 1731 | # ==================================== | COMMENT |
| MEDIUM | test/test_submodule.py | 1774 | # ============= | COMMENT |
| MEDIUM | test/test_submodule.py | 1802 | # ============== | COMMENT |
| MEDIUM | test/test_submodule.py | 1831 | # ================= | COMMENT |
| MEDIUM | doc/source/conf.py | 24 | # --------------------- | COMMENT |
| MEDIUM | doc/source/conf.py | 94 | # ----------------------- | COMMENT |
| MEDIUM | doc/source/conf.py | 164 | # ------------------------ | COMMENT |
| MEDIUM | git/cmd.py | 76 | # --------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | git/cmd.py | 97 | # ============================================================================== | COMMENT |
| MEDIUM | git/cmd.py | 99 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | git/compat.py | 32 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | git/remote.py | 54 | # ------------------------------------------------------------- | COMMENT |
| MEDIUM | git/util.py | 103 | # --------------------------------------------------------------------- | COMMENT |
| MEDIUM | git/types.py | 171 | # ----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | git/exc.py | 58 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | git/diff.py | 45 | # ------------------------------------------------------------------------ | COMMENT |
| MEDIUM | git/objects/tree.py | 51 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | git/objects/util.py | 81 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM | git/objects/commit.py | 57 | # ------------------------------------------------------------------------ | COMMENT |
| MEDIUM | git/objects/base.py | 36 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | git/objects/tag.py | 35 | # --------------------------------------------------- | COMMENT |
| MEDIUM | git/objects/submodule/root.py | 22 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | git/objects/submodule/base.py | 79 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | git/objects/submodule/base.py | 1001 | # =============================== | COMMENT |
| MEDIUM | git/objects/submodule/base.py | 1006 | # =============================== | COMMENT |
| MEDIUM | git/refs/remote.py | 23 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | git/refs/symbolic.py | 48 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | git/refs/head.py | 29 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | git/refs/reference.py | 20 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | git/refs/tag.py | 27 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | git/index/util.py | 24 | # --------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | git/index/typ.py | 27 | # --------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | git/index/base.py | 83 | # ------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | git/repo/base.py | 94 | # ----------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 42 | CODE | |
| LOW | fuzzing/fuzz-targets/fuzz_submodule.py | 23 | CODE | |
| LOW | test/test_submodule.py | 86 | CODE | |
| LOW | test/test_submodule.py | 163 | CODE | |
| LOW | test/test_submodule.py | 198 | CODE | |
| LOW | test/test_submodule.py | 298 | CODE | |
| LOW | test/test_submodule.py | 564 | CODE | |
| LOW | test/test_submodule.py | 602 | CODE | |
| LOW | test/test_submodule.py | 627 | CODE | |
| LOW | test/test_submodule.py | 2708 | CODE | |
| LOW | test/test_submodule.py | 2720 | CODE | |
| LOW | test/test_gix_backend.py | 82 | CODE | |
| LOW | test/test_gix_backend.py | 137 | CODE | |
| LOW | test/test_gix_backend.py | 267 | CODE | |
| LOW | test/test_gix_backend.py | 326 | CODE | |
| LOW | test/test_gix_backend.py | 352 | CODE | |
| LOW | test/test_git.py | 518 | CODE | |
| LOW | test/test_git.py | 891 | CODE | |
| LOW | test/test_cleanup.py | 186 | CODE | |
| LOW | test/test_fun.py | 69 | CODE | |
| LOW | test/test_clone.py | 422 | CODE | |
| LOW | test/test_command_guards.py | 42 | CODE | |
| LOW | test/test_command_guards.py | 208 | CODE | |
| LOW | test/test_command_guards.py | 249 | CODE | |
| LOW | test/test_diff.py | 471 | CODE | |
| LOW | test/test_refs.py | 95 | CODE | |
| LOW | test/test_refs.py | 169 | CODE | |
| LOW | test/test_refs.py | 200 | CODE | |
| LOW | test/test_refs.py | 1143 | CODE | |
| LOW | test/test_refs.py | 1163 | CODE | |
| LOW | test/test_refs.py | 1179 | CODE | |
| LOW | test/test_config.py | 269 | CODE | |
| LOW | test/test_index.py | 534 | CODE | |
| LOW | test/test_index.py | 975 | CODE | |
| LOW | test/test_index.py | 1217 | CODE | |
| LOW | test/test_index.py | 1267 | CODE | |
| LOW | test/test_index.py | 553 | CODE | |
| LOW | test/test_remote.py | 1054 | CODE | |
| LOW | test/test_base.py | 36 | CODE | |
| LOW | test/test_commit.py | 229 | CODE | |
| LOW | test/test_commit.py | 537 | CODE | |
| LOW | test/test_commit.py | 649 | CODE | |
| LOW | test/lib/helper.py | 273 | CODE | |
| LOW | test/lib/helper.py | 304 | CODE | |
| LOW | test/lib/helper.py | 306 | CODE | |
| LOW | test/lib/fixtures.py | 31 | CODE | |
| LOW | smmap/smmap/mman.py | 303 | CODE | |
| LOW | smmap/smmap/mman.py | 491 | CODE | |
| LOW | smmap/smmap/test/test_mman.py | 50 | CODE | |
| LOW | smmap/smmap/test/test_mman.py | 96 | CODE | |
| LOW | smmap/smmap/test/test_buf.py | 25 | CODE | |
| LOW | gitdb/gitdb/pack.py | 862 | CODE | |
| LOW | gitdb/gitdb/fun.py | 536 | CODE | |
| LOW | gitdb/gitdb/fun.py | 248 | CODE | |
| LOW | gitdb/gitdb/test/test_stream.py | 76 | CODE | |
| LOW | gitdb/gitdb/test/performance/test_pack.py | 105 | CODE | |
| LOW | gitdb/gitdb/db/git.py | 44 | CODE | |
| LOW | git/cmd.py | 104 | CODE | |
| LOW | git/cmd.py | 143 | CODE | |
| LOW | git/cmd.py | 190 | CODE | |
| 50 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/lib/__init__.py | 10 | __all__ = [name for name, obj in locals().items() if not (name.startswith("_") or inspect.ismodule(obj))] | CODE |
| LOW | test/lib/helper.py | 6 | __all__ = [ | CODE |
| LOW | smmap/smmap/mman.py | 12 | __all__ = ["StaticWindowMapManager", "SlidingWindowMapManager", "WindowCursor"] | CODE |
| LOW | smmap/smmap/buf.py | 4 | __all__ = ["SlidingWindowMapBuffer"] | CODE |
| LOW | smmap/smmap/util.py | 8 | __all__ = ["align_to_mmap", "is_64_bit", | CODE |
| LOW | smmap/smmap/test/lib.py | 6 | __all__ = ['TestBase', 'FileCreator'] | CODE |
| LOW | gitdb/gitdb/exc.py | 8 | __all__ = [ | CODE |
| LOW | git/db.py | 6 | __all__ = ["GitCmdObjectDB", "GitDB"] | CODE |
| LOW | git/cmd.py | 8 | __all__ = ["Git"] | CODE |
| LOW | git/cmd.py | 1190 | def set_persistent_git_options(self, **kwargs: Any) -> None: | CODE |
| LOW | git/config.py | 8 | __all__ = ["GitConfigParser", "SectionConstraint"] | CODE |
| LOW | git/remote.py | 8 | __all__ = ["RemoteProgress", "PushInfo", "FetchInfo", "Remote"] | CODE |
| LOW | git/remote.py | 500 | def _set_cache_(self, attr: str) -> None: | CODE |
| LOW | git/util.py | 8 | __all__ = [ | CODE |
| LOW | git/__init__.py | 8 | __all__ = [ | CODE |
| LOW | git/exc.py | 8 | __all__ = [ | CODE |
| LOW | git/diff.py | 6 | __all__ = ["DiffConstants", "NULL_TREE", "NULL_TREE_SHA", "INDEX", "Diffable", "DiffIndex", "Diff"] | CODE |
| LOW | git/objects/tree.py | 6 | __all__ = ["TreeModifier", "Tree"] | CODE |
| LOW | git/objects/tree.py | 218 | def _set_cache_(self, attr: str) -> None: | STRING |
| LOW⚡ | git/objects/fun.py | 8 | __all__ = [] | CODE |
| LOW | git/objects/util.py | 8 | __all__ = [ | CODE |
| LOW | git/objects/commit.py | 6 | __all__ = ["Commit"] | CODE |
| LOW | git/objects/commit.py | 287 | def _set_cache_(self, attr: str) -> None: | CODE |
| LOW | git/objects/__init__.py | 6 | __all__ = [ | CODE |
| LOW | git/objects/blob.py | 6 | __all__ = ["Blob"] | CODE |
| LOW | git/objects/base.py | 6 | __all__ = ["Object", "IndexObject"] | CODE |
| LOW | git/objects/base.py | 162 | def _set_cache_(self, attr: str) -> None: | CODE |
| LOW | git/objects/base.py | 283 | def _set_cache_(self, attr: str) -> None: | CODE |
| LOW | git/objects/tag.py | 12 | __all__ = ["TagObject"] | CODE |
| LOW | git/objects/tag.py | 107 | def _set_cache_(self, attr: str) -> None: | CODE |
| LOW | git/objects/submodule/util.py | 4 | __all__ = [ | CODE |
| LOW | git/objects/submodule/util.py | 185 | def set_submodule(self, submodule: "Submodule") -> None: | CODE |
| LOW | git/objects/submodule/__init__.py | 4 | __all__ = ["Submodule", "UpdateProgress", "RootModule", "RootUpdateProgress"] | CODE |
| LOW | git/objects/submodule/root.py | 4 | __all__ = ["RootModule", "RootUpdateProgress"] | CODE |
| LOW | git/objects/submodule/base.py | 4 | __all__ = ["Submodule", "UpdateProgress"] | CODE |
| LOW | git/objects/submodule/base.py | 175 | def _set_cache_(self, attr: str) -> None: | CODE |
| LOW | git/refs/log.py | 6 | __all__ = ["RefLog", "RefLogEntry"] | CODE |
| LOW | git/refs/remote.py | 6 | __all__ = ["RemoteReference"] | CODE |
| LOW | git/refs/__init__.py | 4 | __all__ = [ | CODE |
| LOW | git/refs/symbolic.py | 4 | __all__ = ["SymbolicReference"] | CODE |
| LOW | git/refs/head.py | 9 | __all__ = ["HEAD", "Head"] | CODE |
| LOW | git/refs/reference.py | 4 | __all__ = ["Reference"] | CODE |
| LOW | git/refs/tag.py | 11 | __all__ = ["TagReference", "Tag"] | CODE |
| LOW | git/index/fun.py | 16 | __all__ = ["entry_key", "stat_mode_to_index_mode", "S_IFGITLINK", "run_commit_hook", "hook_path"] | CODE |
| LOW | git/index/util.py | 6 | __all__ = ["TemporaryFileSwap", "default_index", "git_working_dir"] | CODE |
| LOW | git/index/__init__.py | 6 | __all__ = [ | CODE |
| LOW | git/index/typ.py | 6 | __all__ = ["BlobFilter", "BaseIndexEntry", "IndexEntry", "StageType"] | CODE |
| LOW | git/index/base.py | 9 | __all__ = ["IndexFile", "CheckoutError", "StageType"] | CODE |
| LOW | git/repo/fun.py | 8 | __all__ = [ | CODE |
| LOW | git/repo/__init__.py | 6 | __all__ = ["Repo"] | CODE |
| LOW | git/repo/base.py | 8 | __all__ = ["Repo"] | CODE |
| LOW | git/repo/base.py | 1104 | def _set_daemon_export(self, value: object) -> None: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | fuzzing/fuzz-targets/fuzz_config.py | 1 | # Copyright 2023 Google LLC | COMMENT |
| LOW | test/test_docs.py | 41 | # ACTUALLY skipped by git.util.rmtree (in local onerror function), from the last | COMMENT |
| LOW | test/__init__.py | 1 | # Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors | COMMENT |
| LOW | test/test_quick_doc.py | 81 | # Outputs: [<git.Commit "SHA1-HEX_HASH-2">, | COMMENT |
| LOW | test/test_quick_doc.py | 181 | COMMENT | |
| LOW | test/test_quick_doc.py | 221 | COMMENT | |
| LOW | test/performance/__init__.py | 1 | # This module is part of GitPython and is released under the | COMMENT |
| LOW | smmap/doc/source/conf.py | 1 | # | COMMENT |
| LOW | smmap/doc/source/conf.py | 41 | copyright = '2011, Sebastian Thiel' | COMMENT |
| LOW | smmap/doc/source/conf.py | 61 | COMMENT | |
| LOW | smmap/doc/source/conf.py | 81 | #show_authors = False | COMMENT |
| LOW | smmap/doc/source/conf.py | 101 | # Add any paths that contain custom themes here, relative to this directory. | COMMENT |
| LOW | smmap/doc/source/conf.py | 121 | # relative to this directory. They are copied after the builtin static files, | COMMENT |
| LOW | smmap/doc/source/conf.py | 141 | #html_use_modindex = True | COMMENT |
| LOW | smmap/doc/source/conf.py | 181 | #latex_logo = None | COMMENT |
| LOW | .github/workflows/codeql.yml | 1 | # For most projects, this workflow file will not need changing; you simply need | COMMENT |
| LOW | .github/workflows/codeql.yml | 41 | - language: python | COMMENT |
| LOW | doc/source/conf.py | 1 | # GitPython documentation build configuration file, originally created by | COMMENT |
| LOW | doc/source/conf.py | 61 | # non-false value, then it is used: | COMMENT |
| LOW | doc/source/conf.py | 101 | # html_title = None | COMMENT |
| LOW | doc/source/conf.py | 121 | # "default.css" will overwrite the builtin "default.css". | COMMENT |
| LOW | doc/source/conf.py | 141 | COMMENT | |
| LOW | doc/source/conf.py | 161 | COMMENT | |
| LOW | doc/source/conf.py | 181 | COMMENT | |
| LOW | gitdb/doc/source/conf.py | 1 | # | COMMENT |
| LOW | gitdb/doc/source/conf.py | 41 | copyright = '2011, Sebastian Thiel' | COMMENT |
| LOW | gitdb/doc/source/conf.py | 61 | COMMENT | |
| LOW | gitdb/doc/source/conf.py | 101 | #html_theme_path = [] | COMMENT |
| LOW | gitdb/doc/source/conf.py | 121 | # so a file named "default.css" will overwrite the builtin "default.css". | COMMENT |
| LOW | gitdb/doc/source/conf.py | 141 | COMMENT | |
| LOW | gitdb/doc/source/conf.py | 181 | COMMENT | |
| LOW | gitdb/gitdb/stream.py | 161 | # is already complete, but there are still some bytes left in the compressed | COMMENT |
| LOW | gitdb/gitdb/stream.py | 241 | self._buflen = 0 | COMMENT |
| LOW | gitdb/gitdb/stream.py | 281 | # END handle tail | COMMENT |
| LOW | gitdb/gitdb/stream.py | 321 | # Stop when we have enough or there is no path to more output. | COMMENT |
| LOW | gitdb/gitdb/stream.py | 461 | # We will use it as scratch space for all delta ops. If the final | COMMENT |
| LOW | gitdb/gitdb/test/__init__.py | 1 | # Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors | COMMENT |
| LOW | gitdb/gitdb/test/db/__init__.py | 1 | # Copyright (C) 2010, 2011 Sebastian Thiel (byronimo@gmail.com) and contributors | COMMENT |
| LOW | git/objects/util.py | 601 | """For documentation, see :meth:`Traversable._traverse`.""" | COMMENT |
| LOW | git/objects/submodule/root.py | 321 | orig_name = previous_remote.name | COMMENT |
| LOW | git/objects/submodule/base.py | 1141 | msg_base, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | fuzzing/fuzz-targets/fuzz_submodule.py | 114 | except Exception as e: | CODE |
| MEDIUM | fuzzing/fuzz-targets/utils.py | 53 | print(f"Error reading file {file_path}: {e}") | CODE |
| LOW⚡ | fuzzing/fuzz-targets/utils.py | 72 | except Exception as e: | CODE |
| MEDIUM⚡ | fuzzing/fuzz-targets/utils.py | 73 | print(f"Error loading exception list: {e}") | CODE |
| LOW | test/lib/helper.py | 145 | except Exception: | CODE |
| LOW | test/lib/helper.py | 244 | except Exception as ex: | CODE |
| LOW | test/lib/helper.py | 268 | except Exception as ex: | CODE |
| LOW | smmap/smmap/mman.py | 360 | except Exception: | CODE |
| LOW | smmap/smmap/mman.py | 570 | except Exception: | CODE |
| LOW | gitdb/gitdb/util.py | 75 | except Exception: | CODE |
| LOW | gitdb/gitdb/test/lib.py | 72 | except Exception: | CODE |
| LOW | gitdb/gitdb/db/ref.py | 73 | except Exception: | CODE |
| LOW | git/cmd.py | 207 | except Exception as ex: | STRING |
| LOW | git/remote.py | 874 | except Exception as e: | CODE |
| LOW | git/util.py | 558 | except Exception as ex: | CODE |
| LOW | git/util.py | 611 | except Exception: | CODE |
| LOW | git/util.py | 978 | except Exception: | CODE |
| LOW | git/__init__.py | 219 | except Exception as _exc: | CODE |
| LOW | git/objects/submodule/root.py | 426 | except Exception as err: | CODE |
| LOW | git/objects/submodule/base.py | 1213 | except Exception as err: | CODE |
| LOW | git/objects/submodule/base.py | 1376 | except Exception: | CODE |
| LOW | git/objects/submodule/base.py | 1749 | except Exception: | CODE |
| LOW | git/objects/submodule/base.py | 1779 | except Exception: | CODE |
| LOW | git/repo/base.py | 514 | except Exception: | STRING |
| MEDIUM | git/repo/base.py | 511 | def __del__(self) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | test/test_refs.py | 510 | res = rw_repo.remotes.origin.refs.HEAD.reference.checkout() | CODE |
| CRITICAL | test/test_repo.py | 675 | for item in self.rorepo.head.commit.tree.traverse( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | test/test_git.py | 490 | token = "fake-token-1234" | CODE |
| LOW⚡ | test/test_util.py | 604 | "GIT_AUTHOR_NAME": "John Doe", | CODE |
| LOW⚡ | test/test_util.py | 606 | "GIT_COMMITTER_NAME": "Jane Doe", | CODE |
| LOW⚡ | test/test_util.py | 613 | self.assertEqual(committer.name, "Jane Doe") | CODE |
| LOW⚡ | test/test_util.py | 615 | self.assertEqual(author.name, "John Doe") | CODE |
| LOW | test/test_util.py | 795 | authorization = "Bearer fake-token-1234" | CODE |
| LOW⚡ | test/test_commit.py | 659 | ("User <user@example.com> 0 +0000\n" + forged, "user@example.com"), | CODE |
| LOW⚡ | test/test_commit.py | 662 | ("Forged <forged@example.com>", "user@example.com"), | CODE |
| LOW⚡ | test/test_commit.py | 664 | ("User>", "user@example.com"), | CODE |
| LOW | test/test_commit.py | 686 | commit.replace(author=Actor("User\n" + forged, "user@example.com")) | CODE |
| LOW | git/remote.py | 889 | unset = "placeholder" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | smmap/smmap/test/test_tutorial.py | 31 | # before you can use the cursor, you have to specify a window you want to | COMMENT |
| MEDIUM | smmap/smmap/test/test_tutorial.py | 64 | # you can use it right away | COMMENT |
| MEDIUM | .github/workflows/codeql.yml | 49 | # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/test_remote.py | 346 | # master yet. We simply create it. | COMMENT |
| MEDIUM | smmap/smmap/mman.py | 97 | """Assign rhs to this instance. This is required in order to get a real copy. | STRING |
| LOW | smmap/smmap/test/test_util.py | 103 | assert isinstance(is_64_bit(), bool) # just call it | CODE |
| LOW | gitdb/gitdb/fun.py | 314 | # this is very pythonic - we might have just use index based access here, | COMMENT |
| LOW | gitdb/gitdb/stream.py | 462 | # target buffer is smaller than our allocated space, we just use parts | COMMENT |
| LOW | git/diff.py | 730 | # is invalid. We just use the one mode we should have parsed. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | git/cmd.py | 1345 | CODE | |
| LOW | git/cmd.py | 1364 | CODE | |
| LOW | git/objects/commit.py | 110 | CODE | |
| LOW | git/objects/submodule/root.py | 77 | CODE | |
| LOW | git/objects/submodule/base.py | 585 | CODE | |
| LOW | git/objects/submodule/base.py | 877 | CODE | |
| LOW | git/index/base.py | 1226 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tox.ini | 23 | CLICOLOR_FORCE = 1 # Set NO_COLOR to override this. | CODE |
| LOW | tox.ini | 40 | CLICOLOR_FORCE = 1 # Set NO_COLOR to override this. | CODE |
| LOW | test/test_docs.py | 274 | new_branch.commit = "HEAD~10" # Set branch to another commit without changing index or working trees. | CODE |
| LOW | test/test_index.py | 382 | # Write the file back. | COMMENT |