AI Slop Code RIsk Monitor

pypa/virtualenv

Virtual Python Environment builder

27.5 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for pypa/virtualenv, a Python project with 5,054 GitHub stars. SynthScan examined 26,113 lines of code across 233 source files, recording 648 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 27.5 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

27.5
Adjusted Signal
27.5
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
5.1K
Stars
Python
Language
26.1K
Lines of Code
233
Files
648
Pattern Hits
2026-10-12
Scan Date
0.04
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 51.1/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 34.4/100 · MEDIUM

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

Agent Over-Engineering Ratio 57.0/100 · HIGH

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

PR Review Velocity Impact 74.3/100 · HIGH

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

What These Metrics Mean

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

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 9MEDIUM 8LOW 631

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 648 distinct pattern matches across 12 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers303 hits · 317 pts
SeverityFileLineSnippetContext
LOWtasks/upgrade_wheels.py290def _support_table_from_existing_init() -> OrderedDict[str, OrderedDict[str, str]]:STRING
LOWtasks/make_zipapp.py63def get_wheels_for_support_versions(CODE
LOWtasks/__main__zipapp.py81 def _register_distutils_finder(self) -> None: # ruff:ignore[complex-structure]CODE
LOWtasks/__main__zipapp.py147def versioned_distribution_class() -> type:CODE
LOWtests/conftest.py56def pytest_collection_modifyitems(config, items) -> None:CODE
LOWtests/conftest.py141def _check_cwd_not_changed_by_test():CODE
LOWtests/conftest.py150def _ensure_py_info_cache_empty(session_app_data):CODE
LOWtests/unit/test_run.py46def test_invalid_discovery_method_via_env(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOW⚡tests/unit/test_conftest.py43def test_shard_selects_every_nth_test_id(CODE
LOW⚡tests/unit/test_conftest.py50def test_shard_reports_deselected(collect: Callable[[str], pytest.RunResult]) -> None:CODE
LOW⚡tests/unit/test_conftest.py55def test_shard_rejects_invalid_spec(collect: Callable[[str], pytest.RunResult], value: str) -> None:CODE
LOWtests/unit/test_util.py32def test_safe_delete_removes_read_only_files(tmp_path: Path) -> None:CODE
LOWtests/unit/test_util.py46def test_safe_delete_missing_path_is_noop(tmp_path: Path) -> None:CODE
LOWtests/unit/test_util.py51def test_safe_delete_surfaces_undeletable_entries(tmp_path: Path) -> None:CODE
LOWtests/unit/test_util.py62def test_safe_delete_raises_the_original_error_not_a_retry_failure(tmp_path: Path) -> None:CODE
LOWtests/unit/test_util.py77def test_safe_delete_keeps_the_other_mode_bits_when_clearing_read_only(tmp_path: Path) -> None:CODE
LOWtests/unit/test_util.py97def test_replace_dangling_symlink(CODE
LOWtests/unit/test_util.py118def test_reentrant_file_lock_is_thread_safe(tmp_path) -> None:CODE
LOWtests/unit/test_util.py144 def test_no_override_returns_cache_dir(self, monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/unit/test_util.py166 def test_no_migration_when_old_missing(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/unit/test_util.py177 def test_no_migration_when_new_exists(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/unit/test_util.py191 def test_same_dir_returns_immediately(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/unit/test_util.py199 def test_fallback_on_migration_error(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/unit/test_util.py217 def test_symlink_app_data_survives_migration(CODE
LOWtests/unit/test_util.py255def test_zipapp_read_returns_payload_from_entry_inside_root(fake_zipapp_root: Path) -> None:CODE
LOWtests/unit/test_util.py267def test_zipapp_read_rejects_path_outside_root(fake_zipapp_root: Path, parts: tuple[str, ...]) -> None:CODE
LOWtests/unit/seed/embed/test_base_embed.py43def test_wheel_cli_flags_do_nothing(CODE
LOWtests/unit/seed/embed/test_base_embed.py59def test_bundled_seeder_reports_reason_below_floor(CODE
LOW⚡tests/unit/seed/embed/test_base_embed.py70def test_bundled_seeder_has_no_reason_on_oldest_supported(CODE
LOW⚡tests/unit/seed/embed/test_base_embed.py76def test_base_seeder_never_blocks(at_version: Callable[[int, int], MagicMock]) -> None:CODE
LOW⚡tests/unit/seed/embed/test_base_embed.py80def test_selection_surfaces_the_seeder_reason(tmp_path: Path, mocker: MockerFixture) -> None:CODE
LOW⚡tests/unit/seed/embed/test_base_embed.py86def test_no_seed_bypasses_capability_check(tmp_path: Path, mocker: MockerFixture) -> None:CODE
LOWtests/unit/seed/embed/test_pip_invoke.py17def test_base_bootstrap_via_pip_invoke(tmp_path, coverage_env, mocker, current_fastest, no) -> None:CODE
LOW…ts/unit/seed/embed/test_bootstrap_link_via_app_data.py30def test_seed_link_via_app_data(tmp_path, coverage_env, current_fastest, copies) -> None:CODE
LOW…ts/unit/seed/embed/test_bootstrap_link_via_app_data.py155def test_base_bootstrap_link_via_app_data_not_writable(tmp_path, current_fastest) -> None:CODE
LOW…ts/unit/seed/embed/test_bootstrap_link_via_app_data.py163def test_populated_read_only_cache_and_symlinked_app_data(tmp_path, current_fastest, temp_app_data) -> None:CODE
LOW…ts/unit/seed/embed/test_bootstrap_link_via_app_data.py189def test_populated_read_only_cache_and_copied_app_data(tmp_path, current_fastest, temp_app_data) -> None:CODE
LOW⚡…ts/unit/seed/embed/test_bootstrap_link_via_app_data.py215def test_base_bootstrap_link_via_app_data_no(tmp_path, pkg) -> None:CODE
LOW⚡…ts/unit/seed/embed/test_bootstrap_link_via_app_data.py224def test_app_data_parallel_ok(tmp_path) -> None:CODE
LOW⚡…ts/unit/seed/embed/test_bootstrap_link_via_app_data.py230def test_app_data_parallel_fail(tmp_path: Path, mocker: MockerFixture) -> None:CODE
LOW…ts/unit/seed/embed/test_bootstrap_link_via_app_data.py263def test_safe_extract_zip_allows_normal_entry(tmp_path: Path) -> None:CODE
LOW…ts/unit/seed/embed/test_bootstrap_link_via_app_data.py275def test_safe_extract_zip_rejects_parent_traversal(tmp_path: Path) -> None:CODE
LOW…ts/unit/seed/embed/test_bootstrap_link_via_app_data.py294def test_safe_extract_zip_rejects_absolute_entry(tmp_path: Path, entry: str) -> None:CODE
LOWtests/unit/seed/wheels/test_acquire.py30def test_pip_wheel_env_run_could_not_find(session_app_data, mocker) -> None:CODE
LOWtests/unit/seed/wheels/test_acquire.py36def test_download_wheel_bad_output(mocker, for_py_version, session_app_data) -> None:CODE
LOWtests/unit/seed/wheels/test_acquire.py62def test_download_wheel_not_found_raises(mocker, for_py_version, session_app_data) -> None:CODE
LOWtests/unit/seed/wheels/test_acquire.py106def test_download_wheel_python_io_encoding(mocker, for_py_version, session_app_data) -> None:CODE
LOWtests/unit/seed/wheels/test_acquire.py119def test_download_wheel_verifies_digest(mocker, for_py_version, session_app_data) -> None:CODE
LOWtests/unit/seed/wheels/test_acquire.py137def test_download_wheel_skips_digest_check_for_custom_index(mocker, for_py_version, session_app_data, env_var) -> None:CODE
LOWtests/unit/seed/wheels/test_acquire.py163def test_get_wheel_download_called(mocker, for_py_version, session_app_data, downloaded_wheel, version) -> None:CODE
LOWtests/unit/seed/wheels/test_acquire.py174def test_get_wheel_download_not_called(mocker, for_py_version, session_app_data, downloaded_wheel, version) -> None:CODE
LOWtests/unit/seed/wheels/test_acquire.py187def test_get_wheel_falls_back_to_bundle_when_unverified(CODE
LOWtests/unit/seed/wheels/test_acquire.py198def test_get_wheel_unverified_pinned_version_fails(CODE
LOWtests/unit/seed/wheels/test_acquire.py207def test_get_wheel_download_cached(CODE
LOWtests/unit/seed/wheels/test_acquire.py261def test_download_wheel_rejects_bad_distribution(distribution: str, session_app_data) -> None:CODE
LOWtests/unit/seed/wheels/test_acquire.py275def test_download_wheel_rejects_bad_version_spec(version_spec: str, session_app_data, mocker: MockerFixture) -> None:CODE
LOWtests/unit/seed/wheels/test_periodic_update.py96def test_pick_periodic_update(tmp_path, mocker, for_py_version) -> None:CODE
LOWtests/unit/seed/wheels/test_periodic_update.py126def test_periodic_update_stops_at_current(mocker, session_app_data, for_py_version) -> None:CODE
LOWtests/unit/seed/wheels/test_periodic_update.py146def test_periodic_update_latest_per_patch(mocker, session_app_data, for_py_version) -> None:CODE
LOWtests/unit/seed/wheels/test_periodic_update.py167def test_periodic_update_latest_per_patch_prev_is_manual(mocker, session_app_data, for_py_version) -> None:CODE
243 more matches not shown…
Unused Imports197 hits · 196 pts
SeverityFileLineSnippetContext
LOWhatch_build.py1CODE
LOWtasks/release.py3CODE
LOWtasks/upgrade_wheels.py3CODE
LOWtasks/zipapp_sbom.py3CODE
LOWtasks/license_policy.py3CODE
LOWtasks/pytest_diagnostics.py3CODE
LOWtasks/make_zipapp.py3CODE
LOWtasks/fuzz_shared.py3CODE
LOWtasks/__main__zipapp.py1CODE
LOWtasks/apply_upgrade_patch.py1CODE
LOWtasks/validate_sbom.py3CODE
LOWtasks/upgrade_ci_tools.py1CODE
LOWtasks/fuzz_powershell_quote.py7CODE
LOWtasks/cyclonedx_to_spdx.py3CODE
LOWtasks/fuzz_pyenv_cfg.py11CODE
LOWtasks/check_wheel_age.py1CODE
LOWtasks/fuzz_nushell_quote.py7CODE
LOWtasks/update_embedded.py3CODE
LOWtasks/run_graalpy_tests.py3CODE
LOWtests/conftest.py1CODE
LOWtests/types.py1CODE
LOWtests/unit/test_run.py1CODE
LOWtests/unit/test_conftest.py1CODE
LOWtests/unit/test_util.py1CODE
LOWtests/unit/test_file_limit.py1CODE
LOWtests/unit/seed/embed/test_base_embed.py1CODE
LOWtests/unit/seed/embed/test_pip_invoke.py1CODE
LOW…ts/unit/seed/embed/test_bootstrap_link_via_app_data.py1CODE
LOWtests/unit/seed/wheels/test_acquire.py1CODE
LOWtests/unit/seed/wheels/test_periodic_update.py1CODE
LOWtests/unit/seed/wheels/test_acquire_find_wheel.py1CODE
LOWtests/unit/seed/wheels/test_bundle.py1CODE
LOWtests/unit/seed/wheels/test_wheels_util.py1CODE
LOWtests/unit/config/test_env_var.py1CODE
LOWtests/unit/config/test_ini.py1CODE
LOWtests/unit/config/test_ini.py18CODE
LOWtests/unit/config/test___main__.py1CODE
LOWtests/unit/config/cli/test_parser.py1CODE
LOWtests/unit/config/cli/test_help_formatter.py3CODE
LOWtests/unit/discovery/test_discovery.py1CODE
LOWtests/unit/activation/conftest.py1CODE
LOWtests/unit/activation/test_csh.py1CODE
LOWtests/unit/activation/test_bash.py1CODE
LOWtests/unit/activation/test_python_activator.py1CODE
LOWtests/unit/activation/test_powershell.py1CODE
LOWtests/unit/activation/test_activation_support.py1CODE
LOWtests/unit/activation/test_activator.py1CODE
LOWtests/unit/activation/test_xonsh.py1CODE
LOWtests/unit/activation/test_fish.py1CODE
LOWtests/unit/activation/test_batch.py1CODE
LOWtests/unit/activation/test_nushell.py1CODE
LOWtests/unit/create/conftest.py10CODE
LOWtests/unit/create/test_interpreters.py1CODE
LOWtests/unit/create/test_venv_redirect.py1CODE
LOWtests/unit/create/test_creator.py1CODE
LOWtests/unit/create/console_app/setup.py1CODE
LOWtests/unit/create/console_app/demo/__init__.py1CODE
LOWtests/unit/create/console_app/demo/__main__.py1CODE
LOWtests/unit/create/via_global_ref/test_race_condition.py1CODE
LOWtests/unit/create/via_global_ref/test_build_c_ext.py1CODE
137 more matches not shown…
Modern Structural Boilerplate85 hits · 84 pts
SeverityFileLineSnippetContext
LOWhatch_build.py631__all__ = [CODE
LOWtasks/license_policy.py139__all__ = [CODE
LOWtasks/pytest_diagnostics.py109__all__ = ["pytest_addoption", "pytest_configure"]CODE
LOWtasks/apply_upgrade_patch.py46__all__ = ["main"]CODE
LOWtasks/upgrade_ci_tools.py161__all__ = ["main"]STRING
LOWtasks/cyclonedx_to_spdx.py245__all__ = [CODE
LOWtasks/check_wheel_age.py49__all__ = ["main"]CODE
LOWtasks/run_graalpy_tests.py117__all__ = ["main"]CODE
LOWsrc/virtualenv/__init__.py6__all__ = [CODE
LOWsrc/virtualenv/report.py46__all__ = [CODE
LOWsrc/virtualenv/app_data/na.py75__all__ = [CODE
LOWsrc/virtualenv/app_data/read_only.py45__all__ = [CODE
LOWsrc/virtualenv/app_data/via_disk_folder.py177__all__ = [CODE
LOWsrc/virtualenv/app_data/base.py164__all__ = [CODE
LOWsrc/virtualenv/app_data/via_tempdir.py36__all__ = [CODE
LOWsrc/virtualenv/seed/seeder.py63__all__ = [CODE
LOWsrc/virtualenv/seed/embed/pip_invoke.py81__all__ = [CODE
LOWsrc/virtualenv/seed/embed/base_embed.py167__all__ = [CODE
LOWsrc/virtualenv/seed/embed/via_app_data/via_app_data.py162__all__ = [CODE
LOW…tualenv/seed/embed/via_app_data/pip_install/symlink.py60__all__ = [CODE
LOW…virtualenv/seed/embed/via_app_data/pip_install/copy.py42__all__ = [CODE
LOW…virtualenv/seed/embed/via_app_data/pip_install/base.py240__all__ = [CODE
LOWsrc/virtualenv/seed/wheels/bundle.py62__all__ = [CODE
LOWsrc/virtualenv/seed/wheels/acquire.py234__all__ = [CODE
LOWsrc/virtualenv/seed/wheels/util.py112__all__ = [CODE
LOWsrc/virtualenv/seed/wheels/__init__.py6__all__ = [CODE
LOWsrc/virtualenv/seed/wheels/periodic_update.py520__all__ = [CODE
LOWsrc/virtualenv/seed/wheels/embed/__init__.py127__all__ = [CODE
LOWsrc/virtualenv/util/zipapp.py42__all__ = [CODE
LOWsrc/virtualenv/util/text.py31__all__ = [CODE
LOWsrc/virtualenv/util/lock.py189__all__ = [CODE
LOWsrc/virtualenv/util/path/_permission.py25def set_tree(folder: Path, stat: int) -> None:CODE
LOWsrc/virtualenv/util/path/__init__.py7__all__ = [CODE
LOWsrc/virtualenv/util/path/_win.py21__all__ = [CODE
LOWsrc/virtualenv/util/path/_sync.py92__all__ = [CODE
LOWsrc/virtualenv/config/env_var.py36__all__ = [CODE
LOWsrc/virtualenv/config/convert.py100__all__ = [CODE
LOWsrc/virtualenv/config/ini.py84__all__ = ["IniConfig"]CODE
LOWsrc/virtualenv/config/cli/parser.py24 def set_src(self, key: str, value: Any, src: str) -> None: # ruff:ignore[any-type]CODE
LOWsrc/virtualenv/config/cli/parser.py169__all__ = [CODE
LOWsrc/virtualenv/discovery/discover.py41__all__ = [CODE
LOWsrc/virtualenv/discovery/py_info.py7__all__ = [CODE
LOWsrc/virtualenv/discovery/cached_py_info.py7__all__ = [CODE
LOWsrc/virtualenv/discovery/py_spec.py7__all__ = [CODE
LOWsrc/virtualenv/discovery/builtin.py84__all__ = [CODE
LOWsrc/virtualenv/activation/activator.py59__all__ = [CODE
LOWsrc/virtualenv/activation/via_template.py110__all__ = [CODE
LOWsrc/virtualenv/activation/__init__.py12__all__ = [CODE
LOWsrc/virtualenv/activation/python/__init__.py37__all__ = [CODE
LOWsrc/virtualenv/activation/xonsh/__init__.py32__all__ = [CODE
LOWsrc/virtualenv/activation/cshell/__init__.py72__all__ = [STRING
LOWsrc/virtualenv/activation/bash/__init__.py30__all__ = [CODE
LOWsrc/virtualenv/activation/nushell/__init__.py49__all__ = [CODE
LOWsrc/virtualenv/activation/powershell/__init__.py32__all__ = [CODE
LOWsrc/virtualenv/activation/batch/__init__.py92__all__ = [CODE
LOWsrc/virtualenv/activation/fish/__init__.py33__all__ = [CODE
LOWsrc/virtualenv/run/session.py119__all__ = [CODE
LOWsrc/virtualenv/run/__init__.py194__all__ = [CODE
LOWsrc/virtualenv/run/plugin/activators.py72__all__ = [CODE
LOWsrc/virtualenv/run/plugin/discovery.py57__all__ = [CODE
25 more matches not shown…
Self-Referential Comments7 hits · 26 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/unit/create/test_creator.py228 # This file is a cache directory tag created by Python virtualenv.COMMENT
MEDIUMtests/unit/create/test_creator.py847 # Create a real directory and a symlink to itCOMMENT
MEDIUMtests/unit/create/via_global_ref/test_race_condition.py26 # Create a temporary file with partial _virtualenv.py content (simulating race condition)COMMENT
MEDIUM⚡tests/integration/test_race_condition_simulation.py27 # Create the _virtualenv.py fileCOMMENT
MEDIUM⚡tests/integration/test_race_condition_simulation.py33 # Create the _virtualenv.pth fileCOMMENT
MEDIUMsrc/virtualenv/info.py38 # Creating a symlink can fail for a variety of reasons, indicating that the filesystem does not support it.COMMENT
MEDIUMsrc/virtualenv/create/creator.py235 # This file is a cache directory tag created by Python virtualenv.COMMENT
Empty Error Handlers5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHsrc/virtualenv/info.py46except (OSError, NotImplementedError):CODE
HIGHsrc/virtualenv/app_data/via_disk_folder.py136except Exception: # ruff:ignore[blind-except, try-except-pass]CODE
HIGH…tualenv/seed/embed/via_app_data/pip_install/symlink.py39except ValueError:CODE
HIGHsrc/virtualenv/create/debug.py48except ImportError:CODE
HIGHsrc/virtualenv/create/via_global_ref/_virtualenv.py98except AttributeError:CODE
Deep Nesting25 hits · 24 pts
SeverityFileLineSnippetContext
LOWhatch_build.py365CODE
LOWtasks/release.py35CODE
LOWtasks/upgrade_wheels.py91CODE
LOWtasks/make_zipapp.py144CODE
LOWtasks/__main__zipapp.py81CODE
LOWtasks/__main__zipapp.py122CODE
LOWtests/unit/create/test_creator.py566CODE
LOWtests/integration/test_zipapp.py20CODE
LOWdocs/render_cli.py206CODE
LOWsrc/virtualenv/info.py32CODE
LOWsrc/virtualenv/app_data/via_disk_folder.py94CODE
LOW…virtualenv/seed/embed/via_app_data/pip_install/base.py152CODE
LOWsrc/virtualenv/seed/wheels/periodic_update.py41CODE
LOWsrc/virtualenv/config/cli/parser.py101CODE
LOWsrc/virtualenv/activation/cshell/__init__.py45CODE
LOWsrc/virtualenv/run/plugin/creators.py33CODE
LOWsrc/virtualenv/create/via_global_ref/builtin/ref.py62CODE
LOW…nv/create/via_global_ref/builtin/via_global_self_do.py51CODE
LOW…virtualenv/create/via_global_ref/builtin/pypy/pypy3.py42CODE
LOW…lenv/create/via_global_ref/builtin/cpython/cpython3.py93CODE
LOW…lenv/create/via_global_ref/builtin/cpython/cpython3.py152CODE
LOW…ualenv/create/via_global_ref/builtin/cpython/mac_os.py144CODE
LOW…ualenv/create/via_global_ref/builtin/cpython/mac_os.py40CODE
LOW…ualenv/create/via_global_ref/builtin/cpython/mac_os.py217CODE
LOW…ualenv/create/via_global_ref/builtin/cpython/mac_os.py246CODE
Cross-Language Confusion4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHtasks/release.py29 repo.git.push(remote.name, "HEAD:main")CODE
HIGHtasks/release.py31 repo.git.push(remote.name, tag)CODE
HIGHtests/unit/activation/test_bash.py160 ["bash", "-c", f'source "{relocated / "bin" / "activate"}" 2>/dev/null && echo "$VIRTUAL_ENV"'],CODE
HIGHtests/unit/activation/test_powershell.py150 lookups = (f'if ($env:{var} -eq $null) {{ "None" }} else {{ $env:{var} }}' for var in names)CODE
Excessive Try-Catch Wrapping14 hits · 14 pts
SeverityFileLineSnippetContext
LOWtests/unit/test_util.py134 except Exception: # ruff:ignore[blind-except, try-except-in-loop]CODE
LOW…ts/unit/seed/embed/test_bootstrap_link_via_app_data.py246 except Exception as exception: # ruff:ignore[blind-except]CODE
MEDIUM…ts/unit/seed/embed/test_bootstrap_link_via_app_data.py242def _run(name) -> None:CODE
LOWtests/unit/activation/conftest.py53 except Exception as exception:CODE
LOWsrc/virtualenv/app_data/via_disk_folder.py136 except Exception: # ruff:ignore[blind-except, try-except-pass]CODE
LOWsrc/virtualenv/seed/embed/via_app_data/via_app_data.py72 except Exception: # ruff:ignore[blind-except]CODE
LOWsrc/virtualenv/seed/embed/via_app_data/via_app_data.py110 except Exception as exception:CODE
LOWsrc/virtualenv/seed/wheels/periodic_update.py367 except Exception as exception: # ruff:ignore[blind-except]CODE
LOW⚡src/virtualenv/seed/wheels/periodic_update.py452 except Exception as exception: # ruff:ignore[blind-except]CODE
LOWsrc/virtualenv/config/convert.py85 except Exception as exception:CODE
LOWsrc/virtualenv/config/ini.py68 except Exception: # ruff:ignore[blind-except]CODE
LOWsrc/virtualenv/create/creator.py321 except Exception as exception: # ruff:ignore[blind-except]CODE
LOW…ualenv/create/via_global_ref/builtin/cpython/mac_os.py134 except Exception as e: # ruff:ignore[blind-except]STRING
LOW…ualenv/create/via_global_ref/builtin/cpython/mac_os.py139 except Exception:STRING
Fake / Example Data3 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡tests/unit/seed/wheels/test_bundle.py114 fake_name = "fake-0.0.1-py3-none-any.whl"CODE
LOW⚡tests/unit/seed/wheels/test_bundle.py115 fake = tmp_path / fake_nameCODE
LOW⚡tests/unit/seed/wheels/test_bundle.py117 monkeypatch.setitem(BUNDLE_SHA256, fake_name, "0" * 64)CODE
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtests/unit/activation/conftest.py165 # So we need to check if the prompt exists on any of them.COMMENT
LOWtests/unit/activation/test_fish.py219 # So we need to check if the prompt exists on any of them.COMMENT
Over-Commented Block2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtasks/release-requirements.txt841 # pypi-attestationsCOMMENT
LOW.github/workflows/check.yaml201 env:COMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/virtualenv/activation/python/activate_this.py29# Set PKG_CONFIG_PATH to include the virtualenv's pkgconfig directoryCOMMENT