Repository Analysis

pypa/pipenv

Python Development Workflow for Humans.

15.2 Moderate AI signal View on GitHub
15.2
Adjusted Score
15.2
Raw Score
100%
Time Factor
2026-05-25
Last Push
25,070
Stars
Python
Language
183,231
Lines of Code
567
Files
2274
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 4HIGH 45MEDIUM 204LOW 2021

Pattern Findings

2274 matches across 16 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers853 hits · 745 pts
SeverityFileLineSnippet
LOWtasks/vendoring/__init__.py222def _ensure_package_in_requirements(ctx, requirements_file, package):
LOWtasks/vendoring/__init__.py387def packages_missing_licenses(
LOWtasks/vendoring/__init__.py650def unpin_and_copy_requirements(ctx, requirement_file, name="requirements.txt"):
LOWtasks/vendoring/__init__.py680def unpin_and_update_vendored(ctx, vendor=False, patched=True):
LOWpipenv/shells.py86def _get_deactivate_wrapper_script(cmd):
LOWpipenv/installers.py79 def _find_python_installer_by_name_and_env(name, env_var):
LOWpipenv/installers.py134 def iter_installable_versions(self):
LOWpipenv/installers.py185 def iter_installable_versions(self):
LOWpipenv/installers.py212 def iter_installable_versions(self):
LOWpipenv/installers.py292 def iter_installable_versions(self):
LOWpipenv/resolver.py507def _apply_python_version_override():
LOWpipenv/environment.py625 def _get_requirements_for_package(cls, node, key_tree, parent=None, chain=None):
LOWpipenv/project.py294 def get_requests_session_for_source(self, source):
LOWpipenv/project.py351 def get_hashes_from_remote_index_urls(self, ireq, source):
LOWpipenv/project.py492 def get_location_for_virtualenv(self) -> Path:
LOWpipenv/project.py684 def virtualenv_scripts_location(self) -> Path:
LOWpipenv/project.py1266 def get_package_name_in_pipfile(self, package_name, category):
LOWpipenv/project.py1298 def remove_package_from_pipfile(self, package_name, category):
LOWpipenv/project.py1317 def reset_category_in_pipfile(self, category):
LOWpipenv/project.py1327 def remove_packages_from_pipfile(self, packages):
LOWpipenv/project.py1340 def generate_package_pipfile_entry(self, package, pip_line, category=None, index_name=None, no_binary=False):
LOWpipenv/project.py1435 def add_pipfile_entry_to_pipfile(self, name, normalized_name, entry, category=None):
LOWpipenv/project.py1463 def add_packages_to_pipfile_batch(self, packages_data, dev=False, categories=None):
LOWpipenv/utils/internet.py138def _strip_credentials_from_url(
LOWpipenv/utils/internet.py167def _read_existing_netrc_content() -> str:
LOWpipenv/utils/pylock.py592 def get_packages_for_environment(
LOWpipenv/utils/pylock.py645 def convert_to_pipenv_lockfile(self) -> Dict[str, Any]:
LOWpipenv/utils/requirementslib.py78def add_ssh_scheme_to_git_uri(uri):
LOWpipenv/utils/locking.py46def format_requirement_for_lockfile(
LOWpipenv/utils/locking.py248 >>> def raise_exception_while_writing(filename):
LOWpipenv/utils/locking.py258 >>> def raise_exception_while_writing(filename):
LOWpipenv/utils/requirements.py157def requirement_from_lockfile(
LOWpipenv/utils/requirements.py247def requirements_from_lockfile(deps, include_hashes=True, include_markers=True):
LOWpipenv/utils/requirements.py374def requirements_from_pipfile(deps, include_markers=True):
LOWpipenv/utils/resolver.py54def _is_python_version_specifier(value):
LOWpipenv/utils/resolver.py62def _get_pipfile_python_override(project):
LOWpipenv/utils/resolver.py131def _patched_marker_environment(override):
LOWpipenv/utils/resolver.py149 def _patched_default_environment():
LOWpipenv/utils/resolver.py349 def check_if_package_req_skipped(
LOWpipenv/utils/resolver.py628 def parsed_default_constraints(self):
LOWpipenv/utils/resolver.py1045def _generate_resolution_cache_key(
LOWpipenv/utils/resolver.py1090def _should_use_resolution_cache(cache_key, clear):
LOWpipenv/utils/resolver.py1246def _append_resolved_default_deps_args(cmd, resolved_default_deps):
LOWpipenv/utils/markers.py214def get_sorted_version_string(version_set):
LOWpipenv/utils/markers.py388def _markers_collect_pyversions(markers, collection):
LOWpipenv/utils/markers.py407def _markers_contains_pyversion(markers):
LOWpipenv/utils/markers.py502def _get_specifiers_from_markers(marker_item):
LOWpipenv/utils/virtualenv.py472def _find_python_for_specifier(specifier_str, pyenv_only=False):
LOWpipenv/utils/virtualenv.py511def find_python_from_py_launcher(version):
LOWpipenv/utils/virtualenv.py643def inline_activate_virtual_environment(project):
LOWpipenv/utils/virtualenv.py678def _inline_activate_virtualenv(project):
LOWpipenv/utils/project.py19def _python_version_matches_required(actual_ver_str, required_ver_str):
LOWpipenv/utils/project.py194def get_default_pyproject_backend():
LOWpipenv/utils/dependencies.py88def get_lockfile_section_using_pipfile_category(category):
LOWpipenv/utils/dependencies.py96def get_pipfile_category_using_lockfile_section(category):
LOWpipenv/utils/dependencies.py877def determine_vcs_revision_hash(
LOWpipenv/utils/dependencies.py1401def get_constraints_from_deps(deps):
LOWpipenv/utils/dependencies.py238def _file_url_to_relative_path(file_url, base_dir):
LOWpipenv/utils/dependencies.py452def dependency_as_pip_install_line(
LOWpipenv/utils/dependencies.py715def find_package_name_from_tarball(tarball_filepath):
793 more matches not shown…
Unused Imports576 hits · 535 pts
SeverityFileLineSnippet
LOWpipenv/__init__.py31
LOWpipenv/resolver.py46
LOWpipenv/environment.py1
LOWpipenv/project.py1
LOWpipenv/utils/__init__.py4
LOWpipenv/utils/processes.py9
LOWpipenv/utils/indexes.py1
LOWpipenv/utils/indexes.py13
LOWpipenv/utils/indexes.py13
LOWpipenv/utils/indexes.py13
LOWpipenv/cli/__init__.py1
LOWpipenv/patched/pip/__init__.py1
LOWpipenv/patched/pip/_internal/configuration.py14
LOWpipenv/patched/pip/_internal/pyproject.py1
LOWpipenv/patched/pip/_internal/cache.py3
LOWpipenv/patched/pip/_internal/__init__.py1
LOWpipenv/patched/pip/_internal/exceptions.py8
LOWpipenv/patched/pip/_internal/main.py1
LOWpipenv/patched/pip/_internal/wheel_builder.py3
LOWpipenv/patched/pip/_internal/self_outdated_check.py1
LOWpipenv/patched/pip/_internal/build_env.py3
LOWpipenv/patched/pip/_internal/network/auth.py7
LOWpipenv/patched/pip/_internal/network/xmlrpc.py13
LOWpipenv/patched/pip/_internal/network/xmlrpc.py13
LOWpipenv/patched/pip/_internal/network/xmlrpc.py15
LOWpipenv/patched/pip/_internal/network/download.py3
LOWpipenv/patched/pip/_internal/network/session.py5
LOWpipenv/patched/pip/_internal/network/cache.py3
LOWpipenv/patched/pip/_internal/network/lazy_wheel.py3
LOWpipenv/patched/pip/_internal/utils/logging.py1
LOWpipenv/patched/pip/_internal/utils/misc.py1
LOWpipenv/patched/pip/_internal/utils/egg_link.py1
LOWpipenv/patched/pip/_internal/utils/compat.py71
LOWpipenv/patched/pip/_internal/utils/compat.py73
LOWpipenv/patched/pip/_internal/utils/compat.py18
LOWpipenv/patched/pip/_internal/utils/deprecation.py5
LOWpipenv/patched/pip/_internal/utils/pylock.py1
LOWpipenv/patched/pip/_internal/utils/subprocess.py1
LOWpipenv/patched/pip/_internal/utils/filesystem.py1
LOW…penv/patched/pip/_internal/utils/direct_url_helpers.py1
LOWpipenv/patched/pip/_internal/utils/temp_dir.py1
LOWpipenv/patched/pip/_internal/utils/retry.py1
LOWpipenv/patched/pip/_internal/utils/packaging.py1
LOWpipenv/patched/pip/_internal/utils/entrypoints.py1
LOW…penv/patched/pip/_internal/utils/compatibility_tags.py3
LOWpipenv/patched/pip/_internal/utils/hashes.py1
LOWpipenv/patched/pip/_internal/utils/virtualenv.py1
LOWpipenv/patched/pip/_internal/utils/glibc.py1
LOWpipenv/patched/pip/_internal/utils/unpacking.py3
LOWpipenv/patched/pip/_internal/utils/unpacking.py30
LOWpipenv/patched/pip/_internal/utils/unpacking.py38
LOWpipenv/patched/pip/_internal/models/link.py1
LOWpipenv/patched/pip/_internal/models/selection_prefs.py1
LOWpipenv/patched/pip/_internal/models/release_control.py1
LOWpipenv/patched/pip/_internal/models/direct_url.py3
LOWpipenv/patched/pip/_internal/models/direct_url.py8
LOWpipenv/patched/pip/_internal/models/direct_url.py8
LOWpipenv/patched/pip/_internal/models/direct_url.py8
LOWpipenv/patched/pip/_internal/models/direct_url.py8
LOWpipenv/patched/pip/_internal/models/target_python.py1
516 more matches not shown…
Decorative Section Separators95 hits · 330 pts
SeverityFileLineSnippet
MEDIUMpipenv/cli/options.py767 # ── open ──────────────────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py775 # ── sync ──────────────────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py785 # ── clean ─────────────────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py797 # ── scripts ───────────────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py804 # ── verify ────────────────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py810 # ── requirements ──────────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py90# ── Argument-adder functions (argparse) ──────────────────────────────────────
MEDIUMpipenv/cli/options.py92# ── Individual argument-adder functions ──────────────────────────────────────
MEDIUMpipenv/cli/options.py306# ── Option group composers ────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py367# ── PIPENV_ environment variable overlay ─────────────────────────────────────
MEDIUMpipenv/cli/options.py422# ── Main parser factory ───────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py521 # ── install ──────────────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py533 # ── remove ───────────────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py539 # ── upgrade ──────────────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py551 # ── uninstall ─────────────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py574 # ── lock ─────────────────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py579 # ── shell ─────────────────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py605 # ── activate ──────────────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py615 # ── run ───────────────────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py645 # ── check ─────────────────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py702 # ── audit ─────────────────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py739 # ── update ────────────────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py755 # ── graph ─────────────────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py832 # ── pylock ────────────────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py849# ── State builder (argparse Namespace → State) ────────────────────────────────
MEDIUMpipenv/cli/options.py863 # ── Global / common fields ───────────────────────────────────────────────
MEDIUMpipenv/cli/options.py873 # ── Validation ───────────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py890 # ── Verbosity ────────────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py902 # ── InstallState ─────────────────────────────────────────────────────────
MEDIUMpipenv/cli/options.py923 # ── LockOptions ──────────────────────────────────────────────────────────
MEDIUMpipenv/cli/command.py693 # ── Root-level (no subcommand) ────────────────────────────────────────────
MEDIUMpipenv/cli/command.py780 # ── Subcommand --help ─────────────────────────────────────────────────────
MEDIUMpipenv/cli/command.py793 # ── Dispatch ──────────────────────────────────────────────────────────────
MEDIUM…env/patched/pip/_vendor/packaging/dependency_groups.py23# -----------
MEDIUM…env/patched/pip/_vendor/packaging/dependency_groups.py25# -----------
MEDIUM…env/patched/pip/_vendor/packaging/dependency_groups.py64# ------------------------
MEDIUM…env/patched/pip/_vendor/packaging/dependency_groups.py66# ------------------------
MEDIUM…env/patched/pip/_vendor/packaging/dependency_groups.py250# --------------------
MEDIUM…env/patched/pip/_vendor/packaging/dependency_groups.py252# --------------------
MEDIUM…env/patched/pip/_vendor/packaging/dependency_groups.py269# ----------------
MEDIUM…env/patched/pip/_vendor/packaging/dependency_groups.py271# ----------------
MEDIUMpipenv/patched/pip/_vendor/packaging/_parser.py95# --------------------------------------------------------------------------------------
MEDIUMpipenv/patched/pip/_vendor/packaging/_parser.py97# --------------------------------------------------------------------------------------
MEDIUMpipenv/patched/pip/_vendor/packaging/_parser.py289# --------------------------------------------------------------------------------------
MEDIUMpipenv/patched/pip/_vendor/packaging/_parser.py291# --------------------------------------------------------------------------------------
MEDIUMpipenv/patched/pip/_vendor/pygments/lexer.py325# ------------------------------------------------------------------------------
MEDIUMpipenv/patched/pip/_vendor/requests/compat.py24# -------------------
MEDIUMpipenv/patched/pip/_vendor/requests/compat.py26# -------------------
MEDIUMpipenv/patched/pip/_vendor/requests/compat.py62# --------------
MEDIUMpipenv/patched/pip/_vendor/requests/compat.py64# --------------
MEDIUMtests/unit/test_cmdparse.py35# ---------------------------------------------------------------------------
MEDIUMtests/unit/test_cmdparse.py37# ---------------------------------------------------------------------------
MEDIUMtests/unit/test_cmdparse.py161# ---------------------------------------------------------------------------
MEDIUMtests/unit/test_cmdparse.py163# ---------------------------------------------------------------------------
MEDIUMtests/unit/test_cmdparse.py5# ---------------------------------------------------------------------------
MEDIUMtests/unit/test_cmdparse.py7# ---------------------------------------------------------------------------
MEDIUMtests/unit/test_utils.py1598# ---------------------------------------------------------------------------
MEDIUMtests/unit/test_utils.py1600# ---------------------------------------------------------------------------
MEDIUMtests/unit/test_dependencies.py100# ---------------------------------------------------------------------------
MEDIUMtests/unit/test_dependencies.py102# ---------------------------------------------------------------------------
35 more matches not shown…
Deep Nesting301 hits · 289 pts
SeverityFileLineSnippet
LOWtasks/vendoring/__init__.py114
LOWtasks/vendoring/__init__.py139
LOWtasks/vendoring/__init__.py222
LOWtasks/vendoring/__init__.py246
LOWtasks/vendoring/__init__.py387
LOWtasks/vendoring/__init__.py440
LOWpipenv/shells.py40
LOWpipenv/shells.py86
LOWpipenv/resolver.py254
LOWpipenv/environment.py156
LOWpipenv/environment.py691
LOWpipenv/environment.py735
LOWpipenv/exceptions.py79
LOWpipenv/exceptions.py435
LOWpipenv/exceptions.py331
LOWpipenv/exceptions.py398
LOWpipenv/project.py351
LOWpipenv/project.py492
LOWpipenv/project.py1032
LOWpipenv/project.py1099
LOWpipenv/project.py1340
LOWpipenv/project.py1463
LOWpipenv/utils/pipfile.py74
LOWpipenv/utils/pipfile.py330
LOWpipenv/utils/funktools.py98
LOWpipenv/utils/funktools.py138
LOWpipenv/utils/funktools.py244
LOWpipenv/utils/funktools.py284
LOWpipenv/utils/funktools.py389
LOWpipenv/utils/pylock.py47
LOWpipenv/utils/pylock.py209
LOWpipenv/utils/pylock.py260
LOWpipenv/utils/pylock.py417
LOWpipenv/utils/pylock.py592
LOWpipenv/utils/requirementslib.py354
LOWpipenv/utils/requirementslib.py415
LOWpipenv/utils/requirementslib.py434
LOWpipenv/utils/requirementslib.py470
LOWpipenv/utils/indexes.py18
LOWpipenv/utils/locking.py46
LOWpipenv/utils/locking.py163
LOWpipenv/utils/locking.py352
LOWpipenv/utils/locking.py563
LOWpipenv/utils/requirements.py66
LOWpipenv/utils/requirements.py262
LOWpipenv/utils/resolver.py1182
LOWpipenv/utils/resolver.py1284
LOWpipenv/utils/resolver.py1526
LOWpipenv/utils/resolver.py362
LOWpipenv/utils/resolver.py812
LOWpipenv/utils/resolver.py1202
LOWpipenv/utils/markers.py542
LOWpipenv/utils/environment.py9
LOWpipenv/utils/pip.py18
LOWpipenv/utils/virtualenv.py51
LOWpipenv/utils/virtualenv.py214
LOWpipenv/utils/virtualenv.py291
LOWpipenv/utils/virtualenv.py472
LOWpipenv/utils/project.py58
LOWpipenv/utils/dependencies.py265
241 more matches not shown…
Self-Referential Comments90 hits · 260 pts
SeverityFileLineSnippet
MEDIUMpipenv/resolver.py33 # Create a minimal shim that re-exports from typing
MEDIUMpipenv/project.py692 # Create the directory, if it doesn't exist.
MEDIUMpipenv/utils/pipfile.py64 # Create a Path object for the potential Pipfile
MEDIUMpipenv/utils/pipfile.py96 # Create a Pipfile...
MEDIUMpipenv/utils/pipfile.py119 # Create the pipfile if it doesn't exist.
MEDIUMpipenv/utils/pylock.py88 # Create the basic pylock.toml structure
MEDIUMpipenv/utils/pylock.py304 # Create the basic pylock.toml structure
MEDIUMpipenv/utils/pylock.py425 # Create a deep copy of the data to avoid modifying the original
MEDIUMpipenv/utils/pylock.py651 # Create the basic structure
MEDIUMpipenv/utils/pylock.py708 # Create the package entry
MEDIUMpipenv/utils/fileutils.py122 # Create an absolute path
MEDIUMpipenv/utils/fileutils.py183 # Creating a buffer-like object
MEDIUMpipenv/utils/shell.py85 # Create a PurePath which won't access the filesystem
MEDIUMpipenv/utils/requirementslib.py300# The following functionality is either borrowed or modified from the itertools module
MEDIUMpipenv/utils/resolver.py1071 # Create a deterministic representation of dependencies
MEDIUMpipenv/utils/dependencies.py870 # Create a temporary directory using mkdtemp
MEDIUMpipenv/utils/dependencies.py1395 # Create the Requirement instance
MEDIUMpipenv/utils/dependencies.py1409 # Creating a constraint as a canonical name plus a version specifier
MEDIUMpipenv/routines/lock.py47 # Create the lockfile.
MEDIUMpipenv/patched/pip/_internal/req/constructors.py199 # Create a steppable iterator, so we can handle \-continuations.
MEDIUMpipenv/patched/pip/_internal/commands/list.py240 # Create a set to remove duplicate packages, and cast it to a list
MEDIUMpipenv/patched/pip/_internal/commands/install.py422 # Create a target directory for using with the target option
MEDIUMpipenv/patched/pip/_vendor/__init__.py26# Define a small helper function to alias our vendored modules to the real ones
MEDIUMpipenv/patched/pip/_vendor/packaging/tags.py1# This file is dual licensed under the terms of the Apache License, Version
MEDIUMpipenv/patched/pip/_vendor/packaging/metadata.py290# This class is for writing RFC822 messages
MEDIUMpipenv/patched/pip/_vendor/packaging/metadata.py307# This class is for writing RFC822 messages
MEDIUMpipenv/patched/pip/_vendor/packaging/version.py1# This file is dual licensed under the terms of the Apache License, Version
MEDIUMpipenv/patched/pip/_vendor/packaging/__init__.py1# This file is dual licensed under the terms of the Apache License, Version
MEDIUMpipenv/patched/pip/_vendor/packaging/utils.py1# This file is dual licensed under the terms of the Apache License, Version
MEDIUMpipenv/patched/pip/_vendor/packaging/requirements.py1# This file is dual licensed under the terms of the Apache License, Version
MEDIUMpipenv/patched/pip/_vendor/packaging/_structures.py1# This file is dual licensed under the terms of the Apache License, Version
MEDIUMpipenv/patched/pip/_vendor/packaging/markers.py1# This file is dual licensed under the terms of the Apache License, Version
MEDIUMpipenv/patched/pip/_vendor/packaging/specifiers.py1# This file is dual licensed under the terms of the Apache License, Version
MEDIUMpipenv/patched/pip/_vendor/truststore/_windows.py528 # Create a custom cert chain engine which exclusively trusts
MEDIUMpipenv/patched/pip/_vendor/distlib/util.py1580 # The above classes only come into play if a timeout
MEDIUMpipenv/patched/pip/_vendor/idna/idnadata.py1# This file is automatically generated by tools/idna-data
MEDIUMpipenv/patched/pip/_vendor/idna/uts46data.py1# This file is automatically generated by tools/idna-data
MEDIUMpipenv/patched/pip/_vendor/requests/sessions.py565 # Create the Request.
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 we
MEDIUMpipenv/patched/pip/_vendor/rich/console.py2014 """This function is called when a `BrokenPipeError` is raised.
MEDIUMpipenv/patched/pip/_vendor/urllib3/util/url.py266 output = [] # Initialize the variable to use to store output
MEDIUMpipenv/patched/pip/_vendor/urllib3/util/connection.py23# This function is copied from socket.py in the Python 2.7 standard
MEDIUMpipenv/patched/pip/_vendor/urllib3/util/connection.py104 """This function is designed to work in the context of
MEDIUMpipenv/patched/pip/_vendor/urllib3/http2/probe.py66 """This function is for testing purposes only. Gets the current state of the probe cache"""
MEDIUMpipenv/patched/pip/_vendor/urllib3/http2/probe.py71 """This function is for testing purposes only. Reset the cache values"""
MEDIUM…patched/pip/_vendor/resolvelib/resolvers/resolution.py254 # Create a new state from the last known-to-work one, and apply
MEDIUMtests/unit/test_utils.py716 # Create a package directory structure
MEDIUMtests/unit/test_utils.py720 # Create a proper setup.py in the root with a parseable name
MEDIUMtests/unit/test_utils.py726 # Create a tests subdirectory with a file that has a setup() call
MEDIUMtests/unit/test_utils.py746 # Create a package directory structure
MEDIUMtests/unit/test_utils.py792 # Create a mock configuration that returns index-url
MEDIUMtests/unit/test_utils.py1933 # Create the virtualenv dir so .project file write succeeds
MEDIUMtests/unit/test_utils_windows_executable.py8# This module is run only on Windows.
MEDIUMtests/unit/test_core.py724 # Create a fake subprocess result that succeeds
MEDIUMtests/unit/test_pylock.py201 # Create a simple Pipfile.lock
MEDIUMtests/unit/test_pylock.py328 # Create a simple PylockFile
MEDIUMtests/unit/test_pylock.py395 # Create a pylock file with various markers using PEP 751 syntax
MEDIUMtests/unit/test_pylock.py245 # Create a PylockFile from the Pipfile.lock
MEDIUMtests/unit/test_pylock.py270 # Create a Pipfile.lock with a wildcard version
MEDIUMtests/unit/test_pylock.py297 # Create a PylockFile from the Pipfile.lock
30 more matches not shown…
Excessive Try-Catch Wrapping152 hits · 164 pts
SeverityFileLineSnippet
MEDIUMtasks/vendoring/__init__.py739 print(f"Error downloading {link}")
LOWpipenv/shells.py240 except Exception:
LOWpipenv/shells.py267 except Exception:
LOWpipenv/resolver.py143 except Exception: # noqa: PERF203
LOWpipenv/environment.py187 except Exception:
LOWpipenv/environment.py662 except Exception as e:
MEDIUMpipenv/exceptions.py26 print(f"Error: {self.format_message()}", file=file)
LOWpipenv/project.py408 except Exception:
LOWpipenv/project.py779 except Exception:
LOWpipenv/project.py868 except Exception:
LOWpipenv/project.py876 except Exception:
LOWpipenv/project.py934 except Exception as e:
LOWpipenv/project.py1106 except Exception:
LOWpipenv/project.py1165 except Exception as e:
LOWpipenv/utils/pipfile.py31 except Exception:
LOWpipenv/utils/pipfile.py104 except Exception:
LOWpipenv/utils/pipfile.py172 except Exception:
LOWpipenv/utils/internet.py263 except Exception:
LOWpipenv/utils/pylock.py85 except Exception as e:
LOWpipenv/utils/pylock.py243 except Exception as e:
LOWpipenv/utils/pylock.py296 except Exception as e:
LOWpipenv/utils/pylock.py408 except Exception:
LOWpipenv/utils/pylock.py543 except Exception as e:
LOWpipenv/utils/shell.py164 except Exception:
LOWpipenv/utils/shell.py290 except Exception:
LOWpipenv/utils/shell.py677 except Exception: # pragma: no cover
MEDIUMpipenv/utils/shell.py674def isatty(stream):
LOWpipenv/utils/requirementslib.py605 except Exception:
LOWpipenv/utils/locking.py617 except Exception:
LOWpipenv/utils/resolver.py1426 except Exception:
MEDIUMpipenv/utils/resolver.py1492 err.print(f"Error: {c.stderr.strip()}")
MEDIUMpipenv/utils/virtualenv.py449 err.print("Something went wrong...")
LOWpipenv/utils/virtualenv.py497 except Exception:
LOWpipenv/utils/virtualenv.py566 except Exception:
LOWpipenv/utils/virtualenv.py690 except Exception:
MEDIUMpipenv/utils/virtualenv.py678def _inline_activate_virtualenv(project):
LOWpipenv/utils/project.py53 except Exception:
LOWpipenv/utils/project.py125 except Exception:
LOWpipenv/utils/dependencies.py78 except Exception:
LOWpipenv/utils/dependencies.py885 except Exception as e:
LOWpipenv/utils/dependencies.py1251 except Exception as e:
MEDIUMpipenv/cli/command.py269 err.print("Error: Missing argument 'command'.")
LOWpipenv/cli/command.py518 except Exception as e:
LOWpipenv/cli/command.py541 except Exception as e:
LOWpipenv/cli/command.py571 except Exception as e:
LOWpipenv/cli/command.py584 except Exception as e:
LOWpipenv/routines/update.py171 except Exception as e: # noqa: PERF203
LOWpipenv/routines/update.py211 except Exception: # noqa: PERF203
LOWpipenv/routines/audit.py35 except Exception:
LOWpipenv/routines/audit.py267 except Exception as e:
LOWpipenv/routines/check.py159 except Exception:
LOWpipenv/routines/check.py217 except Exception as e:
LOWpipenv/routines/check.py393 except Exception:
LOWpipenv/routines/check.py441 except Exception as e:
MEDIUMpipenv/routines/uninstall.py38 console.print(f"Error occurred while uninstalling package {package}.")
LOWpipenv/routines/lock.py111 except Exception:
LOWpipenv/routines/scan.py217 except Exception as e:
LOWpipenv/routines/scan.py241 except Exception:
LOWpipenv/routines/scan.py295 except Exception as e:
LOWpipenv/routines/scan.py428 except Exception:
92 more matches not shown…
Cross-File Repetition19 hits · 95 pts
SeverityFileLineSnippet
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.
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.
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.
HIGHpipenv/patched/pip/_vendor/rich/live.py0iter_values = iter(values) try: previous_value = next(iter_values) except stopiteration: return for value in iter_values
HIGHpipenv/patched/pip/_vendor/rich/progress.py0iter_values = iter(values) try: previous_value = next(iter_values) except stopiteration: return for value in iter_values
HIGHpipenv/patched/pip/_vendor/rich/__main__.py0iter_values = iter(values) try: previous_value = next(iter_values) except stopiteration: return for value in iter_values
HIGHpipenv/patched/pip/_vendor/platformdirs/macos.py0:return: state directory tied to the user, same as `user_data_dir`
HIGHpipenv/patched/pip/_vendor/platformdirs/android.py0:return: state directory tied to the user, same as `user_data_dir`
HIGHpipenv/patched/pip/_vendor/platformdirs/windows.py0:return: state directory tied to the user, same as `user_data_dir`
HIGHpipenv/patched/pip/_vendor/platformdirs/macos.py0:return: runtime directory shared by users, same as `user_runtime_dir`
HIGHpipenv/patched/pip/_vendor/platformdirs/android.py0:return: runtime directory shared by users, same as `user_runtime_dir`
HIGHpipenv/patched/pip/_vendor/platformdirs/windows.py0:return: runtime directory shared by users, same as `user_runtime_dir`
HIGHtests/unit/test_pylock.py0[[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages] [dev-packages]
HIGHtests/unit/test_pylock.py0[[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages] [dev-packages]
HIGHtests/unit/test_pylock.py0[[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages] [dev-packages]
HIGHtests/unit/test_pylock.py0[[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages] [dev-packages]
HIGHtests/unit/test_pylock.py0[[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages] [dev-packages]
HIGHtests/unit/test_pylock.py0[[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages] [dev-packages]
HIGHtests/unit/test_pylock.py0[[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages] [dev-packages]
Redundant / Tautological Comments59 hits · 89 pts
SeverityFileLineSnippet
LOWpipenv/project.py1511 # Check if this is a new package
LOWpipenv/project.py1535 # Check if this is a new package
LOWpipenv/project.py1595 # Check if the URL already exists in any source
LOWpipenv/utils/pipfile.py67 # Check if it's a file
LOWpipenv/utils/funktools.py93 # Check if the file is readonly using two methods
LOWpipenv/utils/funktools.py301 # Check if the directory exists and is accessible before iterating
LOWpipenv/utils/pylock.py622 # Check if the package has a marker
LOWpipenv/utils/fileutils.py159 # Check if the link is a local path that exists
LOWpipenv/utils/shell.py79 # Check if it has a trailing slash which would indicate a directory
LOWpipenv/utils/shell.py394 # Check if it's a dictionary-like object with keys
LOWpipenv/utils/shell.py401 # Check if the path exists as a file
LOWpipenv/utils/shell.py408 # Check if the string starts with any of the scheme prefixes
LOWpipenv/utils/requirementslib.py175 # Check if the path exists (for local paths)
LOWpipenv/utils/requirementslib.py179 # Check if it's an archive file
LOWpipenv/utils/requirementslib.py182 # Check if it's a local installable project directory
LOWpipenv/utils/requirementslib.py188 # Check if it's a remote archive
LOWpipenv/utils/locking.py288 # Set permissions to 0644
LOWpipenv/utils/requirements.py35 # Check if user is an environment variable or a standard SSH username
LOWpipenv/utils/requirements.py41 # Check if password is an environment variable
LOWpipenv/utils/exceptions.py30 # Check if backup_path is a valid path with an existing parent directory
LOWpipenv/utils/virtualenv.py453 # Print the results, in a beautiful blue...
LOWpipenv/utils/dependencies.py203 # Check if it's a file URI
LOWpipenv/routines/update.py293 # Check if locked version still satisfies the Pipfile specifier
LOWpipenv/routines/update.py302 # Check if locked version still satisfies the Pipfile specifier
LOWpipenv/routines/update.py367 # Check if any of the packages to upgrade are also in other categories
LOWpipenv/routines/audit.py191 # Check if pip-audit is installed
LOWpipenv/routines/check.py373 # Check if safety is installed
LOWpipenv/routines/shell.py46 # Set PIPENV_PROJECT_DIR to the project root directory.
LOWpipenv/routines/shell.py110 # Set VIRTUAL_ENV to the exact string representation
LOWpipenv/routines/shell.py120 # Set PIPENV_PROJECT_DIR to the project root directory.
LOWpipenv/routines/scan.py122 # Set stage to ci to avoid authentication prompt
LOWpipenv/routines/scan.py411 # Check if safety is installed
LOWpipenv/routines/install.py503 # Check if the file is remote or not
LOWpipenv/patched/pip/_internal/network/download.py273 # Check if the adapter is the CacheControlAdapter (i.e. caching is enabled)
LOWpipenv/patched/pip/_internal/utils/filesystem.py30 # Check if path is writable by current user.
LOWpipenv/patched/pip/_internal/operations/check.py84 # Check if it's missing
LOWpipenv/patched/pip/_internal/operations/check.py93 # Check if there's a conflict
LOWpipenv/patched/pip/_internal/operations/prepare.py507 # Check if the relevant file is already available
LOW…patched/pip/_internal/resolution/resolvelib/factory.py758 # Check if only final releases are allowed for this package
LOW…atched/pip/_internal/resolution/resolvelib/resolver.py133 # Check if there is already an installation under the same name,
LOWpipenv/patched/pip/_internal/locations/__init__.py361 # Check if this path mismatch is caused by distutils config files. Those
LOWpipenv/patched/pip/_internal/index/package_finder.py1061 # Check if only final releases are allowed for this package
LOWpipenv/patched/pip/_internal/distributions/sdist.py60 # Check if the current environment provides build dependencies
LOWpipenv/patched/pip/_vendor/packaging/metadata.py626 # Check if content-type is valid or defaulted to `text/plain` and thus was
LOWpipenv/patched/pip/_vendor/requests/models.py499 # Check if file, fo, generator, iterator.
LOWpipenv/patched/pip/_vendor/urllib3/connection.py736 # Check if the target origin supports HTTP/2.
LOWpipenv/patched/pip/_vendor/urllib3/connectionpool.py928 # Check if we should retry the HTTP response.
LOWpipenv/patched/pip/_vendor/urllib3/util/request.py237 # Check if the body implements the buffer API.
LOWpipenv/patched/pip/_vendor/urllib3/util/request.py241 # Check if the body is an iterable
LOWpipenv/patched/pip/_vendor/urllib3/util/response.py31 # Check if the object is a container for another file-like object that
LOWtests/unit/test_core.py86 # Set verbosity to -1 (quiet mode via environment variable)
LOWtests/unit/test_core.py141 # Set PIPENV_ACTIVE to simulate nested pipenv invocation
LOWtests/unit/test_pylock.py359 # Write the file
LOWtests/integration/test_upgrade.py92 # Check if google-api-core is still at the old version
LOWtests/integration/test_upgrade.py133 # Check if requests is in develop section (as a dependency of pytest)
LOWtests/integration/test_upgrade.py207 # Check if requests is in develop section (it might be there as a dependency of pytest)
LOWtests/integration/test_install_vcs.py37 # Check if the URL in the lockfile still contains the environment variables
LOWtests/integration/test_editable_vcs.py36 # Check if either src directory exists
LOWtests/integration/test_editable_vcs.py60 # Check if either src directory exists
Docstring Block Structure16 hits · 80 pts
SeverityFileLineSnippet
HIGHpipenv/utils/pylock.py53Create a PylockFile from a Pipfile.lock file. Args: lockfile_path: Path to the Pipfile.lock file
HIGHpipenv/utils/pylock.py210Load a pylock.toml file from the given path. Args: path: Path to the pylock.toml file Retu
HIGHpipenv/utils/pylock.py265Create a PylockFile skeleton from a pyproject.toml file. This reads the dependencies from pyproject.toml and cr
HIGHpipenv/patched/pip/_vendor/distro/distro.py676 The initialization method of this class gathers information from the available data sources, and stores
HIGHpipenv/patched/pip/_vendor/rich/measure.py82Get a measurement for a renderable. Args: console (~rich.console.Console): Console instance.
HIGHpipenv/patched/pip/_vendor/rich/console.py829Set Live instance. Used by Live context manager (no need to call directly). Args: live (Live): Live
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 style
HIGHpipenv/patched/pip/_vendor/rich/console.py1902Get caller frame information. Args: offset (int): the caller offset within the current frame stack.
HIGHpipenv/patched/pip/_vendor/rich/style.py495Parse a style definition. Args: style_definition (str): A string containing a style. Raise
HIGHpipenv/patched/pip/_vendor/rich/markup.py112Render console markup in to a Text instance. Args: markup (str): A string containing console markup.
HIGHpipenv/patched/pip/_vendor/rich/highlighter.py21Highlight a str or Text instance. Args: text (Union[str, ~Text]): Text to highlight. Raise
HIGHpipenv/patched/pip/_vendor/rich/progress_bar.py129Renders the pulse animation. Args: console (Console): Console instance. width (int): Wi
HIGHpipenv/patched/pip/_vendor/rich/prompt.py228Process response from user, convert to prompt type. Args: value (str): String typed by user.
HIGHpipenv/patched/pip/_vendor/rich/progress.py1244Track progress file reading from a binary file. Args: file (BinaryIO): A file-like object opened in
HIGHpipenv/patched/pip/_vendor/rich/progress.py1323Track progress while reading from a binary file. Args: path (Union[str, PathLike[str]]): The path t
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.
Over-Commented Block63 hits · 62 pts
SeverityFileLineSnippet
LOWpipenv/shells.py201 os.environ.pop("LINES", None)
LOWpipenv/shells.py221 # sentinel must be consumed *twice* in that drain: once for the shell
LOWpipenv/__version__.py1# ___ ( ) ___ ___ __
LOWpipenv/utils/funktools.py341 f"''{fn}''",
LOWpipenv/utils/requirementslib.py301# in the boltons library by Mahmoud Hashemi and distributed under the BSD license
LOWpipenv/utils/requirementslib.py321# prior written permission.
LOWpipenv/utils/resolver.py421 constraints.add(dep)
LOWpipenv/utils/resolver.py561 # is disabled. See https://github.com/pypa/pipenv/issues/5715
LOWpipenv/cli/options.py621 # -h/--help placed *before* run_command triggers help; anything after
LOWpipenv/patched/pip/_internal/pyproject.py101 package=req_name,
LOWpipenv/patched/pip/_internal/network/session.py361 # have.
LOWpipenv/patched/pip/_internal/network/utils.py1from collections.abc import Generator
LOWpipenv/patched/pip/_internal/network/utils.py61) -> Generator[bytes, None, None]:
LOWpipenv/patched/pip/_internal/utils/subprocess.py81 log_failed_cmd: if false, failed commands are not logged, only raised.
LOWpipenv/patched/pip/_internal/utils/packaging.py41 # constructed). This method adds a cache to requirement object creation to
LOWpipenv/patched/pip/_internal/utils/glibc.py41 # manpage says, "If filename is NULL, then the returned handle is for the
LOWpipenv/patched/pip/_internal/utils/glibc.py81# ('glibc', '2.9')
LOWpipenv/patched/pip/_internal/utils/unpacking.py241 member.linkname = lnk_rest
LOW…nv/patched/pip/_internal/models/installation_report.py21 # record origin.json.
LOWpipenv/patched/pip/_internal/cli/cmdoptions.py921 # command-line, since the option doesn't accept arguments. However,
LOWpipenv/patched/pip/_internal/cli/main.py21# https://pip.pypa.io/en/stable/user_guide/#using-pip-from-your-program.
LOWpipenv/patched/pip/_internal/operations/prepare.py341 # and raise some more informative errors than otherwise.
LOW…penv/patched/pip/_internal/operations/install/wheel.py281 # a *different* version of Python the entry points will be wrong. The
LOWpipenv/patched/pip/_internal/req/req_install.py781 # over self.req.name, which may be the canonicalised (lowercased) form
LOWpipenv/patched/pip/_internal/locations/__init__.py61if not _USE_SYSCONFIG:
LOWpipenv/patched/pip/_internal/index/collector.py141 # blindly use any cached data, however the benefit of
LOWpipenv/patched/pip/_internal/commands/cache.py241 # normalized to underscores (_), meaning hyphens can never occur
LOWpipenv/patched/pip/_internal/metadata/pkg_resources.py281 if dist:
LOWpipenv/patched/pip/_internal/distributions/sdist.py41 # Load pyproject.toml
LOWpipenv/patched/pip/_vendor/__init__.py21# is done to support downstream re-distributors like Debian and Fedora who
LOWpipenv/patched/pip/_vendor/packaging/metadata.py181
LOWpipenv/patched/pip/_vendor/packaging/metadata.py201 # answer with what to do in that case. As such, we'll do the only
LOWpipenv/patched/pip/_vendor/packaging/metadata.py241# The various parse_FORMAT functions here are intended to be as lenient as
LOWpipenv/patched/pip/_vendor/packaging/metadata.py361 # We use get_all() here, even for fields that aren't multiple use,
LOWpipenv/patched/pip/_vendor/packaging/metadata.py381
LOWpipenv/patched/pip/_vendor/packaging/metadata.py421 raw_name = _EMAIL_TO_RAW_MAPPING.get(name)
LOWpipenv/patched/pip/_vendor/packaging/metadata.py441 if raw_name in _STRING_FIELDS and len(value) == 1:
LOWpipenv/patched/pip/_vendor/packaging/metadata.py461 # The project urls is implemented in the metadata spec as a list of
LOWpipenv/patched/pip/_vendor/packaging/markers.py341 # packaging.requirements.Requirement. If any additional logic is
LOW…env/patched/pip/_vendor/packaging/licenses/__init__.py1#######################################################################################
LOW…env/patched/pip/_vendor/packaging/licenses/__init__.py21# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
LOWpipenv/patched/pip/_vendor/truststore/_openssl.py21_HASHED_CERT_FILENAME_RE = re.compile(r"^[0-9a-fA-F]{8}\.[0-9]$")
LOWpipenv/patched/pip/_vendor/pygments/lexer.py681 #: Dict of ``{'state': [(regex, tokentype, new_state), ...], ...}``
LOWpipenv/patched/pip/_vendor/distlib/compat.py121 # RFC 6125, section 6.4.3, subitem 1.
LOWpipenv/patched/pip/_vendor/distlib/util.py301 return result
LOWpipenv/patched/pip/_vendor/distlib/scripts.py221 # Issue #51: don't use fsencode, since we later try to
LOWpipenv/patched/pip/_vendor/distro/distro.py1#!/usr/bin/env python
LOWpipenv/patched/pip/_vendor/distro/distro.py81#:
LOWpipenv/patched/pip/_vendor/requests/sessions.py401 #: Dictionary mapping protocol or protocol and host to the URL of the proxy
LOWpipenv/patched/pip/_vendor/requests/sessions.py421 #: presented by the server, and will ignore hostname mismatches and/or
LOWpipenv/patched/pip/_vendor/requests/models.py681 #: Encoding to decode with when accessing r.text.
LOWpipenv/patched/pip/_vendor/tomli/_parser.py21 from collections.abc import Iterable
LOWpipenv/patched/pip/_vendor/certifi/core.py21 def where() -> str:
LOWpipenv/patched/pip/_vendor/certifi/core.py61 # it in a global variable.
LOWpipenv/patched/pip/_vendor/rich/highlighter.py161 #
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).
LOWpipenv/patched/pip/_vendor/urllib3/response.py1021 with self._error_catcher():
LOWpipenv/patched/pip/_vendor/urllib3/util/wait.py1from __future__ import annotations
LOWpipenv/patched/pip/_vendor/urllib3/util/response.py61 # we're only interested in the result if it's not a multipart message
LOWdocs/workflows.md221
3 more matches not shown…
Cross-Language Confusion10 hits · 50 pts
SeverityFileLineSnippet
HIGHpipenv/shells.py144 return "deactivate() { command deactivate 2>/dev/null; unset PIPENV_ACTIVE; }"
HIGHpipenv/patched/pip/_internal/commands/completion.py20 PIP_AUTO_COMPLETE=1 "$1" 2>/dev/null ) )
HIGHpipenv/patched/pip/_internal/commands/completion.py29 PIP_AUTO_COMPLETE=1 $words[1] 2>/dev/null )
HIGHpipenv/patched/pip/_vendor/distlib/compat.py589 def new_child(self): # like Django's Context.push()
HIGHpipenv/patched/pip/_vendor/rich/logging.py172 # Handles pythonw, where stdout/stderr are null, and we return NullFile
HIGHpipenv/patched/pip/_vendor/rich/tree.py171 style_stack.push(get_style(node.style))
HIGHpipenv/patched/pip/_vendor/rich/tree.py172 guide_style_stack.push(get_style(node.guide_style))
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",
HIGHtests/integration/test_run.py35multicommand = "bash -c \"cd docs && make html\""
HIGHtests/integration/test_run.py60 assert script.args == ["-c", "cd docs && make html"]
Hallucination Indicators4 hits · 35 pts
SeverityFileLineSnippet
CRITICALpipenv/patched/pip/_internal/cli/req_command.py261 return pipenv.patched.pip._internal.resolution.resolvelib.resolver.Resolver(
CRITICALpipenv/patched/pip/_internal/cli/req_command.py276 return pipenv.patched.pip._internal.resolution.legacy.resolver.Resolver(
CRITICALpipenv/patched/pip/_internal/commands/debug.py189 show_value("pipenv.patched.pip._vendor.certifi.where()", where())
CRITICALpipenv/patched/pip/_vendor/pygments/sphinxext.py87 self.state.document.settings.record_dependencies.add(fn)
AI Slop Vocabulary19 hits · 34 pts
SeverityFileLineSnippet
MEDIUMpipenv/shells.py120 # For now, return empty as nu has different paradigm
MEDIUMpipenv/utils/markers.py554 # Essentially we will iterate over each side of the parsed marker if either one is
LOWpipenv/patched/pip/_internal/network/auth.py500 # We are not able to prompt the user so simply return the response
MEDIUMpipenv/patched/pip/_internal/network/session.py84# CI traffic to PyPI. Thus, it is okay if the list is not comprehensive.
LOWpipenv/patched/pip/_internal/cli/parser.py170 # If its not a list, we should abort and just return the help text
LOWpipenv/patched/pip/_vendor/packaging/metadata.py214 # is unparsable, and we can just add the whole thing to our
LOWpipenv/patched/pip/_vendor/packaging/metadata.py410 # This is already a string, so just add it.
LOWpipenv/patched/pip/_vendor/packaging/metadata.py439 # what we should parse it as, and we have to just add it to our list
LOWpipenv/patched/pip/_vendor/packaging/specifiers.py995 # version. If it's not we can short circuit and just return False now
LOWpipenv/patched/pip/_vendor/packaging/specifiers.py1020 # version. If it's not we can short circuit and just return False now
LOWpipenv/patched/pip/_vendor/packaging/specifiers.py1424 # then we'll just return None since we don't know if this should have
LOWpipenv/patched/pip/_vendor/distlib/compat.py253 # what file suffixes are executable, so just pass on cmd as-is.
MEDIUMpipenv/patched/pip/_vendor/requests/sessions.py681 # Set defaults that the hooks can utilize to ensure they always have
LOWpipenv/patched/pip/_vendor/requests/models.py635 # method. To prevent iterating over None, simply use an empty list
LOWpipenv/patched/pip/_vendor/requests/utils.py448 # a UNC path, then just return the value without quotes. Using the
LOWpipenv/patched/pip/_vendor/certifi/core.py70 # file, it will just return the file system location and the
MEDIUMpipenv/patched/pip/_vendor/urllib3/exceptions.py251 """Response needs to be chunked in order to read it as chunks."""
LOWpipenv/patched/pip/_vendor/pkg_resources/__init__.py2# For now we'd simply use implicit Any/Unknown which would add redundant annotations
MEDIUMtests/unit/test_core.py208 # Test nushell - returns empty for now (different paradigm)
Verbosity Indicators9 hits · 12 pts
SeverityFileLineSnippet
LOWtests/integration/test_upgrade.py64 # Step 1: Install initial dependency version
LOWtests/integration/test_upgrade.py75 # Step 2: Update Pipfile to allow any version of google-api-core
LOWtests/integration/test_upgrade.py84 # Step 3: Update protobuf to an incompatible version
LOWtests/integration/test_upgrade.py88 # Step 4: Check the lockfile for incompatible dependencies
LOWtests/integration/test_upgrade.py101 # Step 5: Run pipenv lock to check for dependency resolution errors
LOWtests/integration/test_dot_venv.py188 # Step 1: create the pipenv-managed virtualenv in WORKON_HOME.
LOWtests/integration/test_dot_venv.py197 # Step 2: user independently creates a .venv dir in the project root.
LOWtests/integration/test_dot_venv.py201 # Step 3: `--venv` should still report the pipenv-managed venv.
LOWtests/integration/test_dot_venv.py209 # Step 4: `--rm` must remove the pipenv-managed venv, not .venv.
Slop Phrases4 hits · 7 pts
SeverityFileLineSnippet
LOWpipenv/patched/pip/_vendor/packaging/markers.py342 # added here, make sure to mirror/adapt Requirement.
MEDIUMpipenv/patched/pip/_vendor/distlib/util.py1528 # you can use the following handler class, which does not allow HTTP traffic.
LOWpipenv/patched/pip/_vendor/urllib3/response.py1140 # TODO make sure to initially read enough data to get past the headers
MEDIUMpipenv/patched/pip/_vendor/urllib3/util/wait.py12# There are two types of APIs you can use for waiting on sockets: the fancy
Fake / Example Data4 hits · 3 pts
SeverityFileLineSnippet
LOWpipenv/patched/pip/_vendor/rich/text.py1340 """\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolo
LOWpipenv/patched/pip/_vendor/rich/text.py1340 """\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolo
LOWpipenv/patched/pip/_vendor/rich/__main__.py71 lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque in metus sed sapien ultricies pretium a at
LOWpipenv/patched/pip/_vendor/rich/__main__.py71 lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque in metus sed sapien ultricies pretium a at