Python Development Workflow for Humans.
2274 matches across 16 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tasks/vendoring/__init__.py | 222 | def _ensure_package_in_requirements(ctx, requirements_file, package): |
| LOW | tasks/vendoring/__init__.py | 387 | def packages_missing_licenses( |
| LOW | tasks/vendoring/__init__.py | 650 | def unpin_and_copy_requirements(ctx, requirement_file, name="requirements.txt"): |
| LOW | tasks/vendoring/__init__.py | 680 | def unpin_and_update_vendored(ctx, vendor=False, patched=True): |
| LOW | pipenv/shells.py | 86 | def _get_deactivate_wrapper_script(cmd): |
| LOW | pipenv/installers.py | 79 | def _find_python_installer_by_name_and_env(name, env_var): |
| LOW | pipenv/installers.py | 134 | def iter_installable_versions(self): |
| LOW | pipenv/installers.py | 185 | def iter_installable_versions(self): |
| LOW | pipenv/installers.py | 212 | def iter_installable_versions(self): |
| LOW | pipenv/installers.py | 292 | def iter_installable_versions(self): |
| LOW | pipenv/resolver.py | 507 | def _apply_python_version_override(): |
| LOW | pipenv/environment.py | 625 | def _get_requirements_for_package(cls, node, key_tree, parent=None, chain=None): |
| LOW | pipenv/project.py | 294 | def get_requests_session_for_source(self, source): |
| LOW | pipenv/project.py | 351 | def get_hashes_from_remote_index_urls(self, ireq, source): |
| LOW | pipenv/project.py | 492 | def get_location_for_virtualenv(self) -> Path: |
| LOW | pipenv/project.py | 684 | def virtualenv_scripts_location(self) -> Path: |
| LOW | pipenv/project.py | 1266 | def get_package_name_in_pipfile(self, package_name, category): |
| LOW | pipenv/project.py | 1298 | def remove_package_from_pipfile(self, package_name, category): |
| LOW | pipenv/project.py | 1317 | def reset_category_in_pipfile(self, category): |
| LOW | pipenv/project.py | 1327 | def remove_packages_from_pipfile(self, packages): |
| LOW | pipenv/project.py | 1340 | def generate_package_pipfile_entry(self, package, pip_line, category=None, index_name=None, no_binary=False): |
| LOW | pipenv/project.py | 1435 | def add_pipfile_entry_to_pipfile(self, name, normalized_name, entry, category=None): |
| LOW | pipenv/project.py | 1463 | def add_packages_to_pipfile_batch(self, packages_data, dev=False, categories=None): |
| LOW | pipenv/utils/internet.py | 138 | def _strip_credentials_from_url( |
| LOW | pipenv/utils/internet.py | 167 | def _read_existing_netrc_content() -> str: |
| LOW | pipenv/utils/pylock.py | 592 | def get_packages_for_environment( |
| LOW | pipenv/utils/pylock.py | 645 | def convert_to_pipenv_lockfile(self) -> Dict[str, Any]: |
| LOW | pipenv/utils/requirementslib.py | 78 | def add_ssh_scheme_to_git_uri(uri): |
| LOW | pipenv/utils/locking.py | 46 | def format_requirement_for_lockfile( |
| LOW | pipenv/utils/locking.py | 248 | >>> def raise_exception_while_writing(filename): |
| LOW | pipenv/utils/locking.py | 258 | >>> def raise_exception_while_writing(filename): |
| LOW | pipenv/utils/requirements.py | 157 | def requirement_from_lockfile( |
| LOW | pipenv/utils/requirements.py | 247 | def requirements_from_lockfile(deps, include_hashes=True, include_markers=True): |
| LOW | pipenv/utils/requirements.py | 374 | def requirements_from_pipfile(deps, include_markers=True): |
| LOW | pipenv/utils/resolver.py | 54 | def _is_python_version_specifier(value): |
| LOW | pipenv/utils/resolver.py | 62 | def _get_pipfile_python_override(project): |
| LOW | pipenv/utils/resolver.py | 131 | def _patched_marker_environment(override): |
| LOW | pipenv/utils/resolver.py | 149 | def _patched_default_environment(): |
| LOW | pipenv/utils/resolver.py | 349 | def check_if_package_req_skipped( |
| LOW | pipenv/utils/resolver.py | 628 | def parsed_default_constraints(self): |
| LOW | pipenv/utils/resolver.py | 1045 | def _generate_resolution_cache_key( |
| LOW | pipenv/utils/resolver.py | 1090 | def _should_use_resolution_cache(cache_key, clear): |
| LOW | pipenv/utils/resolver.py | 1246 | def _append_resolved_default_deps_args(cmd, resolved_default_deps): |
| LOW | pipenv/utils/markers.py | 214 | def get_sorted_version_string(version_set): |
| LOW | pipenv/utils/markers.py | 388 | def _markers_collect_pyversions(markers, collection): |
| LOW | pipenv/utils/markers.py | 407 | def _markers_contains_pyversion(markers): |
| LOW | pipenv/utils/markers.py | 502 | def _get_specifiers_from_markers(marker_item): |
| LOW | pipenv/utils/virtualenv.py | 472 | def _find_python_for_specifier(specifier_str, pyenv_only=False): |
| LOW | pipenv/utils/virtualenv.py | 511 | def find_python_from_py_launcher(version): |
| LOW | pipenv/utils/virtualenv.py | 643 | def inline_activate_virtual_environment(project): |
| LOW | pipenv/utils/virtualenv.py | 678 | def _inline_activate_virtualenv(project): |
| LOW | pipenv/utils/project.py | 19 | def _python_version_matches_required(actual_ver_str, required_ver_str): |
| LOW | pipenv/utils/project.py | 194 | def get_default_pyproject_backend(): |
| LOW | pipenv/utils/dependencies.py | 88 | def get_lockfile_section_using_pipfile_category(category): |
| LOW | pipenv/utils/dependencies.py | 96 | def get_pipfile_category_using_lockfile_section(category): |
| LOW | pipenv/utils/dependencies.py | 877 | def determine_vcs_revision_hash( |
| LOW | pipenv/utils/dependencies.py | 1401 | def get_constraints_from_deps(deps): |
| LOW | pipenv/utils/dependencies.py | 238 | def _file_url_to_relative_path(file_url, base_dir): |
| LOW | pipenv/utils/dependencies.py | 452 | def dependency_as_pip_install_line( |
| LOW | pipenv/utils/dependencies.py | 715 | def find_package_name_from_tarball(tarball_filepath): |
| 793 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | pipenv/__init__.py | 31 | |
| LOW | pipenv/resolver.py | 46 | |
| LOW | pipenv/environment.py | 1 | |
| LOW | pipenv/project.py | 1 | |
| LOW | pipenv/utils/__init__.py | 4 | |
| LOW | pipenv/utils/processes.py | 9 | |
| LOW | pipenv/utils/indexes.py | 1 | |
| LOW | pipenv/utils/indexes.py | 13 | |
| LOW | pipenv/utils/indexes.py | 13 | |
| LOW | pipenv/utils/indexes.py | 13 | |
| LOW | pipenv/cli/__init__.py | 1 | |
| LOW | pipenv/patched/pip/__init__.py | 1 | |
| LOW | pipenv/patched/pip/_internal/configuration.py | 14 | |
| LOW | pipenv/patched/pip/_internal/pyproject.py | 1 | |
| LOW | pipenv/patched/pip/_internal/cache.py | 3 | |
| LOW | pipenv/patched/pip/_internal/__init__.py | 1 | |
| LOW | pipenv/patched/pip/_internal/exceptions.py | 8 | |
| LOW | pipenv/patched/pip/_internal/main.py | 1 | |
| LOW | pipenv/patched/pip/_internal/wheel_builder.py | 3 | |
| LOW | pipenv/patched/pip/_internal/self_outdated_check.py | 1 | |
| LOW | pipenv/patched/pip/_internal/build_env.py | 3 | |
| LOW | pipenv/patched/pip/_internal/network/auth.py | 7 | |
| LOW | pipenv/patched/pip/_internal/network/xmlrpc.py | 13 | |
| LOW | pipenv/patched/pip/_internal/network/xmlrpc.py | 13 | |
| LOW | pipenv/patched/pip/_internal/network/xmlrpc.py | 15 | |
| LOW | pipenv/patched/pip/_internal/network/download.py | 3 | |
| LOW | pipenv/patched/pip/_internal/network/session.py | 5 | |
| LOW | pipenv/patched/pip/_internal/network/cache.py | 3 | |
| LOW | pipenv/patched/pip/_internal/network/lazy_wheel.py | 3 | |
| LOW | pipenv/patched/pip/_internal/utils/logging.py | 1 | |
| LOW | pipenv/patched/pip/_internal/utils/misc.py | 1 | |
| LOW | pipenv/patched/pip/_internal/utils/egg_link.py | 1 | |
| LOW | pipenv/patched/pip/_internal/utils/compat.py | 71 | |
| LOW | pipenv/patched/pip/_internal/utils/compat.py | 73 | |
| LOW | pipenv/patched/pip/_internal/utils/compat.py | 18 | |
| LOW | pipenv/patched/pip/_internal/utils/deprecation.py | 5 | |
| LOW | pipenv/patched/pip/_internal/utils/pylock.py | 1 | |
| LOW | pipenv/patched/pip/_internal/utils/subprocess.py | 1 | |
| LOW | pipenv/patched/pip/_internal/utils/filesystem.py | 1 | |
| LOW | …penv/patched/pip/_internal/utils/direct_url_helpers.py | 1 | |
| LOW | pipenv/patched/pip/_internal/utils/temp_dir.py | 1 | |
| LOW | pipenv/patched/pip/_internal/utils/retry.py | 1 | |
| LOW | pipenv/patched/pip/_internal/utils/packaging.py | 1 | |
| LOW | pipenv/patched/pip/_internal/utils/entrypoints.py | 1 | |
| LOW | …penv/patched/pip/_internal/utils/compatibility_tags.py | 3 | |
| LOW | pipenv/patched/pip/_internal/utils/hashes.py | 1 | |
| LOW | pipenv/patched/pip/_internal/utils/virtualenv.py | 1 | |
| LOW | pipenv/patched/pip/_internal/utils/glibc.py | 1 | |
| LOW | pipenv/patched/pip/_internal/utils/unpacking.py | 3 | |
| LOW | pipenv/patched/pip/_internal/utils/unpacking.py | 30 | |
| LOW | pipenv/patched/pip/_internal/utils/unpacking.py | 38 | |
| LOW | pipenv/patched/pip/_internal/models/link.py | 1 | |
| LOW | pipenv/patched/pip/_internal/models/selection_prefs.py | 1 | |
| LOW | pipenv/patched/pip/_internal/models/release_control.py | 1 | |
| LOW | pipenv/patched/pip/_internal/models/direct_url.py | 3 | |
| LOW | pipenv/patched/pip/_internal/models/direct_url.py | 8 | |
| LOW | pipenv/patched/pip/_internal/models/direct_url.py | 8 | |
| LOW | pipenv/patched/pip/_internal/models/direct_url.py | 8 | |
| LOW | pipenv/patched/pip/_internal/models/direct_url.py | 8 | |
| LOW | pipenv/patched/pip/_internal/models/target_python.py | 1 | |
| 516 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | pipenv/cli/options.py | 767 | # ── open ────────────────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 775 | # ── sync ────────────────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 785 | # ── clean ───────────────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 797 | # ── scripts ─────────────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 804 | # ── verify ──────────────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 810 | # ── requirements ────────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 90 | # ── Argument-adder functions (argparse) ────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 92 | # ── Individual argument-adder functions ────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 306 | # ── Option group composers ──────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 367 | # ── PIPENV_ environment variable overlay ───────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 422 | # ── Main parser factory ─────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 521 | # ── install ────────────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 533 | # ── remove ─────────────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 539 | # ── upgrade ────────────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 551 | # ── uninstall ───────────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 574 | # ── lock ───────────────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 579 | # ── shell ───────────────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 605 | # ── activate ────────────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 615 | # ── run ─────────────────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 645 | # ── check ───────────────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 702 | # ── audit ───────────────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 739 | # ── update ──────────────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 755 | # ── graph ───────────────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 832 | # ── pylock ──────────────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 849 | # ── State builder (argparse Namespace → State) ──────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 863 | # ── Global / common fields ─────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 873 | # ── Validation ─────────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 890 | # ── Verbosity ──────────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 902 | # ── InstallState ───────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/options.py | 923 | # ── LockOptions ────────────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/command.py | 693 | # ── Root-level (no subcommand) ──────────────────────────────────────────── |
| MEDIUM | pipenv/cli/command.py | 780 | # ── Subcommand --help ───────────────────────────────────────────────────── |
| MEDIUM | pipenv/cli/command.py | 793 | # ── Dispatch ────────────────────────────────────────────────────────────── |
| MEDIUM | …env/patched/pip/_vendor/packaging/dependency_groups.py | 23 | # ----------- |
| MEDIUM | …env/patched/pip/_vendor/packaging/dependency_groups.py | 25 | # ----------- |
| MEDIUM | …env/patched/pip/_vendor/packaging/dependency_groups.py | 64 | # ------------------------ |
| MEDIUM | …env/patched/pip/_vendor/packaging/dependency_groups.py | 66 | # ------------------------ |
| MEDIUM | …env/patched/pip/_vendor/packaging/dependency_groups.py | 250 | # -------------------- |
| MEDIUM | …env/patched/pip/_vendor/packaging/dependency_groups.py | 252 | # -------------------- |
| MEDIUM | …env/patched/pip/_vendor/packaging/dependency_groups.py | 269 | # ---------------- |
| MEDIUM | …env/patched/pip/_vendor/packaging/dependency_groups.py | 271 | # ---------------- |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/_parser.py | 95 | # -------------------------------------------------------------------------------------- |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/_parser.py | 97 | # -------------------------------------------------------------------------------------- |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/_parser.py | 289 | # -------------------------------------------------------------------------------------- |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/_parser.py | 291 | # -------------------------------------------------------------------------------------- |
| MEDIUM | pipenv/patched/pip/_vendor/pygments/lexer.py | 325 | # ------------------------------------------------------------------------------ |
| MEDIUM | pipenv/patched/pip/_vendor/requests/compat.py | 24 | # ------------------- |
| MEDIUM | pipenv/patched/pip/_vendor/requests/compat.py | 26 | # ------------------- |
| MEDIUM | pipenv/patched/pip/_vendor/requests/compat.py | 62 | # -------------- |
| MEDIUM | pipenv/patched/pip/_vendor/requests/compat.py | 64 | # -------------- |
| MEDIUM | tests/unit/test_cmdparse.py | 35 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/test_cmdparse.py | 37 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/test_cmdparse.py | 161 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/test_cmdparse.py | 163 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/test_cmdparse.py | 5 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/test_cmdparse.py | 7 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/test_utils.py | 1598 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/test_utils.py | 1600 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/test_dependencies.py | 100 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/test_dependencies.py | 102 | # --------------------------------------------------------------------------- |
| 35 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tasks/vendoring/__init__.py | 114 | |
| LOW | tasks/vendoring/__init__.py | 139 | |
| LOW | tasks/vendoring/__init__.py | 222 | |
| LOW | tasks/vendoring/__init__.py | 246 | |
| LOW | tasks/vendoring/__init__.py | 387 | |
| LOW | tasks/vendoring/__init__.py | 440 | |
| LOW | pipenv/shells.py | 40 | |
| LOW | pipenv/shells.py | 86 | |
| LOW | pipenv/resolver.py | 254 | |
| LOW | pipenv/environment.py | 156 | |
| LOW | pipenv/environment.py | 691 | |
| LOW | pipenv/environment.py | 735 | |
| LOW | pipenv/exceptions.py | 79 | |
| LOW | pipenv/exceptions.py | 435 | |
| LOW | pipenv/exceptions.py | 331 | |
| LOW | pipenv/exceptions.py | 398 | |
| LOW | pipenv/project.py | 351 | |
| LOW | pipenv/project.py | 492 | |
| LOW | pipenv/project.py | 1032 | |
| LOW | pipenv/project.py | 1099 | |
| LOW | pipenv/project.py | 1340 | |
| LOW | pipenv/project.py | 1463 | |
| LOW | pipenv/utils/pipfile.py | 74 | |
| LOW | pipenv/utils/pipfile.py | 330 | |
| LOW | pipenv/utils/funktools.py | 98 | |
| LOW | pipenv/utils/funktools.py | 138 | |
| LOW | pipenv/utils/funktools.py | 244 | |
| LOW | pipenv/utils/funktools.py | 284 | |
| LOW | pipenv/utils/funktools.py | 389 | |
| LOW | pipenv/utils/pylock.py | 47 | |
| LOW | pipenv/utils/pylock.py | 209 | |
| LOW | pipenv/utils/pylock.py | 260 | |
| LOW | pipenv/utils/pylock.py | 417 | |
| LOW | pipenv/utils/pylock.py | 592 | |
| LOW | pipenv/utils/requirementslib.py | 354 | |
| LOW | pipenv/utils/requirementslib.py | 415 | |
| LOW | pipenv/utils/requirementslib.py | 434 | |
| LOW | pipenv/utils/requirementslib.py | 470 | |
| LOW | pipenv/utils/indexes.py | 18 | |
| LOW | pipenv/utils/locking.py | 46 | |
| LOW | pipenv/utils/locking.py | 163 | |
| LOW | pipenv/utils/locking.py | 352 | |
| LOW | pipenv/utils/locking.py | 563 | |
| LOW | pipenv/utils/requirements.py | 66 | |
| LOW | pipenv/utils/requirements.py | 262 | |
| LOW | pipenv/utils/resolver.py | 1182 | |
| LOW | pipenv/utils/resolver.py | 1284 | |
| LOW | pipenv/utils/resolver.py | 1526 | |
| LOW | pipenv/utils/resolver.py | 362 | |
| LOW | pipenv/utils/resolver.py | 812 | |
| LOW | pipenv/utils/resolver.py | 1202 | |
| LOW | pipenv/utils/markers.py | 542 | |
| LOW | pipenv/utils/environment.py | 9 | |
| LOW | pipenv/utils/pip.py | 18 | |
| LOW | pipenv/utils/virtualenv.py | 51 | |
| LOW | pipenv/utils/virtualenv.py | 214 | |
| LOW | pipenv/utils/virtualenv.py | 291 | |
| LOW | pipenv/utils/virtualenv.py | 472 | |
| LOW | pipenv/utils/project.py | 58 | |
| LOW | pipenv/utils/dependencies.py | 265 | |
| 241 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | pipenv/resolver.py | 33 | # Create a minimal shim that re-exports from typing |
| MEDIUM | pipenv/project.py | 692 | # Create the directory, if it doesn't exist. |
| MEDIUM | pipenv/utils/pipfile.py | 64 | # Create a Path object for the potential Pipfile |
| MEDIUM | pipenv/utils/pipfile.py | 96 | # Create a Pipfile... |
| MEDIUM | pipenv/utils/pipfile.py | 119 | # Create the pipfile if it doesn't exist. |
| MEDIUM | pipenv/utils/pylock.py | 88 | # Create the basic pylock.toml structure |
| MEDIUM | pipenv/utils/pylock.py | 304 | # Create the basic pylock.toml structure |
| MEDIUM | pipenv/utils/pylock.py | 425 | # Create a deep copy of the data to avoid modifying the original |
| MEDIUM | pipenv/utils/pylock.py | 651 | # Create the basic structure |
| MEDIUM | pipenv/utils/pylock.py | 708 | # Create the package entry |
| MEDIUM | pipenv/utils/fileutils.py | 122 | # Create an absolute path |
| MEDIUM | pipenv/utils/fileutils.py | 183 | # Creating a buffer-like object |
| MEDIUM | pipenv/utils/shell.py | 85 | # Create a PurePath which won't access the filesystem |
| MEDIUM | pipenv/utils/requirementslib.py | 300 | # The following functionality is either borrowed or modified from the itertools module |
| MEDIUM | pipenv/utils/resolver.py | 1071 | # Create a deterministic representation of dependencies |
| MEDIUM | pipenv/utils/dependencies.py | 870 | # Create a temporary directory using mkdtemp |
| MEDIUM | pipenv/utils/dependencies.py | 1395 | # Create the Requirement instance |
| MEDIUM | pipenv/utils/dependencies.py | 1409 | # Creating a constraint as a canonical name plus a version specifier |
| MEDIUM | pipenv/routines/lock.py | 47 | # Create the lockfile. |
| MEDIUM | pipenv/patched/pip/_internal/req/constructors.py | 199 | # Create a steppable iterator, so we can handle \-continuations. |
| MEDIUM | pipenv/patched/pip/_internal/commands/list.py | 240 | # Create a set to remove duplicate packages, and cast it to a list |
| MEDIUM | pipenv/patched/pip/_internal/commands/install.py | 422 | # Create a target directory for using with the target option |
| MEDIUM | pipenv/patched/pip/_vendor/__init__.py | 26 | # Define a small helper function to alias our vendored modules to the real ones |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/tags.py | 1 | # This file is dual licensed under the terms of the Apache License, Version |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/metadata.py | 290 | # This class is for writing RFC822 messages |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/metadata.py | 307 | # This class is for writing RFC822 messages |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/version.py | 1 | # This file is dual licensed under the terms of the Apache License, Version |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/__init__.py | 1 | # This file is dual licensed under the terms of the Apache License, Version |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/utils.py | 1 | # This file is dual licensed under the terms of the Apache License, Version |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/requirements.py | 1 | # This file is dual licensed under the terms of the Apache License, Version |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/_structures.py | 1 | # This file is dual licensed under the terms of the Apache License, Version |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/markers.py | 1 | # This file is dual licensed under the terms of the Apache License, Version |
| MEDIUM | pipenv/patched/pip/_vendor/packaging/specifiers.py | 1 | # This file is dual licensed under the terms of the Apache License, Version |
| MEDIUM | pipenv/patched/pip/_vendor/truststore/_windows.py | 528 | # Create a custom cert chain engine which exclusively trusts |
| MEDIUM | pipenv/patched/pip/_vendor/distlib/util.py | 1580 | # The above classes only come into play if a timeout |
| MEDIUM | pipenv/patched/pip/_vendor/idna/idnadata.py | 1 | # This file is automatically generated by tools/idna-data |
| MEDIUM | pipenv/patched/pip/_vendor/idna/uts46data.py | 1 | # This file is automatically generated by tools/idna-data |
| MEDIUM | pipenv/patched/pip/_vendor/requests/sessions.py | 565 | # Create the Request. |
| MEDIUM | …pip/_vendor/pyproject_hooks/_in_process/_in_process.py | 27 | # This file is run as a script, and `import wrappers` is not zip-safe, so we |
| MEDIUM | pipenv/patched/pip/_vendor/rich/console.py | 2014 | """This function is called when a `BrokenPipeError` is raised. |
| MEDIUM | pipenv/patched/pip/_vendor/urllib3/util/url.py | 266 | output = [] # Initialize the variable to use to store output |
| MEDIUM | pipenv/patched/pip/_vendor/urllib3/util/connection.py | 23 | # This function is copied from socket.py in the Python 2.7 standard |
| MEDIUM | pipenv/patched/pip/_vendor/urllib3/util/connection.py | 104 | """This function is designed to work in the context of |
| MEDIUM | pipenv/patched/pip/_vendor/urllib3/http2/probe.py | 66 | """This function is for testing purposes only. Gets the current state of the probe cache""" |
| MEDIUM | pipenv/patched/pip/_vendor/urllib3/http2/probe.py | 71 | """This function is for testing purposes only. Reset the cache values""" |
| MEDIUM | …patched/pip/_vendor/resolvelib/resolvers/resolution.py | 254 | # Create a new state from the last known-to-work one, and apply |
| MEDIUM | tests/unit/test_utils.py | 716 | # Create a package directory structure |
| MEDIUM | tests/unit/test_utils.py | 720 | # Create a proper setup.py in the root with a parseable name |
| MEDIUM | tests/unit/test_utils.py | 726 | # Create a tests subdirectory with a file that has a setup() call |
| MEDIUM | tests/unit/test_utils.py | 746 | # Create a package directory structure |
| MEDIUM | tests/unit/test_utils.py | 792 | # Create a mock configuration that returns index-url |
| MEDIUM | tests/unit/test_utils.py | 1933 | # Create the virtualenv dir so .project file write succeeds |
| MEDIUM | tests/unit/test_utils_windows_executable.py | 8 | # This module is run only on Windows. |
| MEDIUM | tests/unit/test_core.py | 724 | # Create a fake subprocess result that succeeds |
| MEDIUM | tests/unit/test_pylock.py | 201 | # Create a simple Pipfile.lock |
| MEDIUM | tests/unit/test_pylock.py | 328 | # Create a simple PylockFile |
| MEDIUM | tests/unit/test_pylock.py | 395 | # Create a pylock file with various markers using PEP 751 syntax |
| MEDIUM | tests/unit/test_pylock.py | 245 | # Create a PylockFile from the Pipfile.lock |
| MEDIUM | tests/unit/test_pylock.py | 270 | # Create a Pipfile.lock with a wildcard version |
| MEDIUM | tests/unit/test_pylock.py | 297 | # Create a PylockFile from the Pipfile.lock |
| 30 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tasks/vendoring/__init__.py | 739 | print(f"Error downloading {link}") |
| LOW | pipenv/shells.py | 240 | except Exception: |
| LOW | pipenv/shells.py | 267 | except Exception: |
| LOW | pipenv/resolver.py | 143 | except Exception: # noqa: PERF203 |
| LOW | pipenv/environment.py | 187 | except Exception: |
| LOW | pipenv/environment.py | 662 | except Exception as e: |
| MEDIUM | pipenv/exceptions.py | 26 | print(f"Error: {self.format_message()}", file=file) |
| LOW | pipenv/project.py | 408 | except Exception: |
| LOW | pipenv/project.py | 779 | except Exception: |
| LOW | pipenv/project.py | 868 | except Exception: |
| LOW | pipenv/project.py | 876 | except Exception: |
| LOW | pipenv/project.py | 934 | except Exception as e: |
| LOW | pipenv/project.py | 1106 | except Exception: |
| LOW | pipenv/project.py | 1165 | except Exception as e: |
| LOW | pipenv/utils/pipfile.py | 31 | except Exception: |
| LOW | pipenv/utils/pipfile.py | 104 | except Exception: |
| LOW | pipenv/utils/pipfile.py | 172 | except Exception: |
| LOW | pipenv/utils/internet.py | 263 | except Exception: |
| LOW | pipenv/utils/pylock.py | 85 | except Exception as e: |
| LOW | pipenv/utils/pylock.py | 243 | except Exception as e: |
| LOW | pipenv/utils/pylock.py | 296 | except Exception as e: |
| LOW | pipenv/utils/pylock.py | 408 | except Exception: |
| LOW | pipenv/utils/pylock.py | 543 | except Exception as e: |
| LOW | pipenv/utils/shell.py | 164 | except Exception: |
| LOW | pipenv/utils/shell.py | 290 | except Exception: |
| LOW | pipenv/utils/shell.py | 677 | except Exception: # pragma: no cover |
| MEDIUM | pipenv/utils/shell.py | 674 | def isatty(stream): |
| LOW | pipenv/utils/requirementslib.py | 605 | except Exception: |
| LOW | pipenv/utils/locking.py | 617 | except Exception: |
| LOW | pipenv/utils/resolver.py | 1426 | except Exception: |
| MEDIUM | pipenv/utils/resolver.py | 1492 | err.print(f"Error: {c.stderr.strip()}") |
| MEDIUM | pipenv/utils/virtualenv.py | 449 | err.print("Something went wrong...") |
| LOW | pipenv/utils/virtualenv.py | 497 | except Exception: |
| LOW | pipenv/utils/virtualenv.py | 566 | except Exception: |
| LOW | pipenv/utils/virtualenv.py | 690 | except Exception: |
| MEDIUM | pipenv/utils/virtualenv.py | 678 | def _inline_activate_virtualenv(project): |
| LOW | pipenv/utils/project.py | 53 | except Exception: |
| LOW | pipenv/utils/project.py | 125 | except Exception: |
| LOW | pipenv/utils/dependencies.py | 78 | except Exception: |
| LOW | pipenv/utils/dependencies.py | 885 | except Exception as e: |
| LOW | pipenv/utils/dependencies.py | 1251 | except Exception as e: |
| MEDIUM | pipenv/cli/command.py | 269 | err.print("Error: Missing argument 'command'.") |
| LOW | pipenv/cli/command.py | 518 | except Exception as e: |
| LOW | pipenv/cli/command.py | 541 | except Exception as e: |
| LOW | pipenv/cli/command.py | 571 | except Exception as e: |
| LOW | pipenv/cli/command.py | 584 | except Exception as e: |
| LOW | pipenv/routines/update.py | 171 | except Exception as e: # noqa: PERF203 |
| LOW | pipenv/routines/update.py | 211 | except Exception: # noqa: PERF203 |
| LOW | pipenv/routines/audit.py | 35 | except Exception: |
| LOW | pipenv/routines/audit.py | 267 | except Exception as e: |
| LOW | pipenv/routines/check.py | 159 | except Exception: |
| LOW | pipenv/routines/check.py | 217 | except Exception as e: |
| LOW | pipenv/routines/check.py | 393 | except Exception: |
| LOW | pipenv/routines/check.py | 441 | except Exception as e: |
| MEDIUM | pipenv/routines/uninstall.py | 38 | console.print(f"Error occurred while uninstalling package {package}.") |
| LOW | pipenv/routines/lock.py | 111 | except Exception: |
| LOW | pipenv/routines/scan.py | 217 | except Exception as e: |
| LOW | pipenv/routines/scan.py | 241 | except Exception: |
| LOW | pipenv/routines/scan.py | 295 | except Exception as e: |
| LOW | pipenv/routines/scan.py | 428 | except Exception: |
| 92 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | pipenv/patched/pip/_internal/vcs/git.py | 0 | return the path to python project root, relative to the repo root. return none if the project root is in the repo root. |
| HIGH | pipenv/patched/pip/_internal/vcs/mercurial.py | 0 | return the path to python project root, relative to the repo root. return none if the project root is in the repo root. |
| HIGH | pipenv/patched/pip/_internal/vcs/versioncontrol.py | 0 | return the path to python project root, relative to the repo root. return none if the project root is in the repo root. |
| HIGH | pipenv/patched/pip/_vendor/rich/live.py | 0 | iter_values = iter(values) try: previous_value = next(iter_values) except stopiteration: return for value in iter_values |
| HIGH | pipenv/patched/pip/_vendor/rich/progress.py | 0 | iter_values = iter(values) try: previous_value = next(iter_values) except stopiteration: return for value in iter_values |
| HIGH | pipenv/patched/pip/_vendor/rich/__main__.py | 0 | iter_values = iter(values) try: previous_value = next(iter_values) except stopiteration: return for value in iter_values |
| HIGH | pipenv/patched/pip/_vendor/platformdirs/macos.py | 0 | :return: state directory tied to the user, same as `user_data_dir` |
| HIGH | pipenv/patched/pip/_vendor/platformdirs/android.py | 0 | :return: state directory tied to the user, same as `user_data_dir` |
| HIGH | pipenv/patched/pip/_vendor/platformdirs/windows.py | 0 | :return: state directory tied to the user, same as `user_data_dir` |
| HIGH | pipenv/patched/pip/_vendor/platformdirs/macos.py | 0 | :return: runtime directory shared by users, same as `user_runtime_dir` |
| HIGH | pipenv/patched/pip/_vendor/platformdirs/android.py | 0 | :return: runtime directory shared by users, same as `user_runtime_dir` |
| HIGH | pipenv/patched/pip/_vendor/platformdirs/windows.py | 0 | :return: runtime directory shared by users, same as `user_runtime_dir` |
| HIGH | tests/unit/test_pylock.py | 0 | [[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages] [dev-packages] |
| HIGH | tests/unit/test_pylock.py | 0 | [[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages] [dev-packages] |
| HIGH | tests/unit/test_pylock.py | 0 | [[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages] [dev-packages] |
| HIGH | tests/unit/test_pylock.py | 0 | [[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages] [dev-packages] |
| HIGH | tests/unit/test_pylock.py | 0 | [[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages] [dev-packages] |
| HIGH | tests/unit/test_pylock.py | 0 | [[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages] [dev-packages] |
| HIGH | tests/unit/test_pylock.py | 0 | [[source]] url = "https://pypi.org/simple" verify_ssl = true name = "pypi" [packages] [dev-packages] |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | pipenv/project.py | 1511 | # Check if this is a new package |
| LOW | pipenv/project.py | 1535 | # Check if this is a new package |
| LOW | pipenv/project.py | 1595 | # Check if the URL already exists in any source |
| LOW | pipenv/utils/pipfile.py | 67 | # Check if it's a file |
| LOW | pipenv/utils/funktools.py | 93 | # Check if the file is readonly using two methods |
| LOW | pipenv/utils/funktools.py | 301 | # Check if the directory exists and is accessible before iterating |
| LOW | pipenv/utils/pylock.py | 622 | # Check if the package has a marker |
| LOW | pipenv/utils/fileutils.py | 159 | # Check if the link is a local path that exists |
| LOW | pipenv/utils/shell.py | 79 | # Check if it has a trailing slash which would indicate a directory |
| LOW | pipenv/utils/shell.py | 394 | # Check if it's a dictionary-like object with keys |
| LOW | pipenv/utils/shell.py | 401 | # Check if the path exists as a file |
| LOW | pipenv/utils/shell.py | 408 | # Check if the string starts with any of the scheme prefixes |
| LOW | pipenv/utils/requirementslib.py | 175 | # Check if the path exists (for local paths) |
| LOW | pipenv/utils/requirementslib.py | 179 | # Check if it's an archive file |
| LOW | pipenv/utils/requirementslib.py | 182 | # Check if it's a local installable project directory |
| LOW | pipenv/utils/requirementslib.py | 188 | # Check if it's a remote archive |
| LOW | pipenv/utils/locking.py | 288 | # Set permissions to 0644 |
| LOW | pipenv/utils/requirements.py | 35 | # Check if user is an environment variable or a standard SSH username |
| LOW | pipenv/utils/requirements.py | 41 | # Check if password is an environment variable |
| LOW | pipenv/utils/exceptions.py | 30 | # Check if backup_path is a valid path with an existing parent directory |
| LOW | pipenv/utils/virtualenv.py | 453 | # Print the results, in a beautiful blue... |
| LOW | pipenv/utils/dependencies.py | 203 | # Check if it's a file URI |
| LOW | pipenv/routines/update.py | 293 | # Check if locked version still satisfies the Pipfile specifier |
| LOW | pipenv/routines/update.py | 302 | # Check if locked version still satisfies the Pipfile specifier |
| LOW | pipenv/routines/update.py | 367 | # Check if any of the packages to upgrade are also in other categories |
| LOW | pipenv/routines/audit.py | 191 | # Check if pip-audit is installed |
| LOW | pipenv/routines/check.py | 373 | # Check if safety is installed |
| LOW | pipenv/routines/shell.py | 46 | # Set PIPENV_PROJECT_DIR to the project root directory. |
| LOW | pipenv/routines/shell.py | 110 | # Set VIRTUAL_ENV to the exact string representation |
| LOW | pipenv/routines/shell.py | 120 | # Set PIPENV_PROJECT_DIR to the project root directory. |
| LOW | pipenv/routines/scan.py | 122 | # Set stage to ci to avoid authentication prompt |
| LOW | pipenv/routines/scan.py | 411 | # Check if safety is installed |
| LOW | pipenv/routines/install.py | 503 | # Check if the file is remote or not |
| LOW | pipenv/patched/pip/_internal/network/download.py | 273 | # Check if the adapter is the CacheControlAdapter (i.e. caching is enabled) |
| LOW | pipenv/patched/pip/_internal/utils/filesystem.py | 30 | # Check if path is writable by current user. |
| LOW | pipenv/patched/pip/_internal/operations/check.py | 84 | # Check if it's missing |
| LOW | pipenv/patched/pip/_internal/operations/check.py | 93 | # Check if there's a conflict |
| LOW | pipenv/patched/pip/_internal/operations/prepare.py | 507 | # Check if the relevant file is already available |
| LOW | …patched/pip/_internal/resolution/resolvelib/factory.py | 758 | # Check if only final releases are allowed for this package |
| LOW | …atched/pip/_internal/resolution/resolvelib/resolver.py | 133 | # Check if there is already an installation under the same name, |
| LOW | pipenv/patched/pip/_internal/locations/__init__.py | 361 | # Check if this path mismatch is caused by distutils config files. Those |
| LOW | pipenv/patched/pip/_internal/index/package_finder.py | 1061 | # Check if only final releases are allowed for this package |
| LOW | pipenv/patched/pip/_internal/distributions/sdist.py | 60 | # Check if the current environment provides build dependencies |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 626 | # Check if content-type is valid or defaulted to `text/plain` and thus was |
| LOW | pipenv/patched/pip/_vendor/requests/models.py | 499 | # Check if file, fo, generator, iterator. |
| LOW | pipenv/patched/pip/_vendor/urllib3/connection.py | 736 | # Check if the target origin supports HTTP/2. |
| LOW | pipenv/patched/pip/_vendor/urllib3/connectionpool.py | 928 | # Check if we should retry the HTTP response. |
| LOW | pipenv/patched/pip/_vendor/urllib3/util/request.py | 237 | # Check if the body implements the buffer API. |
| LOW | pipenv/patched/pip/_vendor/urllib3/util/request.py | 241 | # Check if the body is an iterable |
| LOW | pipenv/patched/pip/_vendor/urllib3/util/response.py | 31 | # Check if the object is a container for another file-like object that |
| LOW | tests/unit/test_core.py | 86 | # Set verbosity to -1 (quiet mode via environment variable) |
| LOW | tests/unit/test_core.py | 141 | # Set PIPENV_ACTIVE to simulate nested pipenv invocation |
| LOW | tests/unit/test_pylock.py | 359 | # Write the file |
| LOW | tests/integration/test_upgrade.py | 92 | # Check if google-api-core is still at the old version |
| LOW | tests/integration/test_upgrade.py | 133 | # Check if requests is in develop section (as a dependency of pytest) |
| LOW | tests/integration/test_upgrade.py | 207 | # Check if requests is in develop section (it might be there as a dependency of pytest) |
| LOW | tests/integration/test_install_vcs.py | 37 | # Check if the URL in the lockfile still contains the environment variables |
| LOW | tests/integration/test_editable_vcs.py | 36 | # Check if either src directory exists |
| LOW | tests/integration/test_editable_vcs.py | 60 | # Check if either src directory exists |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | pipenv/utils/pylock.py | 53 | Create a PylockFile from a Pipfile.lock file. Args: lockfile_path: Path to the Pipfile.lock file |
| HIGH | pipenv/utils/pylock.py | 210 | Load a pylock.toml file from the given path. Args: path: Path to the pylock.toml file Retu |
| HIGH | pipenv/utils/pylock.py | 265 | Create a PylockFile skeleton from a pyproject.toml file. This reads the dependencies from pyproject.toml and cr |
| HIGH | pipenv/patched/pip/_vendor/distro/distro.py | 676 | The initialization method of this class gathers information from the available data sources, and stores |
| HIGH | pipenv/patched/pip/_vendor/rich/measure.py | 82 | Get a measurement for a renderable. Args: console (~rich.console.Console): Console instance. |
| HIGH | pipenv/patched/pip/_vendor/rich/console.py | 829 | Set Live instance. Used by Live context manager (no need to call directly). Args: live (Live): Live |
| HIGH | pipenv/patched/pip/_vendor/rich/console.py | 1479 | Get a Style instance by its theme name or parse a definition. Args: name (str): The name of a style |
| HIGH | pipenv/patched/pip/_vendor/rich/console.py | 1902 | Get caller frame information. Args: offset (int): the caller offset within the current frame stack. |
| HIGH | pipenv/patched/pip/_vendor/rich/style.py | 495 | Parse a style definition. Args: style_definition (str): A string containing a style. Raise |
| HIGH | pipenv/patched/pip/_vendor/rich/markup.py | 112 | Render console markup in to a Text instance. Args: markup (str): A string containing console markup. |
| HIGH | pipenv/patched/pip/_vendor/rich/highlighter.py | 21 | Highlight a str or Text instance. Args: text (Union[str, ~Text]): Text to highlight. Raise |
| HIGH | pipenv/patched/pip/_vendor/rich/progress_bar.py | 129 | Renders the pulse animation. Args: console (Console): Console instance. width (int): Wi |
| HIGH | pipenv/patched/pip/_vendor/rich/prompt.py | 228 | Process response from user, convert to prompt type. Args: value (str): String typed by user. |
| HIGH | pipenv/patched/pip/_vendor/rich/progress.py | 1244 | Track progress file reading from a binary file. Args: file (BinaryIO): A file-like object opened in |
| HIGH | pipenv/patched/pip/_vendor/rich/progress.py | 1323 | Track progress while reading from a binary file. Args: path (Union[str, PathLike[str]]): The path t |
| HIGH | pipenv/patched/pip/_vendor/rich/_win32_console.py | 96 | Retrieves the current input mode of a console's input buffer or the current output mode of a console screen buffer. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | pipenv/shells.py | 201 | os.environ.pop("LINES", None) |
| LOW | pipenv/shells.py | 221 | # sentinel must be consumed *twice* in that drain: once for the shell |
| LOW | pipenv/__version__.py | 1 | # ___ ( ) ___ ___ __ |
| LOW | pipenv/utils/funktools.py | 341 | f"''{fn}''", |
| LOW | pipenv/utils/requirementslib.py | 301 | # in the boltons library by Mahmoud Hashemi and distributed under the BSD license |
| LOW | pipenv/utils/requirementslib.py | 321 | # prior written permission. |
| LOW | pipenv/utils/resolver.py | 421 | constraints.add(dep) |
| LOW | pipenv/utils/resolver.py | 561 | # is disabled. See https://github.com/pypa/pipenv/issues/5715 |
| LOW | pipenv/cli/options.py | 621 | # -h/--help placed *before* run_command triggers help; anything after |
| LOW | pipenv/patched/pip/_internal/pyproject.py | 101 | package=req_name, |
| LOW | pipenv/patched/pip/_internal/network/session.py | 361 | # have. |
| LOW | pipenv/patched/pip/_internal/network/utils.py | 1 | from collections.abc import Generator |
| LOW | pipenv/patched/pip/_internal/network/utils.py | 61 | ) -> Generator[bytes, None, None]: |
| LOW | pipenv/patched/pip/_internal/utils/subprocess.py | 81 | log_failed_cmd: if false, failed commands are not logged, only raised. |
| LOW | pipenv/patched/pip/_internal/utils/packaging.py | 41 | # constructed). This method adds a cache to requirement object creation to |
| LOW | pipenv/patched/pip/_internal/utils/glibc.py | 41 | # manpage says, "If filename is NULL, then the returned handle is for the |
| LOW | pipenv/patched/pip/_internal/utils/glibc.py | 81 | # ('glibc', '2.9') |
| LOW | pipenv/patched/pip/_internal/utils/unpacking.py | 241 | member.linkname = lnk_rest |
| LOW | …nv/patched/pip/_internal/models/installation_report.py | 21 | # record origin.json. |
| LOW | pipenv/patched/pip/_internal/cli/cmdoptions.py | 921 | # command-line, since the option doesn't accept arguments. However, |
| LOW | pipenv/patched/pip/_internal/cli/main.py | 21 | # https://pip.pypa.io/en/stable/user_guide/#using-pip-from-your-program. |
| LOW | pipenv/patched/pip/_internal/operations/prepare.py | 341 | # and raise some more informative errors than otherwise. |
| LOW | …penv/patched/pip/_internal/operations/install/wheel.py | 281 | # a *different* version of Python the entry points will be wrong. The |
| LOW | pipenv/patched/pip/_internal/req/req_install.py | 781 | # over self.req.name, which may be the canonicalised (lowercased) form |
| LOW | pipenv/patched/pip/_internal/locations/__init__.py | 61 | if not _USE_SYSCONFIG: |
| LOW | pipenv/patched/pip/_internal/index/collector.py | 141 | # blindly use any cached data, however the benefit of |
| LOW | pipenv/patched/pip/_internal/commands/cache.py | 241 | # normalized to underscores (_), meaning hyphens can never occur |
| LOW | pipenv/patched/pip/_internal/metadata/pkg_resources.py | 281 | if dist: |
| LOW | pipenv/patched/pip/_internal/distributions/sdist.py | 41 | # Load pyproject.toml |
| LOW | pipenv/patched/pip/_vendor/__init__.py | 21 | # is done to support downstream re-distributors like Debian and Fedora who |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 181 | |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 201 | # answer with what to do in that case. As such, we'll do the only |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 241 | # The various parse_FORMAT functions here are intended to be as lenient as |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 361 | # We use get_all() here, even for fields that aren't multiple use, |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 381 | |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 421 | raw_name = _EMAIL_TO_RAW_MAPPING.get(name) |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 441 | if raw_name in _STRING_FIELDS and len(value) == 1: |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 461 | # The project urls is implemented in the metadata spec as a list of |
| LOW | pipenv/patched/pip/_vendor/packaging/markers.py | 341 | # packaging.requirements.Requirement. If any additional logic is |
| LOW | …env/patched/pip/_vendor/packaging/licenses/__init__.py | 1 | ####################################################################################### |
| LOW | …env/patched/pip/_vendor/packaging/licenses/__init__.py | 21 | # INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A |
| LOW | pipenv/patched/pip/_vendor/truststore/_openssl.py | 21 | _HASHED_CERT_FILENAME_RE = re.compile(r"^[0-9a-fA-F]{8}\.[0-9]$") |
| LOW | pipenv/patched/pip/_vendor/pygments/lexer.py | 681 | #: Dict of ``{'state': [(regex, tokentype, new_state), ...], ...}`` |
| LOW | pipenv/patched/pip/_vendor/distlib/compat.py | 121 | # RFC 6125, section 6.4.3, subitem 1. |
| LOW | pipenv/patched/pip/_vendor/distlib/util.py | 301 | return result |
| LOW | pipenv/patched/pip/_vendor/distlib/scripts.py | 221 | # Issue #51: don't use fsencode, since we later try to |
| LOW | pipenv/patched/pip/_vendor/distro/distro.py | 1 | #!/usr/bin/env python |
| LOW | pipenv/patched/pip/_vendor/distro/distro.py | 81 | #: |
| LOW | pipenv/patched/pip/_vendor/requests/sessions.py | 401 | #: Dictionary mapping protocol or protocol and host to the URL of the proxy |
| LOW | pipenv/patched/pip/_vendor/requests/sessions.py | 421 | #: presented by the server, and will ignore hostname mismatches and/or |
| LOW | pipenv/patched/pip/_vendor/requests/models.py | 681 | #: Encoding to decode with when accessing r.text. |
| LOW | pipenv/patched/pip/_vendor/tomli/_parser.py | 21 | from collections.abc import Iterable |
| LOW | pipenv/patched/pip/_vendor/certifi/core.py | 21 | def where() -> str: |
| LOW | pipenv/patched/pip/_vendor/certifi/core.py | 61 | # it in a global variable. |
| LOW | pipenv/patched/pip/_vendor/rich/highlighter.py | 161 | # |
| LOW | pipenv/patched/pip/_vendor/rich/highlighter.py | 181 | # Calendar date with hours, minutes, and seconds (e.g., 2008-08-30 17:21:59 or 20080830 172159). |
| LOW | pipenv/patched/pip/_vendor/urllib3/response.py | 1021 | with self._error_catcher(): |
| LOW | pipenv/patched/pip/_vendor/urllib3/util/wait.py | 1 | from __future__ import annotations |
| LOW | pipenv/patched/pip/_vendor/urllib3/util/response.py | 61 | # we're only interested in the result if it's not a multipart message |
| LOW | docs/workflows.md | 221 | |
| 3 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | pipenv/shells.py | 144 | return "deactivate() { command deactivate 2>/dev/null; unset PIPENV_ACTIVE; }" |
| HIGH | pipenv/patched/pip/_internal/commands/completion.py | 20 | PIP_AUTO_COMPLETE=1 "$1" 2>/dev/null ) ) |
| HIGH | pipenv/patched/pip/_internal/commands/completion.py | 29 | PIP_AUTO_COMPLETE=1 $words[1] 2>/dev/null ) |
| HIGH | pipenv/patched/pip/_vendor/distlib/compat.py | 589 | def new_child(self): # like Django's Context.push() |
| HIGH | pipenv/patched/pip/_vendor/rich/logging.py | 172 | # Handles pythonw, where stdout/stderr are null, and we return NullFile |
| HIGH | pipenv/patched/pip/_vendor/rich/tree.py | 171 | style_stack.push(get_style(node.style)) |
| HIGH | pipenv/patched/pip/_vendor/rich/tree.py | 172 | guide_style_stack.push(get_style(node.guide_style)) |
| HIGH | pipenv/patched/pip/_vendor/rich/highlighter.py | 117 | r"\b(?P<bool_true>true)\b|\b(?P<bool_false>false)\b|\b(?P<null>null)\b", |
| HIGH | tests/integration/test_run.py | 35 | multicommand = "bash -c \"cd docs && make html\"" |
| HIGH | tests/integration/test_run.py | 60 | assert script.args == ["-c", "cd docs && make html"] |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | pipenv/patched/pip/_internal/cli/req_command.py | 261 | return pipenv.patched.pip._internal.resolution.resolvelib.resolver.Resolver( |
| CRITICAL | pipenv/patched/pip/_internal/cli/req_command.py | 276 | return pipenv.patched.pip._internal.resolution.legacy.resolver.Resolver( |
| CRITICAL | pipenv/patched/pip/_internal/commands/debug.py | 189 | show_value("pipenv.patched.pip._vendor.certifi.where()", where()) |
| CRITICAL | pipenv/patched/pip/_vendor/pygments/sphinxext.py | 87 | self.state.document.settings.record_dependencies.add(fn) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | pipenv/shells.py | 120 | # For now, return empty as nu has different paradigm |
| MEDIUM | pipenv/utils/markers.py | 554 | # Essentially we will iterate over each side of the parsed marker if either one is |
| LOW | pipenv/patched/pip/_internal/network/auth.py | 500 | # We are not able to prompt the user so simply return the response |
| MEDIUM | pipenv/patched/pip/_internal/network/session.py | 84 | # CI traffic to PyPI. Thus, it is okay if the list is not comprehensive. |
| LOW | pipenv/patched/pip/_internal/cli/parser.py | 170 | # If its not a list, we should abort and just return the help text |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 214 | # is unparsable, and we can just add the whole thing to our |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 410 | # This is already a string, so just add it. |
| LOW | pipenv/patched/pip/_vendor/packaging/metadata.py | 439 | # what we should parse it as, and we have to just add it to our list |
| LOW | pipenv/patched/pip/_vendor/packaging/specifiers.py | 995 | # version. If it's not we can short circuit and just return False now |
| LOW | pipenv/patched/pip/_vendor/packaging/specifiers.py | 1020 | # version. If it's not we can short circuit and just return False now |
| LOW | pipenv/patched/pip/_vendor/packaging/specifiers.py | 1424 | # then we'll just return None since we don't know if this should have |
| LOW | pipenv/patched/pip/_vendor/distlib/compat.py | 253 | # what file suffixes are executable, so just pass on cmd as-is. |
| MEDIUM | pipenv/patched/pip/_vendor/requests/sessions.py | 681 | # Set defaults that the hooks can utilize to ensure they always have |
| LOW | pipenv/patched/pip/_vendor/requests/models.py | 635 | # method. To prevent iterating over None, simply use an empty list |
| LOW | pipenv/patched/pip/_vendor/requests/utils.py | 448 | # a UNC path, then just return the value without quotes. Using the |
| LOW | pipenv/patched/pip/_vendor/certifi/core.py | 70 | # file, it will just return the file system location and the |
| MEDIUM | pipenv/patched/pip/_vendor/urllib3/exceptions.py | 251 | """Response needs to be chunked in order to read it as chunks.""" |
| LOW | pipenv/patched/pip/_vendor/pkg_resources/__init__.py | 2 | # For now we'd simply use implicit Any/Unknown which would add redundant annotations |
| MEDIUM | tests/unit/test_core.py | 208 | # Test nushell - returns empty for now (different paradigm) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/integration/test_upgrade.py | 64 | # Step 1: Install initial dependency version |
| LOW | tests/integration/test_upgrade.py | 75 | # Step 2: Update Pipfile to allow any version of google-api-core |
| LOW | tests/integration/test_upgrade.py | 84 | # Step 3: Update protobuf to an incompatible version |
| LOW | tests/integration/test_upgrade.py | 88 | # Step 4: Check the lockfile for incompatible dependencies |
| LOW | tests/integration/test_upgrade.py | 101 | # Step 5: Run pipenv lock to check for dependency resolution errors |
| LOW | tests/integration/test_dot_venv.py | 188 | # Step 1: create the pipenv-managed virtualenv in WORKON_HOME. |
| LOW | tests/integration/test_dot_venv.py | 197 | # Step 2: user independently creates a .venv dir in the project root. |
| LOW | tests/integration/test_dot_venv.py | 201 | # Step 3: `--venv` should still report the pipenv-managed venv. |
| LOW | tests/integration/test_dot_venv.py | 209 | # Step 4: `--rm` must remove the pipenv-managed venv, not .venv. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | pipenv/patched/pip/_vendor/packaging/markers.py | 342 | # added here, make sure to mirror/adapt Requirement. |
| MEDIUM | pipenv/patched/pip/_vendor/distlib/util.py | 1528 | # you can use the following handler class, which does not allow HTTP traffic. |
| LOW | pipenv/patched/pip/_vendor/urllib3/response.py | 1140 | # TODO make sure to initially read enough data to get past the headers |
| MEDIUM | pipenv/patched/pip/_vendor/urllib3/util/wait.py | 12 | # There are two types of APIs you can use for waiting on sockets: the fancy |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | pipenv/patched/pip/_vendor/rich/text.py | 1340 | """\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolo |
| LOW | pipenv/patched/pip/_vendor/rich/text.py | 1340 | """\nLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolo |
| LOW | pipenv/patched/pip/_vendor/rich/__main__.py | 71 | lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque in metus sed sapien ultricies pretium a at |
| LOW | pipenv/patched/pip/_vendor/rich/__main__.py | 71 | lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque in metus sed sapien ultricies pretium a at |