AI Slop Code RIsk Monitor

pypa/pipenv

Python Development Workflow for Humans.

26.0 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for pypa/pipenv, a Python project with 25,025 GitHub stars. SynthScan examined 242,678 lines of code across 661 source files, recording 4332 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 26.0 (Elevated 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.

26.0
Adjusted Signal
26.0
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
25.0K
Stars
Python
Language
242.7K
Lines of Code
661
Files
4.3K
Pattern Hits
2026-10-12
Scan Date
0.30
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 40.6/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 2573 finding(s).

Hallucinated Dependency & Supply Chain Risk 13.6/100 · LOW

Are imports declared and package/API names verified? 692 finding(s).

Agent Over-Engineering Ratio 61.7/100 · HIGH

Are wrappers, guards, and repeated structures necessary? 2968 finding(s).

PR Review Velocity Impact 74.3/100 · HIGH

Which changes need focused human review? 4332 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 4HIGH 195MEDIUM 629LOW 3504

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 4332 distinct pattern matches across 21 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.

Decorative Section Separators511 hits · 1835 pts
SeverityFileLineSnippetContext
MEDIUMpipenv/utils/pipfile.py554# ============================================================================COMMENT
MEDIUMpipenv/utils/pipfile.py556# ============================================================================COMMENT
MEDIUM⚡pipenv/utils/resolver.py1455# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡pipenv/utils/resolver.py1457# ---------------------------------------------------------------------------COMMENT
MEDIUMpipenv/utils/resolver.py1678 # ------------------------------------------------------------COMMENT
MEDIUMpipenv/utils/resolver.py1682 # ------------------------------------------------------------COMMENT
MEDIUM⚡pipenv/cli/options.py881 # ── scripts ───────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡pipenv/cli/options.py888 # ── verify ────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡pipenv/cli/options.py894 # ── requirements ──────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py96# ── Argument-adder functions (argparse) ──────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py98# ── Individual argument-adder functions ──────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py373# ── Option group composers ────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py441# ── PIPENV_ environment variable overlay ─────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py496# ── Main parser factory ───────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py594 # ── install ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py606 # ── remove ───────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py612 # ── upgrade ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py624 # ── uninstall ─────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py647 # ── lock ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py652 # ── shell ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py678 # ── activate ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py688 # ── run ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py718 # ── check ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py778 # ── audit ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py815 # ── update ────────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py831 # ── graph ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py843 # ── open ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py851 # ── sync ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py869 # ── clean ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py916 # ── pylock ────────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py933# ── State builder (argparse Namespace → State) ────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py947 # ── Global / common fields ───────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py968 # ── Validation ───────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py985 # ── Verbosity ────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py997 # ── InstallState ─────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py1022 # ── LockOptions ──────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/command.py733 # ── Root-level (no subcommand) ────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/command.py820 # ── Subcommand --help ─────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/command.py833 # ── Dispatch ──────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡pipenv/routines/lock.py122 # ------------------------------------------------------------------COMMENT
MEDIUM⚡pipenv/routines/lock.py126 # ------------------------------------------------------------------COMMENT
MEDIUM⚡pipenv/routines/lock.py157 # ------------------------------------------------------------------COMMENT
MEDIUM⚡pipenv/routines/lock.py161 # ------------------------------------------------------------------COMMENT
MEDIUM⚡pipenv/routines/lock.py180 # ------------------------------------------------------------------COMMENT
MEDIUM⚡pipenv/routines/lock.py186 # ------------------------------------------------------------------COMMENT
MEDIUM…env/patched/pip/_vendor/packaging/dependency_groups.py23# -----------COMMENT
MEDIUM…env/patched/pip/_vendor/packaging/dependency_groups.py25# -----------COMMENT
MEDIUM…env/patched/pip/_vendor/packaging/dependency_groups.py64# ------------------------COMMENT
MEDIUM…env/patched/pip/_vendor/packaging/dependency_groups.py66# ------------------------COMMENT
MEDIUM⚡…env/patched/pip/_vendor/packaging/dependency_groups.py250# --------------------COMMENT
MEDIUM⚡…env/patched/pip/_vendor/packaging/dependency_groups.py252# --------------------COMMENT
MEDIUM…env/patched/pip/_vendor/packaging/dependency_groups.py269# ----------------COMMENT
MEDIUM…env/patched/pip/_vendor/packaging/dependency_groups.py271# ----------------COMMENT
MEDIUMpipenv/patched/pip/_vendor/packaging/_parser.py95# --------------------------------------------------------------------------------------COMMENT
MEDIUMpipenv/patched/pip/_vendor/packaging/_parser.py97# --------------------------------------------------------------------------------------COMMENT
MEDIUMpipenv/patched/pip/_vendor/packaging/_parser.py289# --------------------------------------------------------------------------------------COMMENT
MEDIUMpipenv/patched/pip/_vendor/packaging/_parser.py291# --------------------------------------------------------------------------------------COMMENT
MEDIUMpipenv/patched/pip/_vendor/pygments/lexer.py325# ------------------------------------------------------------------------------COMMENT
MEDIUMpipenv/patched/pip/_vendor/requests/compat.py30# -------------------COMMENT
MEDIUMpipenv/patched/pip/_vendor/requests/compat.py32# -------------------COMMENT
451 more matches not shown…
Hyper-Verbose Identifiers1815 hits · 1504 pts
SeverityFileLineSnippetContext
LOWtasks/vendoring/__init__.py222def _ensure_package_in_requirements(ctx, requirements_file, package):CODE
LOWtasks/vendoring/__init__.py387def packages_missing_licenses(CODE
LOWtasks/vendoring/__init__.py646def unpin_and_copy_requirements(ctx, requirement_file, name="requirements.txt"):CODE
LOWtasks/vendoring/__init__.py676def unpin_and_update_vendored(ctx, vendor=False, patched=True):CODE
LOWpipenv/shells.py86def _get_deactivate_wrapper_script(cmd):CODE
LOWpipenv/installers.py79 def _find_python_installer_by_name_and_env(name, env_var):CODE
LOWpipenv/installers.py134 def iter_installable_versions(self):CODE
LOWpipenv/installers.py185 def iter_installable_versions(self):CODE
LOWpipenv/installers.py212 def iter_installable_versions(self):CODE
LOWpipenv/installers.py292 def iter_installable_versions(self):CODE
LOWpipenv/environment.py630 def _get_requirements_for_package(cls, node, key_tree, parent=None, chain=None):CODE
LOWpipenv/utils/pipfile.py132def _normalize_package_name_case(value) -> str:CODE
LOWpipenv/utils/internet.py157def _strip_credentials_from_url(CODE
LOWpipenv/utils/internet.py186def _read_existing_netrc_content() -> str:CODE
LOWpipenv/utils/pylock.py597 def get_packages_for_environment(CODE
LOWpipenv/utils/pylock.py650 def convert_to_pipenv_lockfile(self) -> Dict[str, Any]:CODE
LOWpipenv/utils/sources.py70 def get_requests_session_for_source(self, source):CODE
LOWpipenv/utils/sources.py141 def get_hashes_from_remote_index_urls(self, ireq, source):CODE
LOWpipenv/utils/locking.py160 >>> def raise_exception_while_writing(filename):STRING
LOWpipenv/utils/locking.py170 >>> def raise_exception_while_writing(filename):STRING
LOW⚡pipenv/utils/resolver.py1464def _resolve_deadline_seconds(project) -> float:CODE
LOWpipenv/utils/resolver.py73def _is_python_version_specifier(value):CODE
LOWpipenv/utils/resolver.py81def _get_pipfile_python_override(project):CODE
LOWpipenv/utils/resolver.py150def _patched_marker_environment(override):CODE
LOWpipenv/utils/resolver.py168 def _patched_default_environment():CODE
LOWpipenv/utils/resolver.py378 def check_if_package_req_skipped(CODE
LOWpipenv/utils/resolver.py662 def parsed_default_constraints(self):CODE
LOWpipenv/utils/resolver.py1144def _generate_resolution_cache_key(CODE
LOWpipenv/utils/resolver.py1216def _should_use_resolution_cache(cache_key, clear):CODE
LOWpipenv/utils/resolver.py1505def _selected_backend_for_request(project, resolver_backend=None):CODE
LOWpipenv/utils/resolver.py1802def _dispatch_resolver_response(response, st):CODE
LOWpipenv/utils/resolver.py1836def _normalize_resolver_results(results):CODE
LOWpipenv/utils/markers.py212def get_sorted_version_string(version_set):CODE
LOWpipenv/utils/markers.py410def _markers_collect_pyversions(markers, collection):CODE
LOWpipenv/utils/markers.py429def _markers_contains_pyversion(markers):CODE
LOWpipenv/utils/markers.py522def _get_specifiers_from_markers(marker_item):CODE
LOWpipenv/utils/virtualenv.py473def _find_python_for_specifier(specifier_str, pyenv_only=False):CODE
LOWpipenv/utils/virtualenv.py512def find_python_from_py_launcher(version):CODE
LOWpipenv/utils/virtualenv.py644def inline_activate_virtual_environment(project):CODE
LOWpipenv/utils/virtualenv.py679def _inline_activate_virtualenv(project):CODE
LOWpipenv/utils/project.py13def _python_version_matches_required(actual_ver_str, required_ver_str):CODE
LOW⚡pipenv/utils/dependencies.py97def get_lockfile_section_using_pipfile_category(category):CODE
LOW⚡pipenv/utils/dependencies.py105def get_pipfile_category_using_lockfile_section(category):CODE
LOW⚡pipenv/utils/dependencies.py1510def get_constraints_from_deps(deps):CODE
LOWpipenv/utils/dependencies.py257def add_ssh_scheme_to_git_uri(uri: str | bytes | None) -> str | bytes | None:CODE
LOWpipenv/utils/dependencies.py289def _file_url_to_relative_path(file_url, base_dir):CODE
LOWpipenv/utils/dependencies.py510def dependency_as_pip_install_line(CODE
LOWpipenv/utils/dependencies.py773def find_package_name_from_tarball(tarball_filepath):CODE
LOWpipenv/utils/dependencies.py786def find_package_name_from_zipfile(zip_filepath):CODE
LOWpipenv/utils/dependencies.py799def find_package_name_from_directory(directory):CODE
LOWpipenv/utils/dependencies.py954def determine_vcs_revision_hash(CODE
LOWpipenv/utils/dependencies.py1038def find_package_name_from_filename(filename, file):CODE
LOWpipenv/utils/dependencies.py1165def expansive_install_req_from_line(CODE
LOWpipenv/utils/dependencies.py1276def normalize_editable_path_for_pip(path_str):CODE
LOWpipenv/utils/dependencies.py1462def handle_non_vcs_requirement(CODE
LOWpipenv/utils/dependencies.py1541def get_constraints_from_resolved_deps(resolved_deps):CODE
LOWpipenv/utils/dependencies.py1787def add_index_to_pipfile_with_trust_check(project, index, trusted_hosts=None):CODE
LOWpipenv/utils/dependencies.py1806def requirement_from_lockfile(CODE
LOWpipenv/utils/dependencies.py1894def requirements_from_lockfile(deps, include_hashes=True, include_markers=True):CODE
LOWpipenv/utils/dependencies.py2019def requirements_from_pipfile(deps, include_markers=True):CODE
1755 more matches not shown…
Empty Error Handlers136 hits · 680 pts
SeverityFileLineSnippetContext
HIGHpipenv/shells.py240except Exception:CODE
HIGHpipenv/shells.py267except Exception:CODE
HIGHpipenv/help.py27except ImportError:CODE
HIGHpipenv/utils/funktools.py164except (PermissionError, FileNotFoundError):CODE
HIGHpipenv/utils/funktools.py199except (subprocess.SubprocessError, FileNotFoundError):CODE
HIGHpipenv/utils/funktools.py269except OSError:CODE
HIGHpipenv/utils/funktools.py372except AttributeError: # noqa: PERF203CODE
HIGHpipenv/utils/internet.py280except OSError:CODE
HIGHpipenv/utils/internet.py285except OSError:CODE
HIGHpipenv/utils/lockfile.py171except Exception:CODE
HIGHpipenv/utils/lockfile.py181except Exception:CODE
HIGHpipenv/utils/pylock.py641except InvalidMarker:CODE
HIGHpipenv/utils/shell.py132except KeyError:CODE
HIGHpipenv/utils/shell.py384except (OSError, ValueError):CODE
HIGHpipenv/utils/shell.py600except AttributeError:CODE
HIGHpipenv/utils/locking.py216except OSError:CODE
HIGHpipenv/utils/locking.py529except Exception:CODE
HIGHpipenv/utils/resolver.py256except ImportError:CODE
HIGHpipenv/utils/resolver.py1376except Exception:CODE
HIGHpipenv/utils/resolver.py1380except Exception:CODE
HIGHpipenv/utils/markers.py64except RequirementError:CODE
HIGHpipenv/utils/prefetch.py428except Exception: # noqa: BLE001CODE
HIGHpipenv/utils/virtualenv.py567except Exception:CODE
HIGHpipenv/utils/virtualenv.py498except Exception:CODE
HIGHpipenv/utils/project.py39except InvalidSpecifier:CODE
HIGHpipenv/utils/project.py128except Exception:CODE
HIGHpipenv/utils/dependencies.py746except ValueError:CODE
HIGHpipenv/utils/dependencies.py861except (FileNotFoundError, PermissionError):CODE
HIGHpipenv/utils/dependencies.py340except TypeError:CODE
HIGHpipenv/utils/dependencies.py333except TypeError:CODE
HIGHpipenv/utils/dependencies.py1006except PermissionError:CODE
HIGHpipenv/cli/options.py490except ValueError:CODE
HIGHpipenv/cli/command.py699except ImportError:CODE
HIGHpipenv/routines/check.py395except Exception:CODE
HIGHpipenv/routines/uninstall.py166except KeyError:CODE
HIGHpipenv/routines/lock.py40except Exception: # noqa: BLE001 — defensive; never block the resolve.CODE
HIGHpipenv/routines/lock.py241except Exception:CODE
HIGHpipenv/routines/lock.py261except Exception:CODE
HIGHpipenv/routines/scan.py429except Exception:CODE
HIGHpipenv/routines/outdated.py40except InvalidWheelFilename:CODE
HIGHpipenv/patched/pip/_internal/exceptions.py885except KeyError:CODE
HIGHpipenv/patched/pip/_internal/exceptions.py366except IndexError:CODE
HIGHpipenv/patched/pip/_internal/self_outdated_check.py127except OSError:CODE
HIGHpipenv/patched/pip/_internal/self_outdated_check.py66except (OSError, ValueError, KeyError):CODE
HIGHpipenv/patched/pip/_internal/network/auth.py192except ImportError:CODE
HIGHpipenv/patched/pip/_internal/network/auth.py227except FileNotFoundError:CODE
HIGHpipenv/patched/pip/_internal/network/session.py160except Exception:CODE
HIGHpipenv/patched/pip/_internal/network/cache.py35except OSError:CODE
HIGHpipenv/patched/pip/_internal/network/lazy_wheel.py168except BadZipFile:CODE
HIGHpipenv/patched/pip/_internal/utils/misc.py147except (AttributeError, TypeError, IndexError):CODE
HIGHpipenv/patched/pip/_internal/utils/misc.py201except OSError:CODE
HIGHpipenv/patched/pip/_internal/utils/misc.py384except OSError:CODE
HIGHpipenv/patched/pip/_internal/utils/misc.py208except OSError:CODE
HIGHpipenv/patched/pip/_internal/utils/compat.py22except ImportError:CODE
HIGHpipenv/patched/pip/_internal/utils/filesystem.py104except FileExistsError:CODE
HIGHpipenv/patched/pip/_internal/cli/base_command.py147except OSError:CODE
HIGHpipenv/patched/pip/_internal/operations/prepare.py105except OSError:CODE
HIGHpipenv/patched/pip/_internal/req/req_install.py799except Exception:CODE
HIGHpipenv/patched/pip/_internal/req/req_uninstall.py569except (FileNotFoundError, NotADirectoryError):CODE
HIGHpipenv/patched/pip/_internal/req/req_uninstall.py237except KeyError:CODE
76 more matches not shown…
Unused Imports671 hits · 614 pts
SeverityFileLineSnippetContext
LOWpipenv/__init__.py31CODE
LOWpipenv/environment.py1CODE
LOWpipenv/project.py1CODE
LOWpipenv/utils/venv_locator.py31CODE
LOWpipenv/utils/pipfile.py79CODE
LOWpipenv/utils/lockfile.py49CODE
LOWpipenv/utils/__init__.py4CODE
LOWpipenv/utils/sources.py22CODE
LOWpipenv/utils/indexes.py1CODE
LOWpipenv/utils/settings.py17CODE
LOWpipenv/utils/prefetch.py54CODE
LOWpipenv/cli/__init__.py1CODE
LOWpipenv/routines/context.py12CODE
LOWpipenv/patched/pip/__init__.py1CODE
LOWpipenv/patched/pip/_internal/configuration.py14CODE
LOWpipenv/patched/pip/_internal/pyproject.py1CODE
LOWpipenv/patched/pip/_internal/cache.py3CODE
LOWpipenv/patched/pip/_internal/__init__.py1CODE
LOWpipenv/patched/pip/_internal/exceptions.py8CODE
LOWpipenv/patched/pip/_internal/main.py1CODE
LOWpipenv/patched/pip/_internal/wheel_builder.py3CODE
LOWpipenv/patched/pip/_internal/self_outdated_check.py1CODE
LOWpipenv/patched/pip/_internal/build_env/virtual.py1CODE
LOWpipenv/patched/pip/_internal/build_env/__init__.py3CODE
LOWpipenv/patched/pip/_internal/build_env/__init__.py3CODE
LOWpipenv/patched/pip/_internal/build_env/__init__.py3CODE
LOWpipenv/patched/pip/_internal/build_env/__init__.py8CODE
LOWpipenv/patched/pip/_internal/build_env/__init__.py8CODE
LOWpipenv/patched/pip/_internal/build_env/__init__.py12CODE
LOWpipenv/patched/pip/_internal/build_env/__init__.py13CODE
LOWpipenv/patched/pip/_internal/build_env/__init__.py14CODE
LOWpipenv/patched/pip/_internal/build_env/venv.py1CODE
LOWpipenv/patched/pip/_internal/build_env/installer.py1CODE
LOWpipenv/patched/pip/_internal/build_env/noop.py1CODE
LOWpipenv/patched/pip/_internal/build_env/base.py1CODE
LOWpipenv/patched/pip/_internal/network/auth.py7CODE
LOWpipenv/patched/pip/_internal/network/xmlrpc.py13CODE
LOWpipenv/patched/pip/_internal/network/xmlrpc.py13CODE
LOWpipenv/patched/pip/_internal/network/xmlrpc.py15CODE
LOWpipenv/patched/pip/_internal/network/download.py3CODE
LOWpipenv/patched/pip/_internal/network/session.py5CODE
LOWpipenv/patched/pip/_internal/network/cache.py3CODE
LOWpipenv/patched/pip/_internal/network/lazy_wheel.py3CODE
LOWpipenv/patched/pip/_internal/utils/logging.py1CODE
LOWpipenv/patched/pip/_internal/utils/misc.py1CODE
LOWpipenv/patched/pip/_internal/utils/egg_link.py1CODE
LOWpipenv/patched/pip/_internal/utils/compat.py85CODE
LOWpipenv/patched/pip/_internal/utils/compat.py87CODE
LOWpipenv/patched/pip/_internal/utils/compat.py19CODE
LOWpipenv/patched/pip/_internal/utils/deprecation.py5CODE
LOWpipenv/patched/pip/_internal/utils/pylock.py1CODE
LOWpipenv/patched/pip/_internal/utils/subprocess.py1CODE
LOWpipenv/patched/pip/_internal/utils/filesystem.py1CODE
LOW…penv/patched/pip/_internal/utils/direct_url_helpers.py1CODE
LOWpipenv/patched/pip/_internal/utils/temp_dir.py1CODE
LOWpipenv/patched/pip/_internal/utils/retry.py1CODE
LOWpipenv/patched/pip/_internal/utils/packaging.py1CODE
LOWpipenv/patched/pip/_internal/utils/entrypoints.py1CODE
LOW…penv/patched/pip/_internal/utils/compatibility_tags.py3CODE
LOWpipenv/patched/pip/_internal/utils/hashes.py1CODE
611 more matches not shown…
Deep Nesting312 hits · 288 pts
SeverityFileLineSnippetContext
LOWtasks/vendoring/__init__.py114CODE
LOWtasks/vendoring/__init__.py139CODE
LOWtasks/vendoring/__init__.py222CODE
LOWtasks/vendoring/__init__.py246CODE
LOWtasks/vendoring/__init__.py387CODE
LOWtasks/vendoring/__init__.py440CODE
LOWpipenv/shells.py40CODE
LOWpipenv/shells.py86CODE
LOWpipenv/environment.py160CODE
LOWpipenv/environment.py696CODE
LOWpipenv/environment.py740CODE
LOWpipenv/exceptions.py79CODE
LOWpipenv/exceptions.py435CODE
LOWpipenv/exceptions.py331CODE
LOWpipenv/exceptions.py398CODE
LOWpipenv/project.py419CODE
LOWpipenv/utils/venv_locator.py125CODE
LOWpipenv/utils/pipfile.py210CODE
LOWpipenv/utils/pipfile.py467CODE
LOWpipenv/utils/pipfile.py851CODE
LOWpipenv/utils/pipfile.py970CODE
LOWpipenv/utils/pipfile.py1126CODE
LOWpipenv/utils/funktools.py98CODE
LOWpipenv/utils/funktools.py138CODE
LOWpipenv/utils/funktools.py244CODE
LOWpipenv/utils/funktools.py285CODE
LOWpipenv/utils/funktools.py390CODE
LOWpipenv/utils/pylock.py47CODE
LOWpipenv/utils/pylock.py214CODE
LOWpipenv/utils/pylock.py265CODE
LOWpipenv/utils/pylock.py422CODE
LOWpipenv/utils/pylock.py597CODE
LOWpipenv/utils/sources.py141CODE
LOWpipenv/utils/indexes.py16CODE
LOWpipenv/utils/locking.py45CODE
LOWpipenv/utils/locking.py264CODE
LOWpipenv/utils/locking.py475CODE
LOWpipenv/utils/resolver.py1308CODE
LOWpipenv/utils/resolver.py1610CODE
LOWpipenv/utils/resolver.py2133CODE
LOWpipenv/utils/resolver.py391CODE
LOWpipenv/utils/resolver.py848CODE
LOWpipenv/utils/resolver.py1336CODE
LOWpipenv/utils/markers.py559CODE
LOWpipenv/utils/environment.py9CODE
LOWpipenv/utils/prefetch.py71CODE
LOWpipenv/utils/prefetch.py298CODE
LOWpipenv/utils/pip.py18CODE
LOWpipenv/utils/virtualenv.py51CODE
LOWpipenv/utils/virtualenv.py215CODE
LOWpipenv/utils/virtualenv.py292CODE
LOWpipenv/utils/virtualenv.py473CODE
LOWpipenv/utils/project.py61CODE
LOWpipenv/utils/dependencies.py316CODE
LOWpipenv/utils/dependencies.py440CODE
LOWpipenv/utils/dependencies.py510CODE
LOWpipenv/utils/dependencies.py679CODE
LOWpipenv/utils/dependencies.py773CODE
LOWpipenv/utils/dependencies.py786CODE
LOWpipenv/utils/dependencies.py799CODE
252 more matches not shown…
Self-Referential Comments88 hits · 252 pts
SeverityFileLineSnippetContext
MEDIUMpipenv/utils/venv_locator.py307 # Create the directory, if it doesn't exist.COMMENT
MEDIUMpipenv/utils/pipfile.py194 # Create a Path object for the potential PipfileCOMMENT
MEDIUMpipenv/utils/pipfile.py232 # Create a Pipfile...COMMENT
MEDIUMpipenv/utils/pipfile.py255 # Create the pipfile if it doesn't exist.COMMENT
MEDIUMpipenv/utils/pylock.py88 # Create the basic pylock.toml structureCOMMENT
MEDIUMpipenv/utils/pylock.py309 # Create the basic pylock.toml structureCOMMENT
MEDIUMpipenv/utils/pylock.py430 # Create a deep copy of the data to avoid modifying the originalCOMMENT
MEDIUMpipenv/utils/pylock.py656 # Create the basic structureCOMMENT
MEDIUMpipenv/utils/pylock.py713 # Create the package entryCOMMENT
MEDIUMpipenv/utils/fileutils.py122 # Create an absolute pathCOMMENT
MEDIUMpipenv/utils/fileutils.py192 # Creating a buffer-like objectCOMMENT
MEDIUMpipenv/utils/shell.py88 # Create a PurePath which won't access the filesystemCOMMENT
MEDIUMpipenv/utils/resolver.py1185 # Create a deterministic representation of dependenciesCOMMENT
MEDIUM⚡pipenv/utils/dependencies.py1504 # Create the Requirement instanceCOMMENT
MEDIUM⚡pipenv/utils/dependencies.py1518 # Creating a constraint as a canonical name plus a version specifierCOMMENT
MEDIUMpipenv/utils/dependencies.py934 # Create a temporary directory using mkdtempCOMMENT
MEDIUMpipenv/routines/lock.py352 # Create the lockfile.COMMENT
MEDIUMpipenv/patched/pip/_internal/req/constructors.py191 # Create a steppable iterator, so we can handle \-continuations.COMMENT
MEDIUMpipenv/patched/pip/_internal/commands/list.py245 # Create a set to remove duplicate packages, and cast it to a listCOMMENT
MEDIUMpipenv/patched/pip/_internal/commands/install.py426 # Create a target directory for using with the target optionCOMMENT
MEDIUMpipenv/patched/pip/_vendor/__init__.py26# Define a small helper function to alias our vendored modules to the real onesCOMMENT
MEDIUMpipenv/patched/pip/_vendor/packaging/tags.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMpipenv/patched/pip/_vendor/packaging/metadata.py290# This class is for writing RFC822 messagesCOMMENT
MEDIUMpipenv/patched/pip/_vendor/packaging/metadata.py307# This class is for writing RFC822 messagesCOMMENT
MEDIUMpipenv/patched/pip/_vendor/packaging/version.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMpipenv/patched/pip/_vendor/packaging/__init__.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMpipenv/patched/pip/_vendor/packaging/utils.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMpipenv/patched/pip/_vendor/packaging/requirements.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMpipenv/patched/pip/_vendor/packaging/_structures.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMpipenv/patched/pip/_vendor/packaging/markers.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMpipenv/patched/pip/_vendor/packaging/specifiers.py1# This file is dual licensed under the terms of the Apache License, VersionCOMMENT
MEDIUMpipenv/patched/pip/_vendor/truststore/_windows.py528 # Create a custom cert chain engine which exclusively trustsCOMMENT
MEDIUMpipenv/patched/pip/_vendor/distlib/util.py1603 # The above classes only come into play if a timeoutSTRING
MEDIUMpipenv/patched/pip/_vendor/idna/idnadata.py1# This file is automatically generated by tools/idna-dataCOMMENT
MEDIUMpipenv/patched/pip/_vendor/idna/uts46data.py1# This file is automatically generated by tools/idna-dataCOMMENT
MEDIUMpipenv/patched/pip/_vendor/requests/sessions.py622 # Create the Request.COMMENT
MEDIUM…pip/_vendor/pyproject_hooks/_in_process/_in_process.py27# This file is run as a script, and `import wrappers` is not zip-safe, so weCOMMENT
MEDIUMpipenv/patched/pip/_vendor/rich/console.py2014 """This function is called when a `BrokenPipeError` is raised.STRING
MEDIUMpipenv/patched/pip/_vendor/urllib3/util/url.py266 output = [] # Initialize the variable to use to store outputCODE
MEDIUMpipenv/patched/pip/_vendor/urllib3/util/connection.py23# This function is copied from socket.py in the Python 2.7 standardCOMMENT
MEDIUMpipenv/patched/pip/_vendor/urllib3/util/connection.py104 """This function is designed to work in the context ofSTRING
MEDIUMpipenv/patched/pip/_vendor/urllib3/http2/probe.py66 """This function is for testing purposes only. Gets the current state of the probe cache"""STRING
MEDIUMpipenv/patched/pip/_vendor/urllib3/http2/probe.py71 """This function is for testing purposes only. Reset the cache values"""STRING
MEDIUM…patched/pip/_vendor/resolvelib/resolvers/resolution.py254 # Create a new state from the last known-to-work one, and applyCOMMENT
MEDIUM⚡tests/unit/test_utils.py746 # Create a package directory structureCOMMENT
MEDIUM⚡tests/unit/test_utils.py750 # Create a proper setup.py in the root with a parseable nameCOMMENT
MEDIUM⚡tests/unit/test_utils.py756 # Create a tests subdirectory with a file that has a setup() callCOMMENT
MEDIUMtests/unit/test_utils.py776 # Create a package directory structureCOMMENT
MEDIUMtests/unit/test_utils.py822 # Create a mock configuration that returns index-urlCOMMENT
MEDIUMtests/unit/test_utils.py2214 # Create the virtualenv dir so .project file write succeedsCOMMENT
MEDIUMtests/unit/test_utils_windows_executable.py8# This module is run only on Windows.COMMENT
MEDIUMtests/unit/test_core.py724 # Create a fake subprocess result that succeedsCOMMENT
MEDIUMtests/unit/test_pylock.py201 # Create a simple Pipfile.lockCOMMENT
MEDIUMtests/unit/test_pylock.py328 # Create a simple PylockFileCOMMENT
MEDIUMtests/unit/test_pylock.py395 # Create a pylock file with various markers using PEP 751 syntaxCOMMENT
MEDIUMtests/unit/test_pylock.py245 # Create a PylockFile from the Pipfile.lockSTRING
MEDIUMtests/unit/test_pylock.py270 # Create a Pipfile.lock with a wildcard versionSTRING
MEDIUMtests/unit/test_pylock.py297 # Create a PylockFile from the Pipfile.lockSTRING
MEDIUMtests/unit/test_pylock.py622 # Create a minimal Pipfile (needed for Project to initialize)STRING
MEDIUMtests/unit/test_pylock.py636 # Create a pylock.toml but no Pipfile.lockSTRING
28 more matches not shown…
Excessive Try-Catch Wrapping208 hits · 218 pts
SeverityFileLineSnippetContext
MEDIUMtasks/vendoring/__init__.py735 print(f"Error downloading {link}")CODE
LOWpipenv/shells.py240 except Exception:CODE
LOWpipenv/shells.py267 except Exception:CODE
LOWpipenv/environment.py191 except Exception:CODE
LOWpipenv/environment.py667 except Exception as e:CODE
MEDIUMpipenv/exceptions.py26 print(f"Error: {self.format_message()}", file=file)CODE
LOWpipenv/utils/pipfile.py161 except Exception:CODE
LOWpipenv/utils/pipfile.py240 except Exception:CODE
LOWpipenv/utils/pipfile.py302 except Exception:CODE
LOWpipenv/utils/pipfile.py707 except Exception:CODE
LOWpipenv/utils/pipfile.py862 except Exception:CODE
LOWpipenv/utils/internet.py282 except Exception:CODE
LOWpipenv/utils/lockfile.py151 except Exception as e:CODE
LOWpipenv/utils/lockfile.py171 except Exception:CODE
LOWpipenv/utils/lockfile.py181 except Exception:CODE
LOWpipenv/utils/lockfile.py294 except Exception as e:CODE
LOWpipenv/utils/pylock.py85 except Exception as e:CODE
LOWpipenv/utils/pylock.py248 except Exception as e:CODE
LOWpipenv/utils/pylock.py301 except Exception as e:CODE
LOWpipenv/utils/pylock.py413 except Exception:CODE
LOWpipenv/utils/pylock.py548 except Exception as e:CODE
LOWpipenv/utils/shell.py155 except Exception:CODE
LOWpipenv/utils/shell.py280 except Exception:CODE
LOWpipenv/utils/shell.py665 except Exception: # pragma: no coverCODE
MEDIUMpipenv/utils/shell.py662def isatty(stream):CODE
LOWpipenv/utils/sources.py201 except Exception:CODE
LOWpipenv/utils/locking.py529 except Exception:CODE
MEDIUMpipenv/utils/resolver.py1747 err.print(f"Error: {c.stderr.strip()}")CODE
LOWpipenv/utils/resolver.py1376 except Exception:CODE
LOWpipenv/utils/resolver.py1380 except Exception:CODE
LOW⚡pipenv/utils/prefetch.py118 except Exception as exc: # noqa: BLE001CODE
LOW⚡pipenv/utils/prefetch.py161 except Exception as exc: # noqa: BLE001CODE
LOWpipenv/utils/prefetch.py360 except Exception as exc: # noqa: BLE001 — defensiveCODE
LOWpipenv/utils/prefetch.py391 except Exception as exc: # noqa: BLE001CODE
LOWpipenv/utils/prefetch.py428 except Exception: # noqa: BLE001CODE
MEDIUMpipenv/utils/virtualenv.py450 err.print("Something went wrong...")CODE
LOWpipenv/utils/virtualenv.py498 except Exception:CODE
LOWpipenv/utils/virtualenv.py567 except Exception:CODE
LOWpipenv/utils/virtualenv.py691 except Exception:CODE
MEDIUMpipenv/utils/virtualenv.py679def _inline_activate_virtualenv(project):CODE
LOWpipenv/utils/project.py56 except Exception:CODE
LOWpipenv/utils/project.py128 except Exception:CODE
LOW⚡pipenv/utils/dependencies.py87 except Exception:CODE
LOWpipenv/utils/dependencies.py964 except Exception as e:CODE
LOWpipenv/utils/dependencies.py1339 except Exception as e:CODE
MEDIUMpipenv/cli/command.py291 err.print("Error: Missing argument 'command'.")CODE
LOWpipenv/cli/command.py558 except Exception as e:CODE
LOWpipenv/cli/command.py581 except Exception as e:CODE
LOWpipenv/cli/command.py611 except Exception as e:CODE
LOWpipenv/cli/command.py624 except Exception as e:CODE
LOWpipenv/routines/update.py180 except Exception as e: # noqa: PERF203CODE
LOWpipenv/routines/update.py220 except Exception: # noqa: PERF203CODE
LOWpipenv/routines/audit.py35 except Exception:CODE
LOWpipenv/routines/audit.py267 except Exception as e:CODE
LOWpipenv/routines/check.py160 except Exception:CODE
LOWpipenv/routines/check.py218 except Exception as e:CODE
LOWpipenv/routines/check.py395 except Exception:CODE
LOWpipenv/routines/check.py443 except Exception as e:CODE
MEDIUMpipenv/routines/uninstall.py40 console.print(f"Error occurred while uninstalling package {package}.")CODE
LOW⚡pipenv/routines/lock.py117 except Exception:CODE
148 more matches not shown…
Modern Structural Boilerplate180 hits · 182 pts
SeverityFileLineSnippetContext
LOWpipenv/utils/funktools.py321def set_write_bit(fn: str) -> None:CODE
LOWpipenv/patched/pip/_internal/configuration.py159 def set_value(self, key: str, value: Any) -> None:CODE
LOWpipenv/patched/pip/_internal/cache.py22logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/exceptions.py40logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/wheel_builder.py27logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/self_outdated_check.py44logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/build_env/__init__.py16__all__ = [CODE
LOWpipenv/patched/pip/_internal/build_env/installer.py34logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/network/auth.py165 def _set_password(self, service_name: str, username: str, password: str) -> None:CODE
LOWpipenv/patched/pip/_internal/network/xmlrpc.py17logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/network/download.py40logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/network/session.py61logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/network/session.py402 def update_index_urls(self, new_index_urls: list[str]) -> None:CODE
LOWpipenv/patched/pip/_internal/network/cache.py121 def set_body(self, key: str, body: bytes) -> None:CODE
LOWpipenv/patched/pip/_internal/network/cache.py125 def set_body_from_io(self, key: str, body_file: BinaryIO) -> None:CODE
LOWpipenv/patched/pip/_internal/network/lazy_wheel.py5__all__ = ["HTTPRangeRequestUnsupported", "dist_from_wheel_url"]CODE
LOWpipenv/patched/pip/_internal/utils/misc.py41__all__ = [CODE
LOWpipenv/patched/pip/_internal/utils/misc.py59logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/utils/egg_link.py13__all__ = [CODE
LOWpipenv/patched/pip/_internal/utils/compat.py11__all__ = ["get_locale_encoding", "get_path_uid", "tomllib", "WINDOWS"]CODE
LOWpipenv/patched/pip/_internal/utils/compat.py14logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/utils/temp_dir.py19logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/utils/temp_dir.py53 def set_delete(self, kind: str, value: bool) -> None:CODE
LOWpipenv/patched/pip/_internal/utils/packaging.py9logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/utils/virtualenv.py8logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/utils/wheel.py15logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/utils/unpacking.py24logger = logging.getLogger(__name__)CODE
LOW⚡pipenv/patched/pip/_internal/utils/unpacking.py144def set_extracted_file_to_default_mode_plus_executable(path: str) -> None:CODE
LOWpipenv/patched/pip/_internal/models/link.py31logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/models/direct_url.py18__all__ = [CODE
LOWpipenv/patched/pip/_internal/models/search_scope.py14logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/cli/cmdoptions.py39logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/cli/index_command.py32logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/cli/parser.py24logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/cli/spinners.py24logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/cli/base_command.py43__all__ = ["Command"]CODE
LOWpipenv/patched/pip/_internal/cli/base_command.py45logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/cli/main_parser.py17__all__ = ["create_main_parser", "parse_command"]CODE
LOWpipenv/patched/pip/_internal/cli/main.py11logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/cli/req_command.py63logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/operations/check.py24logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/operations/freeze.py22logger = logging.getLogger(__name__)CODE
LOW…penv/patched/pip/_internal/operations/install/wheel.py65logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/req/req_install.py58logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/req/req_install.py365 def _set_requirement(self) -> None:CODE
LOWpipenv/patched/pip/_internal/req/req_install.py556 def set_dist(self, distribution: BaseDistribution) -> None:CODE
LOWpipenv/patched/pip/_internal/req/req_install.py637 def update_editable(self) -> None:CODE
LOWpipenv/patched/pip/_internal/req/req_set.py8logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/req/__init__.py15__all__ = [CODE
LOWpipenv/patched/pip/_internal/req/__init__.py22logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/req/req_file.py34__all__ = ["parse_requirements"]CODE
LOWpipenv/patched/pip/_internal/req/req_file.py101logger = logging.getLogger(__name__)CODE
LOWpipenv/patched/pip/_internal/req/constructors.py44__all__ = [CODE
LOWpipenv/patched/pip/_internal/req/constructors.py50logger = logging.getLogger(__name__)CODE
LOW…nv/patched/pip/_internal/resolution/legacy/resolver.py52logger = logging.getLogger(__name__)CODE
LOW…nv/patched/pip/_internal/resolution/legacy/resolver.py318 def _set_req_to_reinstall(self, req: InstallRequirement) -> None:CODE
LOW…ip/_internal/resolution/resolvelib/found_candidates.py23logger = logging.getLogger(__name__)CODE
LOW…patched/pip/_internal/resolution/resolvelib/factory.py81logger = logging.getLogger(__name__)CODE
LOW…atched/pip/_internal/resolution/resolvelib/resolver.py38logger = logging.getLogger(__name__)CODE
LOW…ched/pip/_internal/resolution/resolvelib/candidates.py37logger = logging.getLogger(__name__)CODE
120 more matches not shown…
Cross-File Repetition32 hits · 160 pts
SeverityFileLineSnippetContext
HIGHpipenv/patched/pip/_internal/vcs/git.py0return the path to python project root, relative to the repo root. return none if the project root is in the repo root.STRING
HIGHpipenv/patched/pip/_internal/vcs/mercurial.py0return the path to python project root, relative to the repo root. return none if the project root is in the repo root.STRING
HIGHpipenv/patched/pip/_internal/vcs/versioncontrol.py0return the path to python project root, relative to the repo root. return none if the project root is in the repo root.STRING
HIGHpipenv/patched/pip/_internal/commands/download.py0%prog [options] <requirement specifier> ... %prog [options] -r <requirements file> ... %prog [options] [-e] <vcs projectSTRING
HIGHpipenv/patched/pip/_internal/commands/lock.py0%prog [options] <requirement specifier> ... %prog [options] -r <requirements file> ... %prog [options] [-e] <vcs projectSTRING
HIGHpipenv/patched/pip/_internal/commands/install.py0%prog [options] <requirement specifier> ... %prog [options] -r <requirements file> ... %prog [options] [-e] <vcs projectSTRING
HIGHpipenv/patched/pip/_internal/commands/wheel.py0%prog [options] <requirement specifier> ... %prog [options] -r <requirements file> ... %prog [options] [-e] <vcs projectSTRING
HIGHpipenv/patched/pip/_vendor/rich/live.py0iter_values = iter(values) try: previous_value = next(iter_values) except stopiteration: return for value in iter_valuesSTRING
HIGHpipenv/patched/pip/_vendor/rich/progress.py0iter_values = iter(values) try: previous_value = next(iter_values) except stopiteration: return for value in iter_valuesSTRING
HIGHpipenv/patched/pip/_vendor/rich/__main__.py0iter_values = iter(values) try: previous_value = next(iter_values) except stopiteration: return for value in iter_valuesSTRING
HIGHpipenv/patched/pip/_vendor/platformdirs/macos.py0:returns: state directory tied to the user, same as `user_data_dir`STRING
HIGHpipenv/patched/pip/_vendor/platformdirs/android.py0:returns: state directory tied to the user, same as `user_data_dir`STRING
HIGHpipenv/patched/pip/_vendor/platformdirs/windows.py0:returns: state directory tied to the user, same as `user_data_dir`STRING
HIGHpipenv/patched/pip/_vendor/platformdirs/macos.py0:returns: runtime directory shared by users, same as `user_runtime_dir`STRING
HIGHpipenv/patched/pip/_vendor/platformdirs/android.py0:returns: runtime directory shared by users, same as `user_runtime_dir`STRING
HIGHpipenv/patched/pip/_vendor/platformdirs/windows.py0:returns: runtime directory shared by users, same as `user_runtime_dir`STRING
HIGHpipenv/patched/pip/_vendor/platformdirs/macos.py0:yield: all user and site configuration directories.STRING
HIGHpipenv/patched/pip/_vendor/platformdirs/unix.py0:yield: all user and site configuration directories.STRING
HIGHpipenv/patched/pip/_vendor/platformdirs/api.py0:yield: all user and site configuration directories.STRING
HIGHpipenv/patched/pip/_vendor/platformdirs/unix.py0:returns: preference directory tied to the user, same as ``user_config_dir``STRING
HIGHpipenv/patched/pip/_vendor/platformdirs/android.py0:returns: preference directory tied to the user, same as ``user_config_dir``STRING
HIGHpipenv/patched/pip/_vendor/platformdirs/windows.py0:returns: preference directory tied to the user, same as ``user_config_dir``STRING
HIGHtests/unit/test_pipfile_subsystem.py0[[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages]STRING
HIGHtests/unit/test_lockfile.py0[[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages]STRING
HIGHtests/unit/test_sources.py0[[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages]STRING
HIGHtests/unit/test_venv_locator.py0[[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages]STRING
HIGHtests/unit/test_settings.py0[[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages]STRING
HIGHtests/unit/test_pylock.py0[[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages]STRING
HIGHtests/integration/test_install_twists.py0[[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages]STRING
HIGHtests/unit/test_venv_locator.py0[pipenv] venv_in_project = true [[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages] [dSTRING
HIGHtests/unit/test_settings.py0[pipenv] venv_in_project = true [[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages] [dSTRING
HIGHtests/integration/test_dot_venv.py0[pipenv] venv_in_project = true [[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages] [dSTRING
Over-Commented Block106 hits · 88 pts
SeverityFileLineSnippetContext
LOWpyproject.toml261# the dedicated CI step that overrides ``addopts`` to dropCOMMENT
LOWpipenv/shells.py201 os.environ.pop("LINES", None)COMMENT
LOWpipenv/shells.py221 # sentinel must be consumed *twice* in that drain: once for the shellCOMMENT
LOWpipenv/__version__.py1# ___ ( ) ___ ___ __COMMENT
LOWpipenv/environments.py421 self.PIPENV_PYUP_API_KEY = get_from_env("PYUP_API_KEY", check_for_negation=False)COMMENT
LOWpipenv/project.py481 # ``requirements_location`` / ``requirements_exists`` /COMMENT
LOWpipenv/utils/funktools.py341 icacls_exe,COMMENT
LOWpipenv/utils/resolver.py1401COMMENT
LOWpipenv/utils/resolver.py1701COMMENT
LOWpipenv/utils/resolver.py2041 # avoid leaking secrets via process listings (GHSA-8xgg-v3jj-95m2).COMMENT
LOWpipenv/utils/resolver.py2081 verbose=project.s.is_verbose(),COMMENT
LOWpipenv/utils/pip.py141 base_pip_config.update({"PIP_SRC": src_dir})COMMENT
LOWpipenv/routines/update.py81COMMENT
LOWpipenv/routines/lock.py281 clear = policy.clearCOMMENT
LOWpipenv/routines/lock.py361 # ``PIPENV_PREFETCH_INDEX_MANIFESTS`` is set). Best-effort: anyCOMMENT
LOWpipenv/routines/lock.py401 old_lock_data = NoneCOMMENT
LOWpipenv/routines/install.py981 search_all_sources = project.settings.get("install_search_all_sources", False)COMMENT
LOWpipenv/patched/pip/_internal/pyproject.py101 package=req_name,COMMENT
LOWpipenv/patched/pip/_internal/network/session.py341 self.headers["Accept-Encoding"] = "gzip, deflate"COMMENT
LOWpipenv/patched/pip/_internal/network/session.py361 # order to prevent hammering the service.COMMENT
LOWpipenv/patched/pip/_internal/network/utils.py21COMMENT
LOWpipenv/patched/pip/_internal/network/utils.py81 chunk_size,COMMENT
LOWpipenv/patched/pip/_internal/utils/subprocess.py81 log_failed_cmd: if false, failed commands are not logged, only raised.COMMENT
LOWpipenv/patched/pip/_internal/utils/packaging.py81 # with a low diversity of different arguments (at least relative the numberCOMMENT
LOWpipenv/patched/pip/_internal/utils/glibc.py41 # manpage says, "If filename is NULL, then the returned handle is for theCOMMENT
LOWpipenv/patched/pip/_internal/utils/glibc.py81# ('glibc', '2.9')COMMENT
LOWpipenv/patched/pip/_internal/utils/unpacking.py261 except tarfile.LinkOutsideDestinationError:COMMENT
LOW…nv/patched/pip/_internal/models/installation_report.py21 # record origin.json.COMMENT
LOWpipenv/patched/pip/_internal/cli/cmdoptions.py961 This is an optparse.Option callback for the --no-cache-dir option.COMMENT
LOWpipenv/patched/pip/_internal/cli/main.py21# https://pip.pypa.io/en/stable/user_guide/#using-pip-from-your-program.COMMENT
LOWpipenv/patched/pip/_internal/operations/prepare.py461 # By the time this is called, the requirement's link should haveCOMMENT
LOW…penv/patched/pip/_internal/operations/install/wheel.py281 # Currently, projects using versioned entry points will either haveCOMMENT
LOWpipenv/patched/pip/_internal/req/req_install.py781 assert self.req is not NoneCOMMENT
LOWpipenv/patched/pip/_internal/locations/__init__.py61if not _USE_SYSCONFIG:COMMENT
LOWpipenv/patched/pip/_internal/commands/cache.py241 # Additionally, non-alphanumeric values in the distribution areCOMMENT
LOWpipenv/patched/pip/_internal/metadata/pkg_resources.py281 if dist:COMMENT
LOWpipenv/patched/pip/_vendor/__init__.py21# is done to support downstream re-distributors like Debian and Fedora whoCOMMENT
LOWpipenv/patched/pip/_vendor/packaging/metadata.py181COMMENT
LOWpipenv/patched/pip/_vendor/packaging/metadata.py201 # answer with what to do in that case. As such, we'll do the onlyCOMMENT
LOWpipenv/patched/pip/_vendor/packaging/metadata.py241# The various parse_FORMAT functions here are intended to be as lenient asCOMMENT
LOWpipenv/patched/pip/_vendor/packaging/metadata.py361 # We use get_all() here, even for fields that aren't multiple use,COMMENT
LOWpipenv/patched/pip/_vendor/packaging/metadata.py381COMMENT
LOWpipenv/patched/pip/_vendor/packaging/metadata.py421 raw_name = _EMAIL_TO_RAW_MAPPING.get(name)COMMENT
LOWpipenv/patched/pip/_vendor/packaging/metadata.py441 if raw_name in _STRING_FIELDS and len(value) == 1:COMMENT
LOWpipenv/patched/pip/_vendor/packaging/metadata.py461 # The project urls is implemented in the metadata spec as a list ofCOMMENT
LOWpipenv/patched/pip/_vendor/packaging/markers.py341 # packaging.requirements.Requirement. If any additional logic isCOMMENT
LOW…env/patched/pip/_vendor/packaging/licenses/__init__.py1#######################################################################################COMMENT
LOW…env/patched/pip/_vendor/packaging/licenses/__init__.py21# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR ACOMMENT
LOWpipenv/patched/pip/_vendor/truststore/_openssl.py21_HASHED_CERT_FILENAME_RE = re.compile(r"^[0-9a-fA-F]{8}\.[0-9]$")COMMENT
LOWpipenv/patched/pip/_vendor/pygments/lexer.py681 #: a single state 'root'. The top of the stack is called "the current state".COMMENT
LOWpipenv/patched/pip/_vendor/distlib/compat.py41 import xmlrpclibCOMMENT
LOWpipenv/patched/pip/_vendor/distlib/util.py301 return resultCOMMENT
LOWpipenv/patched/pip/_vendor/distlib/util.py1801 """Normalize a python package name a la PEP 503"""COMMENT
LOWpipenv/patched/pip/_vendor/distro/distro.py1#!/usr/bin/env pythonCOMMENT
LOWpipenv/patched/pip/_vendor/distro/distro.py81#:COMMENT
LOWpipenv/patched/pip/_vendor/requests/sessions.py461 #: :class:`Request <Request>`. The dictionary values may be lists forCOMMENT
LOWpipenv/patched/pip/_vendor/requests/sessions.py481 #: cert file (.pem). If Tuple, ('cert', 'key') pair.COMMENT
LOWpipenv/patched/pip/_vendor/tomli/_parser.py21 from collections.abc import IterableCOMMENT
LOWpipenv/patched/pip/_vendor/certifi/core.py21 def where() -> str:COMMENT
LOWpipenv/patched/pip/_vendor/certifi/core.py61 # it in a global variable.COMMENT
46 more matches not shown…
AI Structural Patterns86 hits · 82 pts
SeverityFileLineSnippetContext
LOWpipenv/utils/resolver.py181CODE
LOWpipenv/utils/resolver.py1939CODE
LOWpipenv/utils/resolver.py2133CODE
LOWpipenv/utils/resolver.py304CODE
LOWpipenv/utils/resolver.py391CODE
LOWpipenv/utils/pip.py207CODE
LOWpipenv/utils/project.py61CODE
LOWpipenv/utils/dependencies.py1165CODE
LOWpipenv/routines/update.py665CODE
LOWpipenv/routines/audit.py74CODE
LOWpipenv/routines/audit.py139CODE
LOWpipenv/routines/check.py15CODE
LOWpipenv/routines/check.py262CODE
LOWpipenv/routines/context.py159CODE
LOWpipenv/routines/requirements.py11CODE
LOWpipenv/routines/scan.py16CODE
LOWpipenv/routines/scan.py341CODE
LOWpipenv/patched/pip/_internal/utils/subprocess.py59CODE
LOWpipenv/patched/pip/_internal/models/link.py227CODE
LOWpipenv/patched/pip/_internal/req/req_install.py68CODE
LOWpipenv/patched/pip/_internal/vcs/versioncontrol.py615CODE
LOWpipenv/patched/pip/_vendor/packaging/pylock.py535CODE
LOWpipenv/patched/pip/_vendor/msgpack/fallback.py226CODE
LOWpipenv/patched/pip/_vendor/msgpack/fallback.py653CODE
LOWpipenv/patched/pip/_vendor/distlib/util.py958CODE
LOWpipenv/patched/pip/_vendor/requests/sessions.py557CODE
LOWpipenv/patched/pip/_vendor/requests/models.py321CODE
LOWpipenv/patched/pip/_vendor/requests/models.py422CODE
LOWpipenv/patched/pip/_vendor/rich/logging.py65CODE
LOWpipenv/patched/pip/_vendor/rich/console.py163CODE
LOWpipenv/patched/pip/_vendor/rich/console.py625CODE
LOWpipenv/patched/pip/_vendor/rich/console.py1648CODE
LOWpipenv/patched/pip/_vendor/rich/console.py1747CODE
LOWpipenv/patched/pip/_vendor/rich/console.py1932CODE
LOWpipenv/patched/pip/_vendor/rich/style.py127CODE
LOWpipenv/patched/pip/_vendor/rich/traceback.py83CODE
LOWpipenv/patched/pip/_vendor/rich/traceback.py286CODE
LOWpipenv/patched/pip/_vendor/rich/traceback.py340CODE
LOWpipenv/patched/pip/_vendor/rich/__init__.py77CODE
LOWpipenv/patched/pip/_vendor/rich/__init__.py120CODE
LOWpipenv/patched/pip/_vendor/rich/pretty.py113CODE
LOWpipenv/patched/pip/_vendor/rich/pretty.py171CODE
LOWpipenv/patched/pip/_vendor/rich/pretty.py273CODE
LOWpipenv/patched/pip/_vendor/rich/columns.py31CODE
LOWpipenv/patched/pip/_vendor/rich/_inspect.py37CODE
LOWpipenv/patched/pip/_vendor/rich/text.py144CODE
LOWpipenv/patched/pip/_vendor/rich/text.py329CODE
LOWpipenv/patched/pip/_vendor/rich/live.py57CODE
LOWpipenv/patched/pip/_vendor/rich/syntax.py276CODE
LOWpipenv/patched/pip/_vendor/rich/syntax.py317CODE
LOWpipenv/patched/pip/_vendor/rich/table.py189CODE
LOWpipenv/patched/pip/_vendor/rich/table.py365CODE
LOWpipenv/patched/pip/_vendor/rich/progress_bar.py33CODE
LOWpipenv/patched/pip/_vendor/rich/prompt.py80CODE
LOWpipenv/patched/pip/_vendor/rich/prompt.py97CODE
LOWpipenv/patched/pip/_vendor/rich/prompt.py112CODE
LOWpipenv/patched/pip/_vendor/rich/progress.py104CODE
LOWpipenv/patched/pip/_vendor/rich/progress.py306CODE
LOWpipenv/patched/pip/_vendor/rich/progress.py372CODE
LOWpipenv/patched/pip/_vendor/rich/progress.py397CODE
26 more matches not shown…
Docstring Block Structure16 hits · 80 pts
SeverityFileLineSnippetContext
HIGHpipenv/utils/pylock.py53Create a PylockFile from a Pipfile.lock file. Args: lockfile_path: Path to the Pipfile.lock file STRING
HIGHpipenv/utils/pylock.py215Load a pylock.toml file from the given path. Args: path: Path to the pylock.toml file RetuSTRING
HIGHpipenv/utils/pylock.py270Create a PylockFile skeleton from a pyproject.toml file. This reads the dependencies from pyproject.toml and crSTRING
HIGHpipenv/patched/pip/_vendor/distro/distro.py676 The initialization method of this class gathers information from the available data sources, and storesSTRING
HIGHpipenv/patched/pip/_vendor/rich/measure.py82Get a measurement for a renderable. Args: console (~rich.console.Console): Console instance. STRING
HIGHpipenv/patched/pip/_vendor/rich/console.py829Set Live instance. Used by Live context manager (no need to call directly). Args: live (Live): LiveSTRING
HIGHpipenv/patched/pip/_vendor/rich/console.py1479Get a Style instance by its theme name or parse a definition. Args: name (str): The name of a styleSTRING
HIGHpipenv/patched/pip/_vendor/rich/console.py1902Get caller frame information. Args: offset (int): the caller offset within the current frame stack.STRING
HIGHpipenv/patched/pip/_vendor/rich/style.py495Parse a style definition. Args: style_definition (str): A string containing a style. RaiseSTRING
HIGHpipenv/patched/pip/_vendor/rich/markup.py112Render console markup in to a Text instance. Args: markup (str): A string containing console markup. STRING
HIGHpipenv/patched/pip/_vendor/rich/highlighter.py21Highlight a str or Text instance. Args: text (Union[str, ~Text]): Text to highlight. RaiseSTRING
HIGHpipenv/patched/pip/_vendor/rich/progress_bar.py129Renders the pulse animation. Args: console (Console): Console instance. width (int): WiSTRING
HIGHpipenv/patched/pip/_vendor/rich/prompt.py228Process response from user, convert to prompt type. Args: value (str): String typed by user. STRING
HIGHpipenv/patched/pip/_vendor/rich/progress.py1244Track progress file reading from a binary file. Args: file (BinaryIO): A file-like object opened inSTRING
HIGHpipenv/patched/pip/_vendor/rich/progress.py1323Track progress while reading from a binary file. Args: path (Union[str, PathLike[str]]): The path tSTRING
HIGHpipenv/patched/pip/_vendor/rich/_win32_console.py96Retrieves the current input mode of a console's input buffer or the current output mode of a console screen buffer. STRING
Redundant / Tautological Comments54 hits · 78 pts
SeverityFileLineSnippetContext
LOWpipenv/utils/pipfile.py197 # Check if it's a fileCOMMENT
LOWpipenv/utils/pipfile.py1179 # Check if this is a new packageCOMMENT
LOWpipenv/utils/pipfile.py1203 # Check if this is a new packageCOMMENT
LOWpipenv/utils/funktools.py93 # Check if the file is readonly using two methodsCOMMENT
LOWpipenv/utils/funktools.py302 # Check if the directory exists and is accessible before iteratingCOMMENT
LOWpipenv/utils/pylock.py627 # Check if the package has a markerCOMMENT
LOWpipenv/utils/shell.py82 # Check if it has a trailing slash which would indicate a directoryCOMMENT
LOW⚡pipenv/utils/shell.py374 # Check if it's a dictionary-like object with keysCOMMENT
LOW⚡pipenv/utils/shell.py381 # Check if the path exists as a fileCOMMENT
LOW⚡pipenv/utils/shell.py388 # Check if the string starts with any of the scheme prefixesCOMMENT
LOWpipenv/utils/sources.py384 # Check if the URL already exists in any sourceCOMMENT
LOWpipenv/utils/locking.py200 # Set permissions to 0644COMMENT
LOWpipenv/utils/requirements.py40 # Check if user is an environment variable or a standard SSH usernameCOMMENT
LOWpipenv/utils/requirements.py46 # Check if password is an environment variableCOMMENT
LOWpipenv/utils/exceptions.py29 # Check if backup_path is a valid path with an existing parent directoryCOMMENT
LOWpipenv/utils/virtualenv.py454 # Print the results, in a beautiful blue...COMMENT
LOWpipenv/utils/dependencies.py222 # Check if it's a file URICOMMENT
LOWpipenv/routines/update.py302 # Check if locked version still satisfies the Pipfile specifierCOMMENT
LOWpipenv/routines/update.py311 # Check if locked version still satisfies the Pipfile specifierCOMMENT
LOWpipenv/routines/update.py376 # Check if any of the packages to upgrade are also in other categoriesCOMMENT
LOWpipenv/routines/audit.py191 # Check if pip-audit is installedCOMMENT
LOWpipenv/routines/check.py375 # Check if safety is installedCOMMENT
LOWpipenv/routines/shell.py46 # Set PIPENV_PROJECT_DIR to the project root directory.COMMENT
LOWpipenv/routines/shell.py110 # Set VIRTUAL_ENV to the exact string representationCOMMENT
LOWpipenv/routines/shell.py120 # Set PIPENV_PROJECT_DIR to the project root directory.COMMENT
LOWpipenv/routines/scan.py122 # Set stage to ci to avoid authentication promptCOMMENT
LOWpipenv/routines/scan.py412 # Check if safety is installedCOMMENT
LOWpipenv/routines/install.py612 # Check if the file is remote or notCOMMENT
LOWpipenv/patched/pip/_internal/network/download.py320 # Check if the adapter is the CacheControlAdapter (i.e. caching is enabled)COMMENT
LOWpipenv/patched/pip/_internal/utils/filesystem.py30 # Check if path is writable by current user.COMMENT
LOWpipenv/patched/pip/_internal/operations/check.py83 # Check if it's missingCOMMENT
LOWpipenv/patched/pip/_internal/operations/check.py92 # Check if there's a conflictCOMMENT
LOWpipenv/patched/pip/_internal/operations/prepare.py629 # Check if the relevant file is already availableCOMMENT
LOW…patched/pip/_internal/resolution/resolvelib/factory.py732 # Check if only final releases are allowed for this packageCOMMENT
LOW…atched/pip/_internal/resolution/resolvelib/resolver.py137 # Check if there is already an installation under the same name,COMMENT
LOWpipenv/patched/pip/_internal/locations/__init__.py361 # Check if this path mismatch is caused by distutils config files. ThoseCOMMENT
LOWpipenv/patched/pip/_internal/index/package_finder.py1091 # Check if only final releases are allowed for this packageCOMMENT
LOWpipenv/patched/pip/_internal/distributions/sdist.py70 # Check if the current environment provides build dependenciesCOMMENT
LOWpipenv/patched/pip/_vendor/packaging/metadata.py626 # Check if content-type is valid or defaulted to `text/plain` and thus wasCOMMENT
LOWpipenv/patched/pip/_vendor/requests/models.py579 # Check if file, fo, generator, iterator.COMMENT
LOWpipenv/patched/pip/_vendor/urllib3/connection.py736 # Check if the target origin supports HTTP/2.COMMENT
LOWpipenv/patched/pip/_vendor/urllib3/connectionpool.py941 # Check if we should retry the HTTP response.COMMENT
LOWpipenv/patched/pip/_vendor/urllib3/util/request.py237 # Check if the body implements the buffer API.COMMENT
LOWpipenv/patched/pip/_vendor/urllib3/util/request.py241 # Check if the body is an iterableCOMMENT
LOWpipenv/patched/pip/_vendor/urllib3/util/response.py31 # Check if the object is a container for another file-like object thatCOMMENT
LOWtests/unit/test_core.py86 # Set verbosity to -1 (quiet mode via environment variable)COMMENT
LOWtests/unit/test_core.py141 # Set PIPENV_ACTIVE to simulate nested pipenv invocationCOMMENT
LOWtests/unit/test_pylock.py359 # Write the fileCOMMENT
LOW⚡tests/integration/test_upgrade.py92 # Check if google-api-core is still at the old versionSTRING
LOWtests/integration/test_upgrade.py133 # Check if requests is in develop section (as a dependency of pytest)STRING
LOWtests/integration/test_upgrade.py207 # Check if requests is in develop section (it might be there as a dependency of pytest)STRING
LOWtests/integration/test_install_vcs.py37 # Check if the URL in the lockfile still contains the environment variablesCOMMENT
LOWtests/integration/test_editable_vcs.py36 # Check if either src directory existsSTRING
LOWtests/integration/test_editable_vcs.py60 # Check if either src directory existsSTRING
Cross-Language Confusion11 hits · 54 pts
SeverityFileLineSnippetContext
HIGHpipenv/shells.py144 return "deactivate() { command deactivate 2>/dev/null; unset PIPENV_ACTIVE; }"CODE
HIGHpipenv/patched/pip/_internal/commands/completion.py20 PIP_AUTO_COMPLETE=1 "$1" 2>/dev/null ) )CODE
HIGHpipenv/patched/pip/_internal/commands/completion.py29 PIP_AUTO_COMPLETE=1 $words[1] 2>/dev/null )CODE
HIGHpipenv/patched/pip/_vendor/distlib/compat.py573 def new_child(self): # like Django's Context.push()CODE
HIGHpipenv/patched/pip/_vendor/rich/logging.py172 # Handles pythonw, where stdout/stderr are null, and we return NullFileCOMMENT
HIGHpipenv/patched/pip/_vendor/rich/tree.py171 style_stack.push(get_style(node.style))CODE
HIGHpipenv/patched/pip/_vendor/rich/tree.py172 guide_style_stack.push(get_style(node.guide_style))CODE
HIGHpipenv/patched/pip/_vendor/rich/highlighter.py117 r"\b(?P<bool_true>true)\b|\b(?P<bool_false>false)\b|\b(?P<null>null)\b",CODE
HIGH⚡pipenv/resolver/schema.py445 a meaningless null).STRING
HIGHtests/integration/test_run.py35multicommand = "bash -c \"cd docs && make html\""CODE
HIGHtests/integration/test_run.py60 assert script.args == ["-c", "cd docs && make html"]STRING
Verbosity Indicators33 hits · 49 pts
SeverityFileLineSnippetContext
LOW⚡pipenv/utils/prefetch.py126 # Step 1: build the (name, version, expected_hashes) target listCOMMENT
LOW⚡pipenv/utils/prefetch.py155 # Step 2: get the TARGET Python's wheel tags. Host and target mayCOMMENT
LOW⚡pipenv/utils/prefetch.py169 # Step 3: use a requests-compatible session for PEP 691 metadataCOMMENT
LOWpipenv/utils/prefetch.py201 # Step 4: pick the right wheel per target. Filter by targetCOMMENT
LOWpipenv/utils/prefetch.py216 # Step 5: parallel download + hash verify.COMMENT
LOW⚡pipenv/resolver/pure_python_sdist.py204# Step 1: downloadCOMMENT
LOW⚡pipenv/resolver/pure_python_sdist.py283# Step 2: extractCOMMENT
LOW⚡pipenv/resolver/pure_python_sdist.py424# Step 3: resolve the build backendCOMMENT
LOW⚡pipenv/resolver/pure_python_sdist.py469# Step 4: drive the PEP 517 hookCOMMENT
LOW⚡pipenv/resolver/pure_python_provider.py434 # Step 6: rejected set, keyed on ``(name, version, filename)``COMMENT
LOW⚡pipenv/resolver/pure_python_provider.py442 # Step 7: filter. Two-pass prerelease policy mirrors pip'sCOMMENT
LOW⚡pipenv/resolver/pure_python_provider.py784 # Step 1: collect the ``RequirementInformation`` rows for thisCOMMENT
LOW⚡pipenv/resolver/pure_python_provider.py791 # Step 2: source-flag — ``source == "pipfile"`` is our analogCOMMENT
LOW⚡pipenv/resolver/pure_python_provider.py798 # Step 3: walk every ``SpecifierSet`` attached to any of theCOMMENT
LOW⚡pipenv/resolver/pure_python_provider.py848 # Step 6: identifier name for the lexicographic tie-break. OurCOMMENT
LOW⚡pipenv/resolver/pure_python_provider.py979 # Step 3: prefer the live backtrack causes; fall back toCOMMENT
LOWpipenv/resolver/pure_python_provider.py403 # Step 5: dedup on ``(name, version, filename)`` — same wheelCOMMENT
LOWpipenv/resolver/pure_python_provider.py477 # Step 8: sort by ``(Version, is_wheel)`` descending. HighestCOMMENT
LOWpipenv/resolver/pure_python_provider.py499 # Step 9: propagate the identifier's extras onto each candidate.COMMENT
LOWpipenv/resolver/pure_python_provider.py811 # Step 4: derive pinned / upper-bounded / unfree from theCOMMENT
LOWpipenv/resolver/pure_python_provider.py825 # Step 5: backtrack-cause count for this identifier. PipCOMMENT
LOWpipenv/resolver/pure_python_provider.py941 # Step 1: walk backtrack_causes, track per-identifier conflictCOMMENT
LOWpipenv/resolver/pure_python_provider.py967 # Step 2: collect the live backtrack causes that are alsoCOMMENT
LOWpipenv/resolver/fetcher.py213 # Step 3: dispatch the misses on the executor. `max_workers`COMMENT
LOW⚡tests/integration/test_upgrade.py64 # Step 1: Install initial dependency versionSTRING
LOW⚡tests/integration/test_upgrade.py75 # Step 2: Update Pipfile to allow any version of google-api-coreSTRING
LOW⚡tests/integration/test_upgrade.py84 # Step 3: Update protobuf to an incompatible versionSTRING
LOW⚡tests/integration/test_upgrade.py88 # Step 4: Check the lockfile for incompatible dependenciesSTRING
LOW⚡tests/integration/test_upgrade.py101 # Step 5: Run pipenv lock to check for dependency resolution errorsSTRING
LOW⚡tests/integration/test_dot_venv.py188 # Step 1: create the pipenv-managed virtualenv in WORKON_HOME.COMMENT
LOW⚡tests/integration/test_dot_venv.py197 # Step 2: user independently creates a .venv dir in the project root.COMMENT
LOW⚡tests/integration/test_dot_venv.py201 # Step 3: `--venv` should still report the pipenv-managed venv.COMMENT
LOW⚡tests/integration/test_dot_venv.py209 # Step 4: `--rm` must remove the pipenv-managed venv, not .venv.COMMENT
Structural Annotation Overuse33 hits · 48 pts
SeverityFileLineSnippetContext
LOW⚡pipenv/utils/prefetch.py126 # Step 1: build the (name, version, expected_hashes) target listCOMMENT
LOW⚡pipenv/utils/prefetch.py155 # Step 2: get the TARGET Python's wheel tags. Host and target mayCOMMENT
LOW⚡pipenv/utils/prefetch.py169 # Step 3: use a requests-compatible session for PEP 691 metadataCOMMENT
LOWpipenv/utils/prefetch.py201 # Step 4: pick the right wheel per target. Filter by targetCOMMENT
LOWpipenv/utils/prefetch.py216 # Step 5: parallel download + hash verify.COMMENT
LOWpipenv/patched/pip/_internal/utils/unpacking.py330 # NOTE: This function can be removed once pip requires CPython ≥ 3.12.​COMMENT
LOW…/patched/pip/_vendor/cachecontrol/caches/file_cache.py59 # NOTE: This method should not change as some may depend on it.COMMENT
LOW⚡pipenv/resolver/pure_python_sdist.py204# Step 1: downloadCOMMENT
LOW⚡pipenv/resolver/pure_python_sdist.py283# Step 2: extractCOMMENT
LOW⚡pipenv/resolver/pure_python_sdist.py424# Step 3: resolve the build backendCOMMENT
LOW⚡pipenv/resolver/pure_python_sdist.py469# Step 4: drive the PEP 517 hookCOMMENT
LOW⚡pipenv/resolver/pure_python_provider.py434 # Step 6: rejected set, keyed on ``(name, version, filename)``COMMENT
LOW⚡pipenv/resolver/pure_python_provider.py442 # Step 7: filter. Two-pass prerelease policy mirrors pip'sCOMMENT
LOW⚡pipenv/resolver/pure_python_provider.py784 # Step 1: collect the ``RequirementInformation`` rows for thisCOMMENT
LOW⚡pipenv/resolver/pure_python_provider.py791 # Step 2: source-flag — ``source == "pipfile"`` is our analogCOMMENT
LOW⚡pipenv/resolver/pure_python_provider.py798 # Step 3: walk every ``SpecifierSet`` attached to any of theCOMMENT
LOW⚡pipenv/resolver/pure_python_provider.py848 # Step 6: identifier name for the lexicographic tie-break. OurCOMMENT
LOW⚡pipenv/resolver/pure_python_provider.py979 # Step 3: prefer the live backtrack causes; fall back toCOMMENT
LOWpipenv/resolver/pure_python_provider.py403 # Step 5: dedup on ``(name, version, filename)`` — same wheelCOMMENT
LOWpipenv/resolver/pure_python_provider.py477 # Step 8: sort by ``(Version, is_wheel)`` descending. HighestCOMMENT
LOWpipenv/resolver/pure_python_provider.py499 # Step 9: propagate the identifier's extras onto each candidate.COMMENT
LOWpipenv/resolver/pure_python_provider.py811 # Step 4: derive pinned / upper-bounded / unfree from theCOMMENT
LOWpipenv/resolver/pure_python_provider.py825 # Step 5: backtrack-cause count for this identifier. PipCOMMENT
LOWpipenv/resolver/pure_python_provider.py941 # Step 1: walk backtrack_causes, track per-identifier conflictCOMMENT
LOWpipenv/resolver/pure_python_provider.py967 # Step 2: collect the live backtrack causes that are alsoCOMMENT
LOWpipenv/resolver/fetcher.py213 # Step 3: dispatch the misses on the executor. `max_workers`COMMENT
LOW⚡tests/integration/test_upgrade.py64 # Step 1: Install initial dependency versionSTRING
LOW⚡tests/integration/test_upgrade.py75 # Step 2: Update Pipfile to allow any version of google-api-coreSTRING
LOW⚡tests/integration/test_upgrade.py84 # Step 3: Update protobuf to an incompatible versionSTRING
LOW⚡tests/integration/test_upgrade.py88 # Step 4: Check the lockfile for incompatible dependenciesSTRING
LOW⚡tests/integration/test_upgrade.py101 # Step 5: Run pipenv lock to check for dependency resolution errorsSTRING
LOW⚡tests/integration/test_dot_venv.py188 # Step 1: create the pipenv-managed virtualenv in WORKON_HOME.COMMENT
LOW⚡tests/integration/test_dot_venv.py197 # Step 2: user independently creates a .venv dir in the project root.COMMENT
AI Slop Vocabulary23 hits · 46 pts
SeverityFileLineSnippetContext
MEDIUMpipenv/shells.py120 # For now, return empty as nu has different paradigmCOMMENT
MEDIUMpipenv/utils/markers.py568 # Essentially we will iterate over each side of the parsed marker if either one isCOMMENT
LOWpipenv/patched/pip/_internal/network/auth.py517 # We are not able to prompt the user so simply return the responseCOMMENT
MEDIUMpipenv/patched/pip/_internal/utils/misc.py74# CI traffic to PyPI. Thus, it is okay if the list is not comprehensive.COMMENT
LOWpipenv/patched/pip/_internal/cli/parser.py170 # If its not a list, we should abort and just return the help textCOMMENT
LOWpipenv/patched/pip/_vendor/packaging/metadata.py214 # is unparsable, and we can just add the whole thing to ourCOMMENT
LOWpipenv/patched/pip/_vendor/packaging/metadata.py410 # This is already a string, so just add it.COMMENT
LOWpipenv/patched/pip/_vendor/packaging/metadata.py439 # what we should parse it as, and we have to just add it to our listCOMMENT
LOWpipenv/patched/pip/_vendor/packaging/specifiers.py995 # version. If it's not we can short circuit and just return False nowCOMMENT
LOWpipenv/patched/pip/_vendor/packaging/specifiers.py1020 # version. If it's not we can short circuit and just return False nowCOMMENT
LOWpipenv/patched/pip/_vendor/packaging/specifiers.py1424 # then we'll just return None since we don't know if this should haveCOMMENT
LOWpipenv/patched/pip/_vendor/distlib/compat.py246 # what file suffixes are executable, so just pass on cmd as-is.COMMENT
MEDIUMpipenv/patched/pip/_vendor/requests/sessions.py757 # Set defaults that the hooks can utilize to ensure they always haveSTRING
LOWpipenv/patched/pip/_vendor/requests/models.py723 # method. To prevent iterating over None, simply use an empty listCOMMENT
LOWpipenv/patched/pip/_vendor/requests/utils.py491 # a UNC path, then just return the value without quotes. Using theSTRING
LOWpipenv/patched/pip/_vendor/certifi/core.py70 # file, it will just return the file system location and theCOMMENT
MEDIUMpipenv/patched/pip/_vendor/urllib3/exceptions.py251 """Response needs to be chunked in order to read it as chunks."""STRING
LOWpipenv/patched/pip/_vendor/pkg_resources/__init__.py2# For now we'd simply use implicit Any/Unknown which would add redundant annotationsCOMMENT
MEDIUMpipenv/resolver/pep691.py494 # final path segment if (somehow) the anchor had no text — robustCOMMENT
MEDIUM⚡tests/unit/test_core.py208 # Test nushell - returns empty for now (different paradigm)COMMENT
MEDIUMtests/unit/test_resolver_protocol_smoke.py107 # even if the harness's PYTHONPATH does not already include it.COMMENT
MEDIUMtests/unit/test_pure_python_backend.py1842 # robust. Marker strings come throughCOMMENT
MEDIUMtests/unit/test_pure_python_provider_smoke.py311 # the test is robust to ordering changes in ``.causes``.COMMENT
Hallucination Indicators4 hits · 35 pts
SeverityFileLineSnippetContext
CRITICALpipenv/patched/pip/_internal/cli/req_command.py278 return pipenv.patched.pip._internal.resolution.resolvelib.resolver.Resolver(CODE
CRITICALpipenv/patched/pip/_internal/cli/req_command.py294 return pipenv.patched.pip._internal.resolution.legacy.resolver.Resolver(CODE
CRITICALpipenv/patched/pip/_internal/commands/debug.py188 show_value("pipenv.patched.pip._vendor.certifi.where()", where())CODE
CRITICALpipenv/patched/pip/_vendor/pygments/sphinxext.py87 self.state.document.settings.record_dependencies.add(fn)STRING
Modern AI Meta-Vocabulary3 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMpipenv/environments.py440 # T_F.5 in this PR is scaffolding only (see the maintainerCOMMENT
MEDIUMpipenv/cli/options.py961 # ``--resolver NAME`` flag (T_F.5 scaffolding) when both areCOMMENT
MEDIUMtests/unit/test_pure_python_provider.py1932 # malformed input. The branch is documented defensive scaffoldingCOMMENT
Slop Phrases4 hits · 7 pts
SeverityFileLineSnippetContext
LOWpipenv/patched/pip/_vendor/packaging/markers.py342 # added here, make sure to mirror/adapt Requirement.COMMENT
MEDIUMpipenv/patched/pip/_vendor/distlib/util.py1551 # you can use the following handler class, which does not allow HTTP traffic.STRING
LOWpipenv/patched/pip/_vendor/urllib3/response.py1146 # TODO make sure to initially read enough data to get past the headersCOMMENT
MEDIUMpipenv/patched/pip/_vendor/urllib3/util/wait.py12# There are two types of APIs you can use for waiting on sockets: the fancyCOMMENT
Fake / Example Data6 hits · 5 pts
SeverityFileLineSnippetContext
LOWpipenv/routines/scan.py131 global_options.append("--key=dummy-key")CODE
LOWpipenv/patched/pip/_internal/req/constructors.py72 return get_requirement("placeholder" + extras.lower()).extrasCODE
LOWpipenv/patched/pip/_vendor/rich/text.py1340 """\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et doloSTRING
LOWpipenv/patched/pip/_vendor/rich/text.py1340 """\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et doloSTRING
LOWpipenv/patched/pip/_vendor/rich/__main__.py71 lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque in metus sed sapien ultricies pretium a atCODE
LOWpipenv/patched/pip/_vendor/rich/__main__.py71 lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque in metus sed sapien ultricies pretium a atCODE