Python Development Workflow for Humans.
This report presents the forensic synthetic code analysis of pypa/pipenv, a Python project with 25,053 GitHub stars. SynthScan v2.0 examined 183,338 lines of code across 567 source files, recording 2545 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 16.6 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 2545 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tasks/vendoring/__init__.py | 222 | def _ensure_package_in_requirements(ctx, requirements_file, package): | CODE |
| LOW | tasks/vendoring/__init__.py | 387 | def packages_missing_licenses( | CODE |
| LOW | tasks/vendoring/__init__.py | 650 | def unpin_and_copy_requirements(ctx, requirement_file, name="requirements.txt"): | CODE |
| LOW | tasks/vendoring/__init__.py | 680 | def unpin_and_update_vendored(ctx, vendor=False, patched=True): | CODE |
| LOW | pipenv/shells.py | 86 | def _get_deactivate_wrapper_script(cmd): | CODE |
| LOW | pipenv/installers.py | 79 | def _find_python_installer_by_name_and_env(name, env_var): | CODE |
| LOW | pipenv/installers.py | 134 | def iter_installable_versions(self): | CODE |
| LOW | pipenv/installers.py | 185 | def iter_installable_versions(self): | CODE |
| LOW | pipenv/installers.py | 212 | def iter_installable_versions(self): | CODE |
| LOW | pipenv/installers.py | 292 | def iter_installable_versions(self): | CODE |
| LOW | pipenv/resolver.py | 507 | def _apply_python_version_override(): | CODE |
| LOW | pipenv/environment.py | 625 | def _get_requirements_for_package(cls, node, key_tree, parent=None, chain=None): | CODE |
| LOW | pipenv/project.py | 294 | def get_requests_session_for_source(self, source): | CODE |
| LOW | pipenv/project.py | 351 | def get_hashes_from_remote_index_urls(self, ireq, source): | CODE |
| LOW | pipenv/project.py | 492 | def get_location_for_virtualenv(self) -> Path: | CODE |
| LOW | pipenv/project.py | 684 | def virtualenv_scripts_location(self) -> Path: | CODE |
| LOW | pipenv/project.py | 1266 | def get_package_name_in_pipfile(self, package_name, category): | CODE |
| LOW | pipenv/project.py | 1298 | def remove_package_from_pipfile(self, package_name, category): | CODE |
| LOW | pipenv/project.py | 1317 | def reset_category_in_pipfile(self, category): | CODE |
| LOW | pipenv/project.py | 1327 | def remove_packages_from_pipfile(self, packages): | CODE |
| LOW | pipenv/project.py | 1340 | def generate_package_pipfile_entry(self, package, pip_line, category=None, index_name=None, no_binary=False): | CODE |
| LOW | pipenv/project.py | 1435 | def add_pipfile_entry_to_pipfile(self, name, normalized_name, entry, category=None): | CODE |
| LOW | pipenv/project.py | 1463 | def add_packages_to_pipfile_batch(self, packages_data, dev=False, categories=None): | CODE |
| LOW | pipenv/utils/internet.py | 138 | def _strip_credentials_from_url( | CODE |
| LOW | pipenv/utils/internet.py | 167 | def _read_existing_netrc_content() -> str: | CODE |
| LOW | pipenv/utils/pylock.py | 592 | def get_packages_for_environment( | CODE |
| LOW | pipenv/utils/pylock.py | 645 | def convert_to_pipenv_lockfile(self) -> Dict[str, Any]: | CODE |
| LOW | pipenv/utils/requirementslib.py | 78 | def add_ssh_scheme_to_git_uri(uri): | CODE |
| LOW | pipenv/utils/locking.py | 46 | def format_requirement_for_lockfile( | CODE |
| LOW | pipenv/utils/locking.py | 248 | >>> def raise_exception_while_writing(filename): | STRING |
| LOW | pipenv/utils/locking.py | 258 | >>> def raise_exception_while_writing(filename): | STRING |
| LOW | pipenv/utils/requirements.py | 157 | def requirement_from_lockfile( | CODE |
| LOW | pipenv/utils/requirements.py | 247 | def requirements_from_lockfile(deps, include_hashes=True, include_markers=True): | CODE |
| LOW | pipenv/utils/requirements.py | 374 | def requirements_from_pipfile(deps, include_markers=True): | CODE |
| LOW | pipenv/utils/resolver.py | 54 | def _is_python_version_specifier(value): | CODE |
| LOW | pipenv/utils/resolver.py | 62 | def _get_pipfile_python_override(project): | CODE |
| LOW | pipenv/utils/resolver.py | 131 | def _patched_marker_environment(override): | CODE |
| LOW | pipenv/utils/resolver.py | 149 | def _patched_default_environment(): | CODE |
| LOW | pipenv/utils/resolver.py | 349 | def check_if_package_req_skipped( | CODE |
| LOW | pipenv/utils/resolver.py | 628 | def parsed_default_constraints(self): | CODE |
| LOW | pipenv/utils/resolver.py | 1045 | def _generate_resolution_cache_key( | CODE |
| LOW | pipenv/utils/resolver.py | 1090 | def _should_use_resolution_cache(cache_key, clear): | CODE |
| LOW | pipenv/utils/resolver.py | 1246 | def _append_resolved_default_deps_args(cmd, resolved_default_deps): | CODE |
| LOW | pipenv/utils/markers.py | 214 | def get_sorted_version_string(version_set): | CODE |
| LOW | pipenv/utils/markers.py | 388 | def _markers_collect_pyversions(markers, collection): | CODE |
| LOW | pipenv/utils/markers.py | 407 | def _markers_contains_pyversion(markers): | CODE |
| LOW | pipenv/utils/markers.py | 502 | def _get_specifiers_from_markers(marker_item): | CODE |
| LOW | pipenv/utils/virtualenv.py | 472 | def _find_python_for_specifier(specifier_str, pyenv_only=False): | CODE |
| LOW | pipenv/utils/virtualenv.py | 511 | def find_python_from_py_launcher(version): | CODE |
| LOW | pipenv/utils/virtualenv.py | 643 | def inline_activate_virtual_environment(project): | CODE |
| LOW | pipenv/utils/virtualenv.py | 678 | def _inline_activate_virtualenv(project): | CODE |
| LOW | pipenv/utils/project.py | 19 | def _python_version_matches_required(actual_ver_str, required_ver_str): | CODE |
| LOW | pipenv/utils/project.py | 194 | def get_default_pyproject_backend(): | CODE |
| LOW⚡ | pipenv/utils/dependencies.py | 88 | def get_lockfile_section_using_pipfile_category(category): | CODE |
| LOW⚡ | pipenv/utils/dependencies.py | 96 | def get_pipfile_category_using_lockfile_section(category): | CODE |
| LOW⚡ | pipenv/utils/dependencies.py | 877 | def determine_vcs_revision_hash( | CODE |
| LOW⚡ | pipenv/utils/dependencies.py | 1401 | def get_constraints_from_deps(deps): | CODE |
| LOW | pipenv/utils/dependencies.py | 238 | def _file_url_to_relative_path(file_url, base_dir): | CODE |
| LOW | pipenv/utils/dependencies.py | 452 | def dependency_as_pip_install_line( | CODE |
| LOW | pipenv/utils/dependencies.py | 715 | def find_package_name_from_tarball(tarball_filepath): | CODE |
| 794 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pipenv/__init__.py | 31 | CODE | |
| LOW | pipenv/resolver.py | 46 | CODE | |
| LOW | pipenv/environment.py | 1 | CODE | |
| LOW | pipenv/project.py | 1 | CODE | |
| LOW | pipenv/utils/__init__.py | 4 | CODE | |
| LOW | pipenv/utils/processes.py | 9 | CODE | |
| LOW | pipenv/utils/indexes.py | 1 | CODE | |
| LOW | pipenv/utils/indexes.py | 13 | CODE | |
| LOW | pipenv/utils/indexes.py | 13 | CODE | |
| LOW | pipenv/utils/indexes.py | 13 | CODE | |
| LOW | pipenv/cli/__init__.py | 1 | CODE | |
| LOW | pipenv/patched/pip/__init__.py | 1 | CODE | |
| LOW | pipenv/patched/pip/_internal/configuration.py | 14 | CODE | |
| LOW | pipenv/patched/pip/_internal/pyproject.py | 1 | CODE | |
| LOW | pipenv/patched/pip/_internal/cache.py | 3 | CODE | |
| LOW | pipenv/patched/pip/_internal/__init__.py | 1 | CODE | |
| LOW | pipenv/patched/pip/_internal/exceptions.py | 8 | CODE | |
| LOW | pipenv/patched/pip/_internal/main.py | 1 | CODE | |
| LOW | pipenv/patched/pip/_internal/wheel_builder.py | 3 | CODE | |
| LOW | pipenv/patched/pip/_internal/self_outdated_check.py | 1 | CODE | |
| LOW | pipenv/patched/pip/_internal/build_env.py | 3 | CODE | |
| LOW | pipenv/patched/pip/_internal/network/auth.py | 7 | CODE | |
| LOW | pipenv/patched/pip/_internal/network/xmlrpc.py | 13 | CODE | |
| LOW | pipenv/patched/pip/_internal/network/xmlrpc.py | 13 | CODE | |
| LOW | pipenv/patched/pip/_internal/network/xmlrpc.py | 15 | CODE | |
| LOW | pipenv/patched/pip/_internal/network/download.py | 3 | CODE | |
| LOW | pipenv/patched/pip/_internal/network/session.py | 5 | CODE | |
| LOW | pipenv/patched/pip/_internal/network/cache.py | 3 | CODE | |
| LOW | pipenv/patched/pip/_internal/network/lazy_wheel.py | 3 | CODE | |
| LOW | pipenv/patched/pip/_internal/utils/logging.py | 1 | CODE | |
| LOW | pipenv/patched/pip/_internal/utils/misc.py | 1 | CODE | |
| LOW | pipenv/patched/pip/_internal/utils/egg_link.py | 1 | CODE | |
| LOW | pipenv/patched/pip/_internal/utils/compat.py | 71 | CODE | |
| LOW | pipenv/patched/pip/_internal/utils/compat.py | 73 | CODE | |
| LOW | pipenv/patched/pip/_internal/utils/compat.py | 18 | CODE | |
| LOW | pipenv/patched/pip/_internal/utils/deprecation.py | 5 | CODE | |
| LOW | pipenv/patched/pip/_internal/utils/pylock.py | 1 | CODE | |
| LOW | pipenv/patched/pip/_internal/utils/subprocess.py | 1 | CODE | |
| LOW | pipenv/patched/pip/_internal/utils/filesystem.py | 1 | CODE | |
| LOW | …penv/patched/pip/_internal/utils/direct_url_helpers.py | 1 | CODE | |
| LOW | pipenv/patched/pip/_internal/utils/temp_dir.py | 1 | CODE | |
| LOW | pipenv/patched/pip/_internal/utils/retry.py | 1 | CODE | |
| LOW | pipenv/patched/pip/_internal/utils/packaging.py | 1 | CODE | |
| LOW | pipenv/patched/pip/_internal/utils/entrypoints.py | 1 | CODE | |
| LOW | …penv/patched/pip/_internal/utils/compatibility_tags.py | 3 | CODE | |
| LOW | pipenv/patched/pip/_internal/utils/hashes.py | 1 | CODE | |
| LOW | pipenv/patched/pip/_internal/utils/virtualenv.py | 1 | CODE | |
| LOW | pipenv/patched/pip/_internal/utils/glibc.py | 1 | CODE | |
| LOW | pipenv/patched/pip/_internal/utils/unpacking.py | 3 | CODE | |
| LOW | pipenv/patched/pip/_internal/utils/unpacking.py | 30 | CODE | |
| LOW | pipenv/patched/pip/_internal/utils/unpacking.py | 38 | CODE | |
| LOW | pipenv/patched/pip/_internal/models/link.py | 1 | CODE | |
| LOW | pipenv/patched/pip/_internal/models/selection_prefs.py | 1 | CODE | |
| LOW | pipenv/patched/pip/_internal/models/release_control.py | 1 | CODE | |
| LOW | pipenv/patched/pip/_internal/models/direct_url.py | 3 | CODE | |
| LOW | pipenv/patched/pip/_internal/models/direct_url.py | 8 | CODE | |
| LOW | pipenv/patched/pip/_internal/models/direct_url.py | 8 | CODE | |
| LOW | pipenv/patched/pip/_internal/models/direct_url.py | 8 | CODE | |
| LOW | pipenv/patched/pip/_internal/models/direct_url.py | 8 | CODE | |
| LOW | pipenv/patched/pip/_internal/models/target_python.py | 1 | CODE | |
| 520 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | pipenv/cli/options.py | 767 | # ── open ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | pipenv/cli/options.py | 775 | # ── sync ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | pipenv/cli/options.py | 785 | # ── clean ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | pipenv/cli/options.py | 797 | # ── scripts ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | pipenv/cli/options.py | 804 | # ── verify ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | pipenv/cli/options.py | 810 | # ── requirements ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 90 | # ── Argument-adder functions (argparse) ────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 92 | # ── Individual argument-adder functions ────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 306 | # ── Option group composers ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 367 | # ── PIPENV_ environment variable overlay ───────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 422 | # ── Main parser factory ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 521 | # ── install ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 533 | # ── remove ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 539 | # ── upgrade ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 551 | # ── uninstall ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 574 | # ── lock ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 579 | # ── shell ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 605 | # ── activate ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 615 | # ── run ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 645 | # ── check ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 702 | # ── audit ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 739 | # ── update ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 755 | # ── graph ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 832 | # ── pylock ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 849 | # ── State builder (argparse Namespace → State) ──────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 863 | # ── Global / common fields ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 873 | # ── Validation ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 890 | # ── Verbosity ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 902 | # ── InstallState ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/options.py | 923 | # ── LockOptions ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/command.py | 693 | # ── Root-level (no subcommand) ──────────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/command.py | 780 | # ── Subcommand --help ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pipenv/cli/command.py | 793 | # ── Dispatch ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …env/patched/pip/_vendor/packaging/dependency_groups.py | 23 | # ----------- | COMMENT |
| MEDIUM | …env/patched/pip/_vendor/packaging/dependency_groups.py | 25 | # ----------- | COMMENT |
| MEDIUM | …env/patched/pip/_vendor/packaging/dependency_groups.py | 64 | # ------------------------ | COMMENT |
| MEDIUM | …env/patched/pip/_vendor/packaging/dependency_groups.py | 66 | # ------------------------ | COMMENT |
| MEDIUM⚡ | …env/patched/pip/_vendor/packaging/dependency_groups.py | 250 | # -------------------- | COMMENT |
| MEDIUM⚡ | …env/patched/pip/_vendor/packaging/dependency_groups.py | 252 | # -------------------- | COMMENT |
| MEDIUM | …env/patched/pip/_vendor/packaging/dependency_groups.py | 269 | # ---------------- | COMMENT |
| MEDIUM | …env/patched/pip/_vendor/packaging/dependency_groups.py | 271 | # ---------------- | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/_parser.py | 95 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/_parser.py | 97 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/_parser.py | 289 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/_parser.py | 291 | # -------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/pygments/lexer.py | 325 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/requests/compat.py | 24 | # ------------------- | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/requests/compat.py | 26 | # ------------------- | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/requests/compat.py | 62 | # -------------- | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/requests/compat.py | 64 | # -------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_cmdparse.py | 35 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_cmdparse.py | 37 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_cmdparse.py | 161 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_cmdparse.py | 163 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit/test_cmdparse.py | 5 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit/test_cmdparse.py | 7 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_utils.py | 1598 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_utils.py | 1600 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_dependencies.py | 100 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_dependencies.py | 102 | # --------------------------------------------------------------------------- | COMMENT |
| 35 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tasks/vendoring/__init__.py | 114 | CODE | |
| LOW | tasks/vendoring/__init__.py | 139 | CODE | |
| LOW | tasks/vendoring/__init__.py | 222 | CODE | |
| LOW | tasks/vendoring/__init__.py | 246 | CODE | |
| LOW | tasks/vendoring/__init__.py | 387 | CODE | |
| LOW | tasks/vendoring/__init__.py | 440 | CODE | |
| LOW | pipenv/shells.py | 40 | CODE | |
| LOW | pipenv/shells.py | 86 | CODE | |
| LOW | pipenv/resolver.py | 254 | CODE | |
| LOW | pipenv/environment.py | 156 | CODE | |
| LOW | pipenv/environment.py | 691 | CODE | |
| LOW | pipenv/environment.py | 735 | CODE | |
| LOW | pipenv/exceptions.py | 79 | CODE | |
| LOW | pipenv/exceptions.py | 435 | CODE | |
| LOW | pipenv/exceptions.py | 331 | CODE | |
| LOW | pipenv/exceptions.py | 398 | CODE | |
| LOW | pipenv/project.py | 351 | CODE | |
| LOW | pipenv/project.py | 492 | CODE | |
| LOW | pipenv/project.py | 1032 | CODE | |
| LOW | pipenv/project.py | 1099 | CODE | |
| LOW | pipenv/project.py | 1340 | CODE | |
| LOW | pipenv/project.py | 1463 | CODE | |
| LOW | pipenv/utils/pipfile.py | 74 | CODE | |
| LOW | pipenv/utils/pipfile.py | 330 | CODE | |
| LOW | pipenv/utils/funktools.py | 98 | CODE | |
| LOW | pipenv/utils/funktools.py | 138 | CODE | |
| LOW | pipenv/utils/funktools.py | 244 | CODE | |
| LOW | pipenv/utils/funktools.py | 284 | CODE | |
| LOW | pipenv/utils/funktools.py | 389 | CODE | |
| LOW | pipenv/utils/pylock.py | 47 | CODE | |
| LOW | pipenv/utils/pylock.py | 209 | CODE | |
| LOW | pipenv/utils/pylock.py | 260 | CODE | |
| LOW | pipenv/utils/pylock.py | 417 | CODE | |
| LOW | pipenv/utils/pylock.py | 592 | CODE | |
| LOW | pipenv/utils/requirementslib.py | 354 | CODE | |
| LOW | pipenv/utils/requirementslib.py | 415 | CODE | |
| LOW | pipenv/utils/requirementslib.py | 434 | CODE | |
| LOW | pipenv/utils/requirementslib.py | 470 | CODE | |
| LOW | pipenv/utils/indexes.py | 18 | CODE | |
| LOW | pipenv/utils/locking.py | 46 | CODE | |
| LOW | pipenv/utils/locking.py | 163 | CODE | |
| LOW | pipenv/utils/locking.py | 352 | CODE | |
| LOW | pipenv/utils/locking.py | 563 | CODE | |
| LOW | pipenv/utils/requirements.py | 66 | CODE | |
| LOW | pipenv/utils/requirements.py | 262 | CODE | |
| LOW | pipenv/utils/resolver.py | 1182 | CODE | |
| LOW | pipenv/utils/resolver.py | 1299 | CODE | |
| LOW | pipenv/utils/resolver.py | 1541 | CODE | |
| LOW | pipenv/utils/resolver.py | 362 | CODE | |
| LOW | pipenv/utils/resolver.py | 812 | CODE | |
| LOW | pipenv/utils/resolver.py | 1202 | CODE | |
| LOW | pipenv/utils/markers.py | 542 | CODE | |
| LOW | pipenv/utils/environment.py | 9 | CODE | |
| LOW | pipenv/utils/pip.py | 18 | CODE | |
| LOW | pipenv/utils/virtualenv.py | 51 | CODE | |
| LOW | pipenv/utils/virtualenv.py | 214 | CODE | |
| LOW | pipenv/utils/virtualenv.py | 291 | CODE | |
| LOW | pipenv/utils/virtualenv.py | 472 | CODE | |
| LOW | pipenv/utils/project.py | 58 | CODE | |
| LOW | pipenv/utils/dependencies.py | 265 | CODE | |
| 242 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pipenv/resolver.py | 33 | # Create a minimal shim that re-exports from typing | COMMENT |
| MEDIUM | pipenv/project.py | 692 | # Create the directory, if it doesn't exist. | COMMENT |
| MEDIUM | pipenv/utils/pipfile.py | 64 | # Create a Path object for the potential Pipfile | COMMENT |
| MEDIUM | pipenv/utils/pipfile.py | 96 | # Create a Pipfile... | COMMENT |
| MEDIUM | pipenv/utils/pipfile.py | 119 | # Create the pipfile if it doesn't exist. | COMMENT |
| MEDIUM | pipenv/utils/pylock.py | 88 | # Create the basic pylock.toml structure | COMMENT |
| MEDIUM | pipenv/utils/pylock.py | 304 | # Create the basic pylock.toml structure | COMMENT |
| MEDIUM | pipenv/utils/pylock.py | 425 | # Create a deep copy of the data to avoid modifying the original | COMMENT |
| MEDIUM | pipenv/utils/pylock.py | 651 | # Create the basic structure | COMMENT |
| MEDIUM | pipenv/utils/pylock.py | 708 | # Create the package entry | COMMENT |
| MEDIUM | pipenv/utils/fileutils.py | 122 | # Create an absolute path | COMMENT |
| MEDIUM | pipenv/utils/fileutils.py | 183 | # Creating a buffer-like object | COMMENT |
| MEDIUM | pipenv/utils/shell.py | 85 | # Create a PurePath which won't access the filesystem | COMMENT |
| MEDIUM | pipenv/utils/requirementslib.py | 300 | # The following functionality is either borrowed or modified from the itertools module | COMMENT |
| MEDIUM | pipenv/utils/resolver.py | 1071 | # Create a deterministic representation of dependencies | COMMENT |
| MEDIUM⚡ | pipenv/utils/dependencies.py | 870 | # Create a temporary directory using mkdtemp | COMMENT |
| MEDIUM⚡ | pipenv/utils/dependencies.py | 1395 | # Create the Requirement instance | COMMENT |
| MEDIUM⚡ | pipenv/utils/dependencies.py | 1409 | # Creating a constraint as a canonical name plus a version specifier | COMMENT |
| MEDIUM | pipenv/routines/lock.py | 47 | # Create the lockfile. | COMMENT |
| MEDIUM | pipenv/patched/pip/_internal/req/constructors.py | 199 | # Create a steppable iterator, so we can handle \-continuations. | COMMENT |
| MEDIUM | pipenv/patched/pip/_internal/commands/list.py | 240 | # Create a set to remove duplicate packages, and cast it to a list | COMMENT |
| MEDIUM | pipenv/patched/pip/_internal/commands/install.py | 422 | # Create a target directory for using with the target option | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/__init__.py | 26 | # Define a small helper function to alias our vendored modules to the real ones | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/tags.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/metadata.py | 290 | # This class is for writing RFC822 messages | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/metadata.py | 307 | # This class is for writing RFC822 messages | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/version.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/__init__.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/utils.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/requirements.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/_structures.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/markers.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/specifiers.py | 1 | # This file is dual licensed under the terms of the Apache License, Version | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/truststore/_windows.py | 528 | # Create a custom cert chain engine which exclusively trusts | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/distlib/util.py | 1580 | # The above classes only come into play if a timeout | STRING |
| MEDIUM | pipenv/patched/pip/_vendor/idna/idnadata.py | 1 | # This file is automatically generated by tools/idna-data | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/idna/uts46data.py | 1 | # This file is automatically generated by tools/idna-data | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/requests/sessions.py | 565 | # Create the Request. | COMMENT |
| MEDIUM | …pip/_vendor/pyproject_hooks/_in_process/_in_process.py | 27 | # This file is run as a script, and `import wrappers` is not zip-safe, so we | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/rich/console.py | 2014 | """This function is called when a `BrokenPipeError` is raised. | STRING |
| MEDIUM | pipenv/patched/pip/_vendor/urllib3/util/url.py | 266 | output = [] # Initialize the variable to use to store output | CODE |
| MEDIUM | pipenv/patched/pip/_vendor/urllib3/util/connection.py | 23 | # This function is copied from socket.py in the Python 2.7 standard | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/urllib3/util/connection.py | 104 | """This function is designed to work in the context of | STRING |
| MEDIUM | pipenv/patched/pip/_vendor/urllib3/http2/probe.py | 66 | """This function is for testing purposes only. Gets the current state of the probe cache""" | STRING |
| MEDIUM | pipenv/patched/pip/_vendor/urllib3/http2/probe.py | 71 | """This function is for testing purposes only. Reset the cache values""" | STRING |
| MEDIUM | …patched/pip/_vendor/resolvelib/resolvers/resolution.py | 254 | # Create a new state from the last known-to-work one, and apply | COMMENT |
| MEDIUM⚡ | tests/unit/test_utils.py | 716 | # Create a package directory structure | COMMENT |
| MEDIUM⚡ | tests/unit/test_utils.py | 720 | # Create a proper setup.py in the root with a parseable name | COMMENT |
| MEDIUM⚡ | tests/unit/test_utils.py | 726 | # Create a tests subdirectory with a file that has a setup() call | COMMENT |
| MEDIUM | tests/unit/test_utils.py | 746 | # Create a package directory structure | COMMENT |
| MEDIUM | tests/unit/test_utils.py | 792 | # Create a mock configuration that returns index-url | COMMENT |
| MEDIUM | tests/unit/test_utils.py | 1933 | # Create the virtualenv dir so .project file write succeeds | COMMENT |
| MEDIUM | tests/unit/test_utils_windows_executable.py | 8 | # This module is run only on Windows. | COMMENT |
| MEDIUM | tests/unit/test_core.py | 724 | # Create a fake subprocess result that succeeds | COMMENT |
| MEDIUM | tests/unit/test_pylock.py | 201 | # Create a simple Pipfile.lock | COMMENT |
| MEDIUM | tests/unit/test_pylock.py | 328 | # Create a simple PylockFile | COMMENT |
| MEDIUM | tests/unit/test_pylock.py | 395 | # Create a pylock file with various markers using PEP 751 syntax | COMMENT |
| MEDIUM | tests/unit/test_pylock.py | 245 | # Create a PylockFile from the Pipfile.lock | STRING |
| MEDIUM | tests/unit/test_pylock.py | 270 | # Create a Pipfile.lock with a wildcard version | STRING |
| MEDIUM | tests/unit/test_pylock.py | 297 | # Create a PylockFile from the Pipfile.lock | STRING |
| 30 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pipenv/project.py | 846 | def update_settings(self, d: dict[str, str | bool]) -> None: | CODE |
| LOW | pipenv/utils/funktools.py | 320 | def set_write_bit(fn: str) -> None: | CODE |
| LOW | pipenv/patched/pip/_internal/configuration.py | 160 | def set_value(self, key: str, value: Any) -> None: | CODE |
| LOW | pipenv/patched/pip/_internal/cache.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/exceptions.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/wheel_builder.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/self_outdated_check.py | 44 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/build_env.py | 48 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/network/auth.py | 150 | def _set_password(self, service_name: str, username: str, password: str) -> None: | CODE |
| LOW | pipenv/patched/pip/_internal/network/xmlrpc.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/network/download.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/network/session.py | 57 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/network/session.py | 418 | def update_index_urls(self, new_index_urls: list[str]) -> None: | CODE |
| LOW | pipenv/patched/pip/_internal/network/cache.py | 121 | def set_body(self, key: str, body: bytes) -> None: | CODE |
| LOW | pipenv/patched/pip/_internal/network/cache.py | 125 | def set_body_from_io(self, key: str, body_file: BinaryIO) -> None: | CODE |
| LOW | pipenv/patched/pip/_internal/network/lazy_wheel.py | 5 | __all__ = ["HTTPRangeRequestUnsupported", "dist_from_wheel_url"] | CODE |
| LOW | pipenv/patched/pip/_internal/utils/misc.py | 41 | __all__ = [ | CODE |
| LOW | pipenv/patched/pip/_internal/utils/misc.py | 58 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/utils/egg_link.py | 13 | __all__ = [ | CODE |
| LOW | pipenv/patched/pip/_internal/utils/compat.py | 10 | __all__ = ["get_path_uid", "stdlib_pkgs", "tomllib", "WINDOWS"] | CODE |
| LOW | pipenv/patched/pip/_internal/utils/compat.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/utils/temp_dir.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/utils/temp_dir.py | 54 | def set_delete(self, kind: str, value: bool) -> None: | CODE |
| LOW | pipenv/patched/pip/_internal/utils/packaging.py | 9 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/utils/virtualenv.py | 9 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/utils/wheel.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/utils/unpacking.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | pipenv/patched/pip/_internal/utils/unpacking.py | 134 | def set_extracted_file_to_default_mode_plus_executable(path: str) -> None: | CODE |
| LOW | pipenv/patched/pip/_internal/models/link.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/models/direct_url.py | 18 | __all__ = [ | CODE |
| LOW | pipenv/patched/pip/_internal/models/search_scope.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/cli/cmdoptions.py | 39 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/cli/index_command.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/cli/parser.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/cli/spinners.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/cli/base_command.py | 43 | __all__ = ["Command"] | CODE |
| LOW | pipenv/patched/pip/_internal/cli/base_command.py | 45 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/cli/main_parser.py | 18 | __all__ = ["create_main_parser", "parse_command"] | CODE |
| LOW | pipenv/patched/pip/_internal/cli/main.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/cli/req_command.py | 61 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/operations/check.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/operations/freeze.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | …penv/patched/pip/_internal/operations/install/wheel.py | 66 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/req/req_install.py | 59 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/req/req_install.py | 376 | def _set_requirement(self) -> None: | CODE |
| LOW | pipenv/patched/pip/_internal/req/req_install.py | 561 | def set_dist(self, distribution: BaseDistribution) -> None: | CODE |
| LOW | pipenv/patched/pip/_internal/req/req_install.py | 642 | def update_editable(self) -> None: | CODE |
| LOW | pipenv/patched/pip/_internal/req/req_set.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/req/__init__.py | 15 | __all__ = [ | CODE |
| LOW | pipenv/patched/pip/_internal/req/__init__.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/req/req_file.py | 35 | __all__ = ["parse_requirements"] | CODE |
| LOW | pipenv/patched/pip/_internal/req/req_file.py | 101 | logger = logging.getLogger(__name__) | CODE |
| LOW | pipenv/patched/pip/_internal/req/constructors.py | 45 | __all__ = [ | CODE |
| LOW | pipenv/patched/pip/_internal/req/constructors.py | 51 | logger = logging.getLogger(__name__) | CODE |
| LOW | …nv/patched/pip/_internal/resolution/legacy/resolver.py | 53 | logger = logging.getLogger(__name__) | CODE |
| LOW | …nv/patched/pip/_internal/resolution/legacy/resolver.py | 318 | def _set_req_to_reinstall(self, req: InstallRequirement) -> None: | CODE |
| LOW | …ip/_internal/resolution/resolvelib/found_candidates.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | …patched/pip/_internal/resolution/resolvelib/factory.py | 79 | logger = logging.getLogger(__name__) | CODE |
| LOW | …atched/pip/_internal/resolution/resolvelib/resolver.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ched/pip/_internal/resolution/resolvelib/candidates.py | 37 | logger = logging.getLogger(__name__) | CODE |
| 103 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tasks/vendoring/__init__.py | 739 | print(f"Error downloading {link}") | CODE |
| LOW | pipenv/shells.py | 240 | except Exception: | CODE |
| LOW | pipenv/shells.py | 267 | except Exception: | CODE |
| LOW | pipenv/resolver.py | 143 | except Exception: # noqa: PERF203 | CODE |
| LOW | pipenv/environment.py | 187 | except Exception: | CODE |
| LOW | pipenv/environment.py | 662 | except Exception as e: | CODE |
| MEDIUM | pipenv/exceptions.py | 26 | print(f"Error: {self.format_message()}", file=file) | CODE |
| LOW | pipenv/project.py | 408 | except Exception: | CODE |
| LOW | pipenv/project.py | 779 | except Exception: | CODE |
| LOW | pipenv/project.py | 868 | except Exception: | CODE |
| LOW | pipenv/project.py | 876 | except Exception: | CODE |
| LOW | pipenv/project.py | 934 | except Exception as e: | CODE |
| LOW | pipenv/project.py | 1106 | except Exception: | CODE |
| LOW | pipenv/project.py | 1165 | except Exception as e: | CODE |
| LOW | pipenv/utils/pipfile.py | 31 | except Exception: | CODE |
| LOW | pipenv/utils/pipfile.py | 104 | except Exception: | CODE |
| LOW | pipenv/utils/pipfile.py | 172 | except Exception: | CODE |
| LOW | pipenv/utils/internet.py | 263 | except Exception: | CODE |
| LOW | pipenv/utils/pylock.py | 85 | except Exception as e: | CODE |
| LOW | pipenv/utils/pylock.py | 243 | except Exception as e: | CODE |
| LOW | pipenv/utils/pylock.py | 296 | except Exception as e: | CODE |
| LOW | pipenv/utils/pylock.py | 408 | except Exception: | CODE |
| LOW | pipenv/utils/pylock.py | 543 | except Exception as e: | CODE |
| LOW | pipenv/utils/shell.py | 164 | except Exception: | CODE |
| LOW | pipenv/utils/shell.py | 290 | except Exception: | CODE |
| LOW | pipenv/utils/shell.py | 677 | except Exception: # pragma: no cover | CODE |
| MEDIUM | pipenv/utils/shell.py | 674 | def isatty(stream): | CODE |
| LOW | pipenv/utils/requirementslib.py | 605 | except Exception: | CODE |
| LOW | pipenv/utils/locking.py | 617 | except Exception: | CODE |
| MEDIUM | pipenv/utils/resolver.py | 1507 | err.print(f"Error: {c.stderr.strip()}") | CODE |
| LOW | pipenv/utils/resolver.py | 1441 | except Exception: | CODE |
| MEDIUM | pipenv/utils/virtualenv.py | 449 | err.print("Something went wrong...") | CODE |
| LOW | pipenv/utils/virtualenv.py | 497 | except Exception: | CODE |
| LOW | pipenv/utils/virtualenv.py | 566 | except Exception: | CODE |
| LOW | pipenv/utils/virtualenv.py | 690 | except Exception: | CODE |
| MEDIUM | pipenv/utils/virtualenv.py | 678 | def _inline_activate_virtualenv(project): | CODE |
| LOW | pipenv/utils/project.py | 53 | except Exception: | CODE |
| LOW | pipenv/utils/project.py | 125 | except Exception: | CODE |
| LOW⚡ | pipenv/utils/dependencies.py | 78 | except Exception: | CODE |
| LOW⚡ | pipenv/utils/dependencies.py | 885 | except Exception as e: | CODE |
| LOW | pipenv/utils/dependencies.py | 1251 | except Exception as e: | CODE |
| MEDIUM | pipenv/cli/command.py | 269 | err.print("Error: Missing argument 'command'.") | CODE |
| LOW | pipenv/cli/command.py | 518 | except Exception as e: | CODE |
| LOW | pipenv/cli/command.py | 541 | except Exception as e: | CODE |
| LOW | pipenv/cli/command.py | 571 | except Exception as e: | CODE |
| LOW | pipenv/cli/command.py | 584 | except Exception as e: | CODE |
| LOW | pipenv/routines/update.py | 179 | except Exception as e: # noqa: PERF203 | CODE |
| LOW | pipenv/routines/update.py | 219 | except Exception: # noqa: PERF203 | CODE |
| LOW | pipenv/routines/audit.py | 35 | except Exception: | CODE |
| LOW | pipenv/routines/audit.py | 267 | except Exception as e: | CODE |
| LOW | pipenv/routines/check.py | 159 | except Exception: | CODE |
| LOW | pipenv/routines/check.py | 217 | except Exception as e: | CODE |
| LOW | pipenv/routines/check.py | 393 | except Exception: | CODE |
| LOW | pipenv/routines/check.py | 441 | except Exception as e: | CODE |
| MEDIUM | pipenv/routines/uninstall.py | 38 | console.print(f"Error occurred while uninstalling package {package}.") | CODE |
| LOW | pipenv/routines/lock.py | 111 | except Exception: | CODE |
| LOW | pipenv/routines/scan.py | 217 | except Exception as e: | CODE |
| LOW | pipenv/routines/scan.py | 241 | except Exception: | CODE |
| LOW | pipenv/routines/scan.py | 295 | except Exception as e: | CODE |
| LOW | pipenv/routines/scan.py | 428 | except Exception: | CODE |
| 92 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pipenv/utils/requirementslib.py | 267 | CODE | |
| LOW | pipenv/utils/resolver.py | 162 | CODE | |
| LOW | pipenv/utils/resolver.py | 1299 | CODE | |
| LOW | pipenv/utils/resolver.py | 1541 | CODE | |
| LOW | pipenv/utils/resolver.py | 285 | CODE | |
| LOW | pipenv/utils/resolver.py | 362 | CODE | |
| LOW | pipenv/utils/pip.py | 195 | CODE | |
| LOW | pipenv/utils/project.py | 58 | CODE | |
| LOW | pipenv/utils/dependencies.py | 1082 | CODE | |
| LOW | pipenv/routines/update.py | 28 | CODE | |
| LOW | pipenv/routines/update.py | 641 | CODE | |
| LOW | pipenv/routines/sync.py | 9 | CODE | |
| LOW | pipenv/routines/audit.py | 74 | CODE | |
| LOW | pipenv/routines/audit.py | 139 | CODE | |
| LOW | pipenv/routines/check.py | 15 | CODE | |
| LOW | pipenv/routines/check.py | 261 | CODE | |
| LOW | pipenv/routines/requirements.py | 11 | CODE | |
| LOW | pipenv/routines/uninstall.py | 43 | CODE | |
| LOW | pipenv/routines/lock.py | 11 | CODE | |
| LOW | pipenv/routines/scan.py | 16 | CODE | |
| LOW | pipenv/routines/scan.py | 340 | CODE | |
| LOW | pipenv/routines/install.py | 353 | CODE | |
| LOW | pipenv/routines/install.py | 464 | CODE | |
| LOW | pipenv/routines/install.py | 623 | CODE | |
| LOW | pipenv/routines/install.py | 909 | CODE | |
| LOW | pipenv/patched/pip/_internal/utils/subprocess.py | 59 | CODE | |
| LOW | pipenv/patched/pip/_internal/models/link.py | 182 | CODE | |
| LOW | pipenv/patched/pip/_internal/req/req_install.py | 69 | CODE | |
| LOW | pipenv/patched/pip/_internal/vcs/versioncontrol.py | 616 | CODE | |
| LOW | pipenv/patched/pip/_vendor/packaging/pylock.py | 535 | CODE | |
| LOW | pipenv/patched/pip/_vendor/msgpack/fallback.py | 226 | CODE | |
| LOW | pipenv/patched/pip/_vendor/msgpack/fallback.py | 653 | CODE | |
| LOW | pipenv/patched/pip/_vendor/distlib/util.py | 954 | CODE | |
| LOW | pipenv/patched/pip/_vendor/requests/sessions.py | 503 | CODE | |
| LOW | pipenv/patched/pip/_vendor/requests/models.py | 260 | CODE | |
| LOW | pipenv/patched/pip/_vendor/requests/models.py | 353 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/logging.py | 65 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/console.py | 163 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/console.py | 625 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/console.py | 1648 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/console.py | 1747 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/console.py | 1932 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/style.py | 127 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/traceback.py | 83 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/traceback.py | 286 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/traceback.py | 340 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/__init__.py | 77 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/__init__.py | 120 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/pretty.py | 113 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/pretty.py | 171 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/pretty.py | 273 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/columns.py | 31 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/_inspect.py | 37 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/text.py | 144 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/text.py | 329 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/live.py | 57 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/syntax.py | 276 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/syntax.py | 317 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/table.py | 189 | CODE | |
| LOW | pipenv/patched/pip/_vendor/rich/table.py | 365 | CODE | |
| 33 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pipenv/project.py | 1511 | # Check if this is a new package | COMMENT |
| LOW | pipenv/project.py | 1535 | # Check if this is a new package | COMMENT |
| LOW | pipenv/project.py | 1595 | # Check if the URL already exists in any source | COMMENT |
| LOW | pipenv/utils/pipfile.py | 67 | # Check if it's a file | COMMENT |
| LOW | pipenv/utils/funktools.py | 93 | # Check if the file is readonly using two methods | COMMENT |
| LOW | pipenv/utils/funktools.py | 301 | # Check if the directory exists and is accessible before iterating | COMMENT |
| LOW | pipenv/utils/pylock.py | 622 | # Check if the package has a marker | COMMENT |
| LOW | pipenv/utils/fileutils.py | 159 | # Check if the link is a local path that exists | COMMENT |
| LOW | pipenv/utils/shell.py | 79 | # Check if it has a trailing slash which would indicate a directory | COMMENT |
| LOW⚡ | pipenv/utils/shell.py | 394 | # Check if it's a dictionary-like object with keys | COMMENT |
| LOW⚡ | pipenv/utils/shell.py | 401 | # Check if the path exists as a file | COMMENT |
| LOW⚡ | pipenv/utils/shell.py | 408 | # Check if the string starts with any of the scheme prefixes | COMMENT |
| LOW⚡ | pipenv/utils/requirementslib.py | 175 | # Check if the path exists (for local paths) | COMMENT |
| LOW⚡ | pipenv/utils/requirementslib.py | 179 | # Check if it's an archive file | COMMENT |
| LOW⚡ | pipenv/utils/requirementslib.py | 182 | # Check if it's a local installable project directory | COMMENT |
| LOW⚡ | pipenv/utils/requirementslib.py | 188 | # Check if it's a remote archive | COMMENT |
| LOW | pipenv/utils/locking.py | 288 | # Set permissions to 0644 | COMMENT |
| LOW | pipenv/utils/requirements.py | 35 | # Check if user is an environment variable or a standard SSH username | COMMENT |
| LOW | pipenv/utils/requirements.py | 41 | # Check if password is an environment variable | COMMENT |
| LOW | pipenv/utils/exceptions.py | 30 | # Check if backup_path is a valid path with an existing parent directory | COMMENT |
| LOW | pipenv/utils/virtualenv.py | 453 | # Print the results, in a beautiful blue... | COMMENT |
| LOW | pipenv/utils/dependencies.py | 203 | # Check if it's a file URI | COMMENT |
| LOW | pipenv/routines/update.py | 301 | # Check if locked version still satisfies the Pipfile specifier | COMMENT |
| LOW | pipenv/routines/update.py | 310 | # Check if locked version still satisfies the Pipfile specifier | COMMENT |
| LOW | pipenv/routines/update.py | 375 | # Check if any of the packages to upgrade are also in other categories | COMMENT |
| LOW | pipenv/routines/audit.py | 191 | # Check if pip-audit is installed | COMMENT |
| LOW | pipenv/routines/check.py | 373 | # Check if safety is installed | COMMENT |
| LOW | pipenv/routines/shell.py | 46 | # Set PIPENV_PROJECT_DIR to the project root directory. | COMMENT |
| LOW | pipenv/routines/shell.py | 110 | # Set VIRTUAL_ENV to the exact string representation | COMMENT |
| LOW | pipenv/routines/shell.py | 120 | # Set PIPENV_PROJECT_DIR to the project root directory. | COMMENT |
| LOW | pipenv/routines/scan.py | 122 | # Set stage to ci to avoid authentication prompt | COMMENT |
| LOW | pipenv/routines/scan.py | 411 | # Check if safety is installed | COMMENT |
| LOW | pipenv/routines/install.py | 503 | # Check if the file is remote or not | COMMENT |
| LOW | pipenv/patched/pip/_internal/network/download.py | 273 | # Check if the adapter is the CacheControlAdapter (i.e. caching is enabled) | COMMENT |
| LOW | pipenv/patched/pip/_internal/utils/filesystem.py | 30 | # Check if path is writable by current user. | COMMENT |
| LOW | pipenv/patched/pip/_internal/operations/check.py | 84 | # Check if it's missing | COMMENT |
| LOW | pipenv/patched/pip/_internal/operations/check.py | 93 | # Check if there's a conflict | COMMENT |
| LOW | pipenv/patched/pip/_internal/operations/prepare.py | 507 | # Check if the relevant file is already available | COMMENT |
| LOW | …patched/pip/_internal/resolution/resolvelib/factory.py | 758 | # Check if only final releases are allowed for this package | COMMENT |
| LOW | …atched/pip/_internal/resolution/resolvelib/resolver.py | 133 | # Check if there is already an installation under the same name, | COMMENT |
| LOW | pipenv/patched/pip/_internal/locations/__init__.py | 361 | # Check if this path mismatch is caused by distutils config files. Those | COMMENT |
| LOW | pipenv/patched/pip/_internal/index/package_finder.py | 1061 | # Check if only final releases are allowed for this package | COMMENT |
| LOW | pipenv/patched/pip/_internal/distributions/sdist.py | 60 | # Check if the current environment provides build dependencies | COMMENT |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 626 | # Check if content-type is valid or defaulted to `text/plain` and thus was | COMMENT |
| LOW | pipenv/patched/pip/_vendor/requests/models.py | 499 | # Check if file, fo, generator, iterator. | COMMENT |
| LOW | pipenv/patched/pip/_vendor/urllib3/connection.py | 736 | # Check if the target origin supports HTTP/2. | COMMENT |
| LOW | pipenv/patched/pip/_vendor/urllib3/connectionpool.py | 941 | # Check if we should retry the HTTP response. | COMMENT |
| LOW | pipenv/patched/pip/_vendor/urllib3/util/request.py | 246 | # Check if the body implements the buffer API. | COMMENT |
| LOW | pipenv/patched/pip/_vendor/urllib3/util/request.py | 250 | # Check if the body is an iterable | COMMENT |
| LOW | pipenv/patched/pip/_vendor/urllib3/util/response.py | 31 | # Check if the object is a container for another file-like object that | COMMENT |
| LOW | tests/unit/test_core.py | 86 | # Set verbosity to -1 (quiet mode via environment variable) | COMMENT |
| LOW | tests/unit/test_core.py | 141 | # Set PIPENV_ACTIVE to simulate nested pipenv invocation | COMMENT |
| LOW | tests/unit/test_pylock.py | 359 | # Write the file | COMMENT |
| LOW⚡ | tests/integration/test_upgrade.py | 92 | # Check if google-api-core is still at the old version | STRING |
| LOW | tests/integration/test_upgrade.py | 133 | # Check if requests is in develop section (as a dependency of pytest) | STRING |
| LOW | tests/integration/test_upgrade.py | 207 | # Check if requests is in develop section (it might be there as a dependency of pytest) | STRING |
| LOW | tests/integration/test_install_vcs.py | 37 | # Check if the URL in the lockfile still contains the environment variables | COMMENT |
| LOW | tests/integration/test_editable_vcs.py | 36 | # Check if either src directory exists | STRING |
| LOW | tests/integration/test_editable_vcs.py | 60 | # Check if either src directory exists | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | pipenv/utils/pylock.py | 53 | Create a PylockFile from a Pipfile.lock file. Args: lockfile_path: Path to the Pipfile.lock file | STRING |
| HIGH | pipenv/utils/pylock.py | 210 | Load a pylock.toml file from the given path. Args: path: Path to the pylock.toml file Retu | STRING |
| HIGH | pipenv/utils/pylock.py | 265 | Create a PylockFile skeleton from a pyproject.toml file. This reads the dependencies from pyproject.toml and cr | STRING |
| HIGH | pipenv/patched/pip/_vendor/distro/distro.py | 676 | The initialization method of this class gathers information from the available data sources, and stores | STRING |
| HIGH | pipenv/patched/pip/_vendor/rich/measure.py | 82 | Get a measurement for a renderable. Args: console (~rich.console.Console): Console instance. | STRING |
| HIGH | pipenv/patched/pip/_vendor/rich/console.py | 829 | Set Live instance. Used by Live context manager (no need to call directly). Args: live (Live): Live | STRING |
| HIGH | pipenv/patched/pip/_vendor/rich/console.py | 1479 | Get a Style instance by its theme name or parse a definition. Args: name (str): The name of a style | STRING |
| HIGH | pipenv/patched/pip/_vendor/rich/console.py | 1902 | Get caller frame information. Args: offset (int): the caller offset within the current frame stack. | STRING |
| HIGH | pipenv/patched/pip/_vendor/rich/style.py | 495 | Parse a style definition. Args: style_definition (str): A string containing a style. Raise | STRING |
| HIGH | pipenv/patched/pip/_vendor/rich/markup.py | 112 | Render console markup in to a Text instance. Args: markup (str): A string containing console markup. | STRING |
| HIGH | pipenv/patched/pip/_vendor/rich/highlighter.py | 21 | Highlight a str or Text instance. Args: text (Union[str, ~Text]): Text to highlight. Raise | STRING |
| HIGH | pipenv/patched/pip/_vendor/rich/progress_bar.py | 129 | Renders the pulse animation. Args: console (Console): Console instance. width (int): Wi | STRING |
| HIGH | pipenv/patched/pip/_vendor/rich/prompt.py | 228 | Process response from user, convert to prompt type. Args: value (str): String typed by user. | STRING |
| HIGH | pipenv/patched/pip/_vendor/rich/progress.py | 1244 | Track progress file reading from a binary file. Args: file (BinaryIO): A file-like object opened in | STRING |
| HIGH | pipenv/patched/pip/_vendor/rich/progress.py | 1323 | Track progress while reading from a binary file. Args: path (Union[str, PathLike[str]]): The path t | STRING |
| HIGH | pipenv/patched/pip/_vendor/rich/_win32_console.py | 96 | Retrieves the current input mode of a console's input buffer or the current output mode of a console screen buffer. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | pipenv/patched/pip/_internal/vcs/git.py | 0 | return the path to python project root, relative to the repo root. return none if the project root is in the repo root. | STRING |
| HIGH | pipenv/patched/pip/_internal/vcs/mercurial.py | 0 | return the path to python project root, relative to the repo root. return none if the project root is in the repo root. | STRING |
| HIGH | pipenv/patched/pip/_internal/vcs/versioncontrol.py | 0 | return the path to python project root, relative to the repo root. return none if the project root is in the repo root. | STRING |
| HIGH | pipenv/patched/pip/_internal/commands/download.py | 0 | %prog [options] <requirement specifier> ... %prog [options] -r <requirements file> ... %prog [options] [-e] <vcs project | STRING |
| HIGH | pipenv/patched/pip/_internal/commands/lock.py | 0 | %prog [options] <requirement specifier> ... %prog [options] -r <requirements file> ... %prog [options] [-e] <vcs project | STRING |
| HIGH | pipenv/patched/pip/_internal/commands/install.py | 0 | %prog [options] <requirement specifier> ... %prog [options] -r <requirements file> ... %prog [options] [-e] <vcs project | STRING |
| HIGH | pipenv/patched/pip/_internal/commands/wheel.py | 0 | %prog [options] <requirement specifier> ... %prog [options] -r <requirements file> ... %prog [options] [-e] <vcs project | STRING |
| HIGH | pipenv/patched/pip/_vendor/rich/live.py | 0 | iter_values = iter(values) try: previous_value = next(iter_values) except stopiteration: return for value in iter_values | STRING |
| HIGH | pipenv/patched/pip/_vendor/rich/progress.py | 0 | iter_values = iter(values) try: previous_value = next(iter_values) except stopiteration: return for value in iter_values | STRING |
| HIGH | pipenv/patched/pip/_vendor/rich/__main__.py | 0 | iter_values = iter(values) try: previous_value = next(iter_values) except stopiteration: return for value in iter_values | STRING |
| HIGH | pipenv/patched/pip/_vendor/platformdirs/macos.py | 0 | :return: state directory tied to the user, same as `user_data_dir` | STRING |
| HIGH | pipenv/patched/pip/_vendor/platformdirs/android.py | 0 | :return: state directory tied to the user, same as `user_data_dir` | STRING |
| HIGH | pipenv/patched/pip/_vendor/platformdirs/windows.py | 0 | :return: state directory tied to the user, same as `user_data_dir` | STRING |
| HIGH | pipenv/patched/pip/_vendor/platformdirs/macos.py | 0 | :return: runtime directory shared by users, same as `user_runtime_dir` | STRING |
| HIGH | pipenv/patched/pip/_vendor/platformdirs/android.py | 0 | :return: runtime directory shared by users, same as `user_runtime_dir` | STRING |
| HIGH | pipenv/patched/pip/_vendor/platformdirs/windows.py | 0 | :return: runtime directory shared by users, same as `user_runtime_dir` | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pipenv/shells.py | 201 | os.environ.pop("LINES", None) | COMMENT |
| LOW | pipenv/shells.py | 221 | # sentinel must be consumed *twice* in that drain: once for the shell | COMMENT |
| LOW | pipenv/__version__.py | 1 | # ___ ( ) ___ ___ __ | COMMENT |
| LOW | pipenv/utils/funktools.py | 341 | f"''{fn}''", | COMMENT |
| LOW | pipenv/utils/requirementslib.py | 301 | # in the boltons library by Mahmoud Hashemi and distributed under the BSD license | COMMENT |
| LOW | pipenv/utils/requirementslib.py | 321 | # prior written permission. | COMMENT |
| LOW | pipenv/utils/resolver.py | 421 | constraints.add(dep) | COMMENT |
| LOW | pipenv/utils/resolver.py | 561 | # is disabled. See https://github.com/pypa/pipenv/issues/5715 | COMMENT |
| LOW | pipenv/cli/options.py | 621 | # -h/--help placed *before* run_command triggers help; anything after | COMMENT |
| LOW | pipenv/patched/pip/_internal/pyproject.py | 101 | package=req_name, | COMMENT |
| LOW | pipenv/patched/pip/_internal/network/session.py | 361 | COMMENT | |
| LOW | pipenv/patched/pip/_internal/network/utils.py | 1 | from collections.abc import Generator | COMMENT |
| LOW | pipenv/patched/pip/_internal/network/utils.py | 61 | ) -> Generator[bytes, None, None]: | COMMENT |
| LOW | pipenv/patched/pip/_internal/utils/subprocess.py | 81 | log_failed_cmd: if false, failed commands are not logged, only raised. | COMMENT |
| LOW | pipenv/patched/pip/_internal/utils/packaging.py | 41 | # constructed). This method adds a cache to requirement object creation to | COMMENT |
| LOW | pipenv/patched/pip/_internal/utils/glibc.py | 41 | # manpage says, "If filename is NULL, then the returned handle is for the | COMMENT |
| LOW | pipenv/patched/pip/_internal/utils/glibc.py | 81 | # ('glibc', '2.9') | COMMENT |
| LOW | …nv/patched/pip/_internal/models/installation_report.py | 21 | # record origin.json. | COMMENT |
| LOW | pipenv/patched/pip/_internal/cli/cmdoptions.py | 921 | # command-line, since the option doesn't accept arguments. However, | COMMENT |
| LOW | pipenv/patched/pip/_internal/cli/main.py | 21 | # https://pip.pypa.io/en/stable/user_guide/#using-pip-from-your-program. | COMMENT |
| LOW | pipenv/patched/pip/_internal/operations/prepare.py | 341 | # and raise some more informative errors than otherwise. | COMMENT |
| LOW | …penv/patched/pip/_internal/operations/install/wheel.py | 281 | # a *different* version of Python the entry points will be wrong. The | COMMENT |
| LOW | pipenv/patched/pip/_internal/req/req_install.py | 781 | # over self.req.name, which may be the canonicalised (lowercased) form | COMMENT |
| LOW | pipenv/patched/pip/_internal/locations/__init__.py | 61 | if not _USE_SYSCONFIG: | COMMENT |
| LOW | pipenv/patched/pip/_internal/index/collector.py | 141 | # blindly use any cached data, however the benefit of | COMMENT |
| LOW | pipenv/patched/pip/_internal/commands/cache.py | 241 | # normalized to underscores (_), meaning hyphens can never occur | COMMENT |
| LOW | pipenv/patched/pip/_internal/metadata/pkg_resources.py | 281 | if dist: | COMMENT |
| LOW | pipenv/patched/pip/_internal/distributions/sdist.py | 41 | # Load pyproject.toml | COMMENT |
| LOW | pipenv/patched/pip/_vendor/__init__.py | 21 | # is done to support downstream re-distributors like Debian and Fedora who | COMMENT |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 181 | COMMENT | |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 201 | # answer with what to do in that case. As such, we'll do the only | COMMENT |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 241 | # The various parse_FORMAT functions here are intended to be as lenient as | COMMENT |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 361 | # We use get_all() here, even for fields that aren't multiple use, | COMMENT |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 381 | COMMENT | |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 421 | raw_name = _EMAIL_TO_RAW_MAPPING.get(name) | COMMENT |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 441 | if raw_name in _STRING_FIELDS and len(value) == 1: | COMMENT |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 461 | # The project urls is implemented in the metadata spec as a list of | COMMENT |
| LOW | pipenv/patched/pip/_vendor/packaging/markers.py | 341 | # packaging.requirements.Requirement. If any additional logic is | COMMENT |
| LOW | …env/patched/pip/_vendor/packaging/licenses/__init__.py | 1 | ####################################################################################### | COMMENT |
| LOW | …env/patched/pip/_vendor/packaging/licenses/__init__.py | 21 | # INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A | COMMENT |
| LOW | pipenv/patched/pip/_vendor/truststore/_openssl.py | 21 | _HASHED_CERT_FILENAME_RE = re.compile(r"^[0-9a-fA-F]{8}\.[0-9]$") | COMMENT |
| LOW | pipenv/patched/pip/_vendor/pygments/lexer.py | 681 | #: Dict of ``{'state': [(regex, tokentype, new_state), ...], ...}`` | COMMENT |
| LOW | pipenv/patched/pip/_vendor/distlib/compat.py | 121 | # RFC 6125, section 6.4.3, subitem 1. | COMMENT |
| LOW | pipenv/patched/pip/_vendor/distlib/util.py | 301 | return result | COMMENT |
| LOW | pipenv/patched/pip/_vendor/distlib/scripts.py | 221 | # Issue #51: don't use fsencode, since we later try to | COMMENT |
| LOW | pipenv/patched/pip/_vendor/distro/distro.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | pipenv/patched/pip/_vendor/distro/distro.py | 81 | #: | COMMENT |
| LOW | pipenv/patched/pip/_vendor/requests/sessions.py | 401 | #: Dictionary mapping protocol or protocol and host to the URL of the proxy | COMMENT |
| LOW | pipenv/patched/pip/_vendor/requests/sessions.py | 421 | #: presented by the server, and will ignore hostname mismatches and/or | COMMENT |
| LOW | pipenv/patched/pip/_vendor/requests/models.py | 681 | #: Encoding to decode with when accessing r.text. | COMMENT |
| LOW | pipenv/patched/pip/_vendor/tomli/_parser.py | 21 | from collections.abc import Iterable | COMMENT |
| LOW | pipenv/patched/pip/_vendor/certifi/core.py | 21 | def where() -> str: | COMMENT |
| LOW | pipenv/patched/pip/_vendor/certifi/core.py | 61 | # it in a global variable. | COMMENT |
| LOW | pipenv/patched/pip/_vendor/rich/highlighter.py | 161 | # | COMMENT |
| LOW | pipenv/patched/pip/_vendor/rich/highlighter.py | 181 | # Calendar date with hours, minutes, and seconds (e.g., 2008-08-30 17:21:59 or 20080830 172159). | COMMENT |
| LOW | pipenv/patched/pip/_vendor/urllib3/response.py | 1021 | with self._error_catcher(): | COMMENT |
| LOW | pipenv/patched/pip/_vendor/urllib3/util/wait.py | 1 | from __future__ import annotations | COMMENT |
| LOW | pipenv/patched/pip/_vendor/urllib3/util/response.py | 61 | # we're only interested in the result if it's not a multipart message | COMMENT |
| LOW | docs/workflows.md | 221 | COMMENT | |
| LOW | docs/conf.py | 1 | # | COMMENT |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | pipenv/shells.py | 144 | return "deactivate() { command deactivate 2>/dev/null; unset PIPENV_ACTIVE; }" | CODE |
| HIGH | pipenv/patched/pip/_internal/commands/completion.py | 20 | PIP_AUTO_COMPLETE=1 "$1" 2>/dev/null ) ) | CODE |
| HIGH | pipenv/patched/pip/_internal/commands/completion.py | 29 | PIP_AUTO_COMPLETE=1 $words[1] 2>/dev/null ) | CODE |
| HIGH | pipenv/patched/pip/_vendor/distlib/compat.py | 589 | def new_child(self): # like Django's Context.push() | CODE |
| HIGH | pipenv/patched/pip/_vendor/rich/logging.py | 172 | # Handles pythonw, where stdout/stderr are null, and we return NullFile | COMMENT |
| HIGH | pipenv/patched/pip/_vendor/rich/tree.py | 171 | style_stack.push(get_style(node.style)) | CODE |
| HIGH | pipenv/patched/pip/_vendor/rich/tree.py | 172 | guide_style_stack.push(get_style(node.guide_style)) | CODE |
| HIGH | pipenv/patched/pip/_vendor/rich/highlighter.py | 117 | r"\b(?P<bool_true>true)\b|\b(?P<bool_false>false)\b|\b(?P<null>null)\b", | CODE |
| HIGH | tests/integration/test_run.py | 35 | multicommand = "bash -c \"cd docs && make html\"" | CODE |
| HIGH | tests/integration/test_run.py | 60 | assert script.args == ["-c", "cd docs && make html"] | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | pipenv/patched/pip/_internal/cli/req_command.py | 261 | return pipenv.patched.pip._internal.resolution.resolvelib.resolver.Resolver( | CODE |
| CRITICAL | pipenv/patched/pip/_internal/cli/req_command.py | 276 | return pipenv.patched.pip._internal.resolution.legacy.resolver.Resolver( | CODE |
| CRITICAL | pipenv/patched/pip/_internal/commands/debug.py | 189 | show_value("pipenv.patched.pip._vendor.certifi.where()", where()) | CODE |
| CRITICAL | pipenv/patched/pip/_vendor/pygments/sphinxext.py | 87 | self.state.document.settings.record_dependencies.add(fn) | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pipenv/shells.py | 120 | # For now, return empty as nu has different paradigm | COMMENT |
| MEDIUM | pipenv/utils/markers.py | 554 | # Essentially we will iterate over each side of the parsed marker if either one is | COMMENT |
| LOW | pipenv/patched/pip/_internal/network/auth.py | 500 | # We are not able to prompt the user so simply return the response | COMMENT |
| MEDIUM | pipenv/patched/pip/_internal/network/session.py | 84 | # CI traffic to PyPI. Thus, it is okay if the list is not comprehensive. | COMMENT |
| LOW | pipenv/patched/pip/_internal/cli/parser.py | 170 | # If its not a list, we should abort and just return the help text | COMMENT |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 214 | # is unparsable, and we can just add the whole thing to our | COMMENT |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 410 | # This is already a string, so just add it. | COMMENT |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 439 | # what we should parse it as, and we have to just add it to our list | COMMENT |
| LOW | pipenv/patched/pip/_vendor/packaging/specifiers.py | 995 | # version. If it's not we can short circuit and just return False now | COMMENT |
| LOW | pipenv/patched/pip/_vendor/packaging/specifiers.py | 1020 | # version. If it's not we can short circuit and just return False now | COMMENT |
| LOW | pipenv/patched/pip/_vendor/packaging/specifiers.py | 1424 | # then we'll just return None since we don't know if this should have | COMMENT |
| LOW | pipenv/patched/pip/_vendor/distlib/compat.py | 253 | # what file suffixes are executable, so just pass on cmd as-is. | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/requests/sessions.py | 681 | # Set defaults that the hooks can utilize to ensure they always have | STRING |
| LOW | pipenv/patched/pip/_vendor/requests/models.py | 635 | # method. To prevent iterating over None, simply use an empty list | COMMENT |
| LOW | pipenv/patched/pip/_vendor/requests/utils.py | 448 | # a UNC path, then just return the value without quotes. Using the | STRING |
| LOW | pipenv/patched/pip/_vendor/certifi/core.py | 70 | # file, it will just return the file system location and the | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/urllib3/exceptions.py | 251 | """Response needs to be chunked in order to read it as chunks.""" | STRING |
| LOW | pipenv/patched/pip/_vendor/pkg_resources/__init__.py | 2 | # For now we'd simply use implicit Any/Unknown which would add redundant annotations | COMMENT |
| MEDIUM⚡ | tests/unit/test_core.py | 208 | # Test nushell - returns empty for now (different paradigm) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/integration/test_upgrade.py | 64 | # Step 1: Install initial dependency version | STRING |
| LOW⚡ | tests/integration/test_upgrade.py | 75 | # Step 2: Update Pipfile to allow any version of google-api-core | STRING |
| LOW⚡ | tests/integration/test_upgrade.py | 84 | # Step 3: Update protobuf to an incompatible version | STRING |
| LOW⚡ | tests/integration/test_upgrade.py | 88 | # Step 4: Check the lockfile for incompatible dependencies | STRING |
| LOW⚡ | tests/integration/test_upgrade.py | 101 | # Step 5: Run pipenv lock to check for dependency resolution errors | STRING |
| LOW⚡ | tests/integration/test_dot_venv.py | 188 | # Step 1: create the pipenv-managed virtualenv in WORKON_HOME. | COMMENT |
| LOW⚡ | tests/integration/test_dot_venv.py | 197 | # Step 2: user independently creates a .venv dir in the project root. | COMMENT |
| LOW⚡ | tests/integration/test_dot_venv.py | 201 | # Step 3: `--venv` should still report the pipenv-managed venv. | COMMENT |
| LOW⚡ | tests/integration/test_dot_venv.py | 209 | # Step 4: `--rm` must remove the pipenv-managed venv, not .venv. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pipenv/patched/pip/_internal/utils/unpacking.py | 320 | # NOTE: This function can be removed once pip requires CPython ≥ 3.12. | COMMENT |
| LOW | …/patched/pip/_vendor/cachecontrol/caches/file_cache.py | 59 | # NOTE: This method should not change as some may depend on it. | COMMENT |
| LOW⚡ | tests/integration/test_upgrade.py | 64 | # Step 1: Install initial dependency version | STRING |
| LOW⚡ | tests/integration/test_upgrade.py | 75 | # Step 2: Update Pipfile to allow any version of google-api-core | STRING |
| LOW⚡ | tests/integration/test_upgrade.py | 84 | # Step 3: Update protobuf to an incompatible version | STRING |
| LOW⚡ | tests/integration/test_upgrade.py | 88 | # Step 4: Check the lockfile for incompatible dependencies | STRING |
| LOW⚡ | tests/integration/test_upgrade.py | 101 | # Step 5: Run pipenv lock to check for dependency resolution errors | STRING |
| LOW⚡ | tests/integration/test_dot_venv.py | 188 | # Step 1: create the pipenv-managed virtualenv in WORKON_HOME. | COMMENT |
| LOW⚡ | tests/integration/test_dot_venv.py | 197 | # Step 2: user independently creates a .venv dir in the project root. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pipenv/routines/scan.py | 131 | global_options.append("--key=dummy-key") | CODE |
| LOW | pipenv/patched/pip/_internal/req/constructors.py | 73 | return get_requirement("placeholder" + extras.lower()).extras | CODE |
| LOW | pipenv/patched/pip/_internal/req/constructors.py | 135 | get_requirement("placeholder" + extras.lower()).extras, | CODE |
| LOW | pipenv/patched/pip/_internal/req/constructors.py | 150 | get_requirement("placeholder" + extras.lower()).extras, | CODE |
| LOW | pipenv/patched/pip/_vendor/rich/text.py | 1340 | """\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolo | STRING |
| LOW | pipenv/patched/pip/_vendor/rich/text.py | 1340 | """\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolo | STRING |
| LOW | pipenv/patched/pip/_vendor/rich/__main__.py | 71 | lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque in metus sed sapien ultricies pretium a at | CODE |
| LOW | pipenv/patched/pip/_vendor/rich/__main__.py | 71 | lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque in metus sed sapien ultricies pretium a at | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pipenv/patched/pip/_vendor/packaging/markers.py | 342 | # added here, make sure to mirror/adapt Requirement. | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/distlib/util.py | 1528 | # you can use the following handler class, which does not allow HTTP traffic. | STRING |
| LOW | pipenv/patched/pip/_vendor/urllib3/response.py | 1152 | # TODO make sure to initially read enough data to get past the headers | COMMENT |
| MEDIUM | pipenv/patched/pip/_vendor/urllib3/util/wait.py | 12 | # There are two types of APIs you can use for waiting on sockets: the fancy | COMMENT |