Repository Analysis

pypa/pipenv

Python Development Workflow for Humans.

20.9 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of pypa/pipenv, a Python project with 25,034 GitHub stars. SynthScan v2.0 examined 224,463 lines of code across 642 source files, recording 3576 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 20.9 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).

20.9
Adjusted Score
20.9
Raw Score
100%
Time Factor
2026-08-24
Last Push
25.0K
Stars
Python
Language
224.5K
Lines of Code
642
Files
3.6K
Pattern Hits
2026-08-29
Scan Date
0.10
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

Severity Breakdown

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.

CRITICAL 4HIGH 59MEDIUM 457LOW 3056

Directory Score Breakdown

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.

Pattern Findings

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

Hyper-Verbose Identifiers1492 hits · 1298 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/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
LOWpipenv/utils/resolver.py1437def _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.py1189def _should_use_resolution_cache(cache_key, clear):CODE
LOWpipenv/utils/resolver.py1478def _selected_backend_for_request(project, resolver_backend=None):CODE
LOWpipenv/utils/resolver.py1775def _dispatch_resolver_response(response, st):CODE
LOWpipenv/utils/resolver.py1809def _normalize_resolver_results(results):CODE
LOWpipenv/utils/markers.py213def get_sorted_version_string(version_set):CODE
LOWpipenv/utils/markers.py387def _markers_collect_pyversions(markers, collection):CODE
LOWpipenv/utils/markers.py406def _markers_contains_pyversion(markers):CODE
LOWpipenv/utils/markers.py501def _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
LOWpipenv/utils/dependencies.py97def get_lockfile_section_using_pipfile_category(category):CODE
LOWpipenv/utils/dependencies.py105def get_pipfile_category_using_lockfile_section(category):CODE
LOWpipenv/utils/dependencies.py1504def 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.py504def dependency_as_pip_install_line(CODE
LOWpipenv/utils/dependencies.py767def find_package_name_from_tarball(tarball_filepath):CODE
LOWpipenv/utils/dependencies.py780def find_package_name_from_zipfile(zip_filepath):CODE
LOWpipenv/utils/dependencies.py793def find_package_name_from_directory(directory):CODE
LOWpipenv/utils/dependencies.py948def determine_vcs_revision_hash(CODE
LOWpipenv/utils/dependencies.py1032def find_package_name_from_filename(filename, file):CODE
LOWpipenv/utils/dependencies.py1159def expansive_install_req_from_line(CODE
LOWpipenv/utils/dependencies.py1270def normalize_editable_path_for_pip(path_str):CODE
LOWpipenv/utils/dependencies.py1456def handle_non_vcs_requirement(CODE
LOWpipenv/utils/dependencies.py1535def get_constraints_from_resolved_deps(resolved_deps):CODE
LOWpipenv/utils/dependencies.py1781def add_index_to_pipfile_with_trust_check(project, index, trusted_hosts=None):CODE
LOWpipenv/utils/dependencies.py1800def requirement_from_lockfile(CODE
LOWpipenv/utils/dependencies.py1888def requirements_from_lockfile(deps, include_hashes=True, include_markers=True):CODE
LOWpipenv/utils/dependencies.py2013def requirements_from_pipfile(deps, include_markers=True):CODE
LOWpipenv/utils/toml.py56def convert_toml_outline_tables(parsed: TOMLDocument, project) -> TOMLDocument:CODE
1432 more matches not shown…
Decorative Section Separators343 hits · 1228 pts
SeverityFileLineSnippetContext
MEDIUMpipenv/utils/pipfile.py531# ============================================================================COMMENT
MEDIUMpipenv/utils/pipfile.py533# ============================================================================COMMENT
MEDIUMpipenv/utils/resolver.py1428# ---------------------------------------------------------------------------COMMENT
MEDIUMpipenv/utils/resolver.py1430# ---------------------------------------------------------------------------COMMENT
MEDIUMpipenv/utils/resolver.py1651 # ------------------------------------------------------------COMMENT
MEDIUMpipenv/utils/resolver.py1655 # ------------------------------------------------------------COMMENT
MEDIUMpipenv/cli/options.py796 # ── open ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py804 # ── sync ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py814 # ── clean ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py826 # ── scripts ───────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py833 # ── verify ────────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py839 # ── requirements ──────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py95# ── Argument-adder functions (argparse) ──────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py97# ── Individual argument-adder functions ──────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py332# ── Option group composers ────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py394# ── PIPENV_ environment variable overlay ─────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py449# ── Main parser factory ───────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py547 # ── install ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py559 # ── remove ───────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py565 # ── upgrade ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py577 # ── uninstall ─────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py600 # ── lock ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py605 # ── shell ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py631 # ── activate ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py641 # ── run ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py671 # ── check ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py731 # ── audit ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py768 # ── update ────────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py784 # ── graph ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py861 # ── pylock ────────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py878# ── State builder (argparse Namespace → State) ────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py892 # ── Global / common fields ───────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py907 # ── Validation ───────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py924 # ── Verbosity ────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py936 # ── InstallState ─────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/options.py957 # ── LockOptions ──────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/command.py730 # ── Root-level (no subcommand) ────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/command.py817 # ── Subcommand --help ─────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/cli/command.py830 # ── Dispatch ──────────────────────────────────────────────────────────────COMMENT
MEDIUMpipenv/routines/lock.py122 # ------------------------------------------------------------------COMMENT
MEDIUMpipenv/routines/lock.py126 # ------------------------------------------------------------------COMMENT
MEDIUMpipenv/routines/lock.py157 # ------------------------------------------------------------------COMMENT
MEDIUMpipenv/routines/lock.py161 # ------------------------------------------------------------------COMMENT
MEDIUMpipenv/routines/lock.py180 # ------------------------------------------------------------------COMMENT
MEDIUMpipenv/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
283 more matches not shown…
Unused Imports655 hits · 606 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/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
LOWpipenv/patched/pip/_internal/utils/virtualenv.py1CODE
595 more matches not shown…
Deep Nesting304 hits · 286 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.py187CODE
LOWpipenv/utils/pipfile.py444CODE
LOWpipenv/utils/pipfile.py828CODE
LOWpipenv/utils/pipfile.py947CODE
LOWpipenv/utils/pipfile.py1082CODE
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.py1281CODE
LOWpipenv/utils/resolver.py1583CODE
LOWpipenv/utils/resolver.py2091CODE
LOWpipenv/utils/resolver.py391CODE
LOWpipenv/utils/resolver.py848CODE
LOWpipenv/utils/resolver.py1309CODE
LOWpipenv/utils/markers.py538CODE
LOWpipenv/utils/environment.py9CODE
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.py434CODE
LOWpipenv/utils/dependencies.py504CODE
LOWpipenv/utils/dependencies.py673CODE
LOWpipenv/utils/dependencies.py767CODE
LOWpipenv/utils/dependencies.py780CODE
LOWpipenv/utils/dependencies.py793CODE
LOWpipenv/utils/dependencies.py966CODE
LOWpipenv/utils/dependencies.py1456CODE
244 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.py171 # Create a Path object for the potential PipfileCOMMENT
MEDIUMpipenv/utils/pipfile.py209 # Create a Pipfile...COMMENT
MEDIUMpipenv/utils/pipfile.py232 # 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.py1170 # Create a deterministic representation of dependenciesCOMMENT
MEDIUMpipenv/utils/dependencies.py1498 # Create the Requirement instanceCOMMENT
MEDIUMpipenv/utils/dependencies.py1512 # Creating a constraint as a canonical name plus a version specifierCOMMENT
MEDIUMpipenv/utils/dependencies.py928 # Create a temporary directory using mkdtempCOMMENT
MEDIUMpipenv/routines/lock.py323 # 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
MEDIUMtests/unit/test_utils.py746 # Create a package directory structureCOMMENT
MEDIUMtests/unit/test_utils.py750 # Create a proper setup.py in the root with a parseable nameCOMMENT
MEDIUMtests/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 Wrapping187 hits · 201 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.py138 except Exception:CODE
LOWpipenv/utils/pipfile.py217 except Exception:CODE
LOWpipenv/utils/pipfile.py279 except Exception:CODE
LOWpipenv/utils/pipfile.py684 except Exception:CODE
LOWpipenv/utils/pipfile.py839 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.py1720 err.print(f"Error: {c.stderr.strip()}")CODE
LOWpipenv/utils/resolver.py1349 except Exception:CODE
LOWpipenv/utils/resolver.py1353 except Exception:CODE
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
LOWpipenv/utils/dependencies.py87 except Exception:CODE
LOWpipenv/utils/dependencies.py958 except Exception as e:CODE
LOWpipenv/utils/dependencies.py1333 except Exception as e:CODE
MEDIUMpipenv/cli/command.py290 err.print("Error: Missing argument 'command'.")CODE
LOWpipenv/cli/command.py555 except Exception as e:CODE
LOWpipenv/cli/command.py578 except Exception as e:CODE
LOWpipenv/cli/command.py608 except Exception as e:CODE
LOWpipenv/cli/command.py621 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
LOWpipenv/routines/lock.py117 except Exception:CODE
LOWpipenv/routines/lock.py129 except Exception:CODE
LOWpipenv/routines/lock.py164 except Exception:CODE
LOWpipenv/routines/lock.py174 except Exception:CODE
LOWpipenv/routines/lock.py189 except Exception:CODE
LOWpipenv/routines/lock.py199 except Exception:CODE
127 more matches not shown…
Modern Structural Boilerplate175 hits · 178 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
LOWpipenv/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
115 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
AI Structural Patterns86 hits · 83 pts
SeverityFileLineSnippetContext
LOWpipenv/utils/resolver.py181CODE
LOWpipenv/utils/resolver.py1912CODE
LOWpipenv/utils/resolver.py2091CODE
LOWpipenv/utils/resolver.py304CODE
LOWpipenv/utils/resolver.py391CODE
LOWpipenv/utils/pip.py195CODE
LOWpipenv/utils/project.py61CODE
LOWpipenv/utils/dependencies.py1159CODE
LOWpipenv/routines/update.py665CODE
LOWpipenv/routines/audit.py74CODE
LOWpipenv/routines/audit.py139CODE
LOWpipenv/routines/check.py15CODE
LOWpipenv/routines/check.py262CODE
LOWpipenv/routines/context.py157CODE
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.py174 # Check if it's a fileCOMMENT
LOWpipenv/utils/pipfile.py1135 # Check if this is a new packageCOMMENT
LOWpipenv/utils/pipfile.py1159 # 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
LOWpipenv/utils/shell.py374 # Check if it's a dictionary-like object with keysCOMMENT
LOWpipenv/utils/shell.py381 # Check if the path exists as a fileCOMMENT
LOWpipenv/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.py525 # 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
LOWtests/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
Over-Commented Block77 hits · 71 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.py1381 # any non-zero return code, which threw away the structuredCOMMENT
LOWpipenv/utils/resolver.py1681 # Forward the subprocess's captured stderr to the parent'sCOMMENT
LOWpipenv/utils/resolver.py2001 os.environ["PIP_KEYRING_PROVIDER"] = keyring_providerCOMMENT
LOWpipenv/cli/options.py641 # ── run ───────────────────────────────────────────────────────────────────COMMENT
LOWpipenv/routines/update.py81COMMENT
LOWpipenv/routines/lock.py361 if not quiet: # Alert the user of progress.COMMENT
LOWpipenv/routines/lock.py381 # second-category resolve cost ~6 s of wall time even with anCOMMENT
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
LOWpipenv/patched/pip/_vendor/rich/highlighter.py161 #COMMENT
LOWpipenv/patched/pip/_vendor/rich/highlighter.py181 # Calendar date with hours, minutes, and seconds (e.g., 2008-08-30 17:21:59 or 20080830 172159).COMMENT
LOWpipenv/patched/pip/_vendor/urllib3/util/wait.py1from __future__ import annotationsCOMMENT
17 more matches not shown…
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
HIGHpipenv/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
AI Slop Vocabulary21 hits · 40 pts
SeverityFileLineSnippetContext
MEDIUMpipenv/shells.py120 # For now, return empty as nu has different paradigmCOMMENT
MEDIUMpipenv/utils/markers.py547 # 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
MEDIUMtests/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
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
Verbosity Indicators10 hits · 14 pts
SeverityFileLineSnippetContext
LOWpipenv/resolver/fetcher.py213 # Step 3: dispatch the misses on the executor. `max_workers`COMMENT
LOWtests/integration/test_upgrade.py64 # Step 1: Install initial dependency versionSTRING
LOWtests/integration/test_upgrade.py75 # Step 2: Update Pipfile to allow any version of google-api-coreSTRING
LOWtests/integration/test_upgrade.py84 # Step 3: Update protobuf to an incompatible versionSTRING
LOWtests/integration/test_upgrade.py88 # Step 4: Check the lockfile for incompatible dependenciesSTRING
LOWtests/integration/test_upgrade.py101 # Step 5: Run pipenv lock to check for dependency resolution errorsSTRING
LOWtests/integration/test_dot_venv.py188 # Step 1: create the pipenv-managed virtualenv in WORKON_HOME.COMMENT
LOWtests/integration/test_dot_venv.py197 # Step 2: user independently creates a .venv dir in the project root.COMMENT
LOWtests/integration/test_dot_venv.py201 # Step 3: `--venv` should still report the pipenv-managed venv.COMMENT
LOWtests/integration/test_dot_venv.py209 # Step 4: `--rm` must remove the pipenv-managed venv, not .venv.COMMENT
Structural Annotation Overuse10 hits · 13 pts
SeverityFileLineSnippetContext
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
LOWpipenv/resolver/fetcher.py213 # Step 3: dispatch the misses on the executor. `max_workers`COMMENT
LOWtests/integration/test_upgrade.py64 # Step 1: Install initial dependency versionSTRING
LOWtests/integration/test_upgrade.py75 # Step 2: Update Pipfile to allow any version of google-api-coreSTRING
LOWtests/integration/test_upgrade.py84 # Step 3: Update protobuf to an incompatible versionSTRING
LOWtests/integration/test_upgrade.py88 # Step 4: Check the lockfile for incompatible dependenciesSTRING
LOWtests/integration/test_upgrade.py101 # Step 5: Run pipenv lock to check for dependency resolution errorsSTRING
LOWtests/integration/test_dot_venv.py188 # Step 1: create the pipenv-managed virtualenv in WORKON_HOME.COMMENT
LOWtests/integration/test_dot_venv.py197 # Step 2: user independently creates a .venv dir in the project root.COMMENT
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
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMpipenv/environments.py440 # T_F.5 in this PR is scaffolding only (see the maintainerCOMMENT