Modern, extensible Python project management
This report summarizes scanner evidence for pypa/hatch, a Python project with 7,243 GitHub stars. SynthScan examined 71,067 lines of code across 469 source files, recording 1110 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 19.7 (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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 856 finding(s).
Are imports declared and package/API names verified? 121 finding(s).
Are wrappers, guards, and repeated structures necessary? 900 finding(s).
Which changes need focused human review? 1110 finding(s).
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.
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.
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.
The scanner identified 1110 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/conftest.py | 183 | def default_virtualenv_installed_requirements(helpers): | CODE |
| LOW | tests/conftest.py | 193 | def extract_installed_requirements(helpers, default_virtualenv_installed_requirements): | CODE |
| LOW | tests/conftest.py | 212 | def compatible_python_distributions(): | CODE |
| LOW | tests/conftest.py | 439 | def mock_backend_process_output(request, mocker): | CODE |
| LOW | tests/python/test_resolve.py | 13 | def test_unknown_distribution(self): | CODE |
| LOW | tests/python/test_resolve.py | 18 | def test_unknown_free_threaded_distribution(self, name): | CODE |
| LOW | tests/python/test_resolve.py | 46 | def test_cpython_standalone_custom(self): | CODE |
| LOW | tests/python/test_resolve.py | 74 | def test_cpython_standalone_custom(self): | CODE |
| LOW | tests/python/test_resolve.py | 166 | def test_free_threaded_selectors(self, name, base_version): | CODE |
| LOW | tests/python/test_resolve.py | 177 | def test_free_threaded_selector_cpu_variant(self): | CODE |
| LOW | tests/python/test_resolve.py | 190 | def test_compatible_distributions_do_not_include_free_threaded_selectors(self): | CODE |
| LOW | tests/python/test_core.py | 48 | def test_source_does_not_exist(self, temp_dir): | CODE |
| LOW | tests/python/test_core.py | 97 | def test_free_threaded_distribution_identity(self, temp_dir): | CODE |
| LOW | tests/config/test_model.py | 196 | def test_table_with_path_and_args(self): | CODE |
| LOW | tests/config/test_model.py | 218 | def test_table_name_not_string(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 232 | def test_table_path_not_string(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 246 | def test_table_args_not_array(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 260 | def test_table_args_entry_not_string(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 291 | def test_table_name_set_lazy_error(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 308 | def test_table_path_set_lazy_error(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 325 | def test_table_args_set_lazy_error(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 415 | def test_project_entry_not_string(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 429 | def test_project_set_lazy_error(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 466 | def test_env_value_not_string(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 517 | def test_python_set_lazy_error(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 591 | def test_cache_set_lazy_error(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 703 | def test_location_set_lazy_error(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 818 | def test_name_default_env_var(self): | CODE |
| LOW | tests/config/test_model.py | 878 | def test_email_default_env_var(self): | CODE |
| LOW | tests/config/test_model.py | 894 | def test_email_default_no_git(self, temp_dir): | CODE |
| LOW | tests/config/test_model.py | 915 | def test_email_set_lazy_error(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 946 | def test_licenses_set_lazy_error(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 969 | def test_licenses_headers_default(self): | CODE |
| LOW | tests/config/test_model.py | 975 | def test_licenses_headers_not_boolean(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 989 | def test_licenses_headers_set_lazy_error(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 1012 | def test_licenses_default_default(self): | CODE |
| LOW | tests/config/test_model.py | 1018 | def test_licenses_default_not_array(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 1032 | def test_licenses_default_entry_not_string(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 1046 | def test_licenses_default_set_lazy_error(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 1091 | def test_plugins_data_not_table(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 1105 | def test_plugins_set_lazy_error(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 1193 | def test_styles_set_lazy_error(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 1216 | def test_styles_info_not_string(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 1230 | def test_styles_info_set_lazy_error(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 1253 | def test_styles_success_not_string(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 1267 | def test_styles_success_set_lazy_error(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 1290 | def test_styles_error_not_string(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 1304 | def test_styles_error_set_lazy_error(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 1327 | def test_styles_warning_not_string(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 1341 | def test_styles_warning_set_lazy_error(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 1364 | def test_styles_waiting_not_string(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 1378 | def test_styles_waiting_set_lazy_error(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 1401 | def test_styles_debug_not_string(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 1415 | def test_styles_debug_set_lazy_error(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 1438 | def test_styles_spinner_not_string(self, helpers): | CODE |
| LOW | tests/config/test_model.py | 1452 | def test_styles_spinner_set_lazy_error(self, helpers): | CODE |
| LOW | tests/utils/test_fs.py | 14 | def test_resolve_relative_non_existent(self, tmp_path): | CODE |
| LOW | tests/utils/test_fs.py | 30 | def test_ensure_parent_dir_exists(self, tmp_path): | CODE |
| LOW | tests/utils/test_fs.py | 101 | def test_temp_hide_non_existent(self, tmp_path): | CODE |
| LOW | tests/utils/test_linehaul.py | 39 | def test_openssl_version_present(self): | CODE |
| 707 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/backend/builders/test_sdist.py | 0 | \ import pathlib from hatchling.builders.hooks.plugin.interface import buildhookinterface class customhook(buildhookinte | STRING |
| HIGH | …st/standard_default_build_script_extra_dependencies.py | 0 | \ import pathlib from hatchling.builders.hooks.plugin.interface import buildhookinterface class customhook(buildhookinte | STRING |
| HIGH | …lates/sdist/standard_default_build_script_artifacts.py | 0 | \ import pathlib from hatchling.builders.hooks.plugin.interface import buildhookinterface class customhook(buildhookinte | STRING |
| HIGH | tests/cli/fmt/test_fmt.py | 0 | the --sync flag can only be used when the `tool.hatch.format.config-path` option is defined | STRING |
| HIGH | tests/cli/check/test_check_fmt.py | 0 | the --sync flag can only be used when the `tool.hatch.format.config-path` option is defined | STRING |
| HIGH | tests/cli/check/test_check_code.py | 0 | the --sync flag can only be used when the `tool.hatch.format.config-path` option is defined | STRING |
| HIGH | tests/cli/project/test_metadata.py | 0 | environment `hatch-build` is incompatible: cannot locate python: 9000 | STRING |
| HIGH | tests/cli/version/test_version.py | 0 | environment `hatch-build` is incompatible: cannot locate python: 9000 | STRING |
| HIGH | tests/cli/dep/test_hash.py | 0 | environment `hatch-build` is incompatible: cannot locate python: 9000 | STRING |
| HIGH | tests/cli/dep/show/test_table.py | 0 | environment `hatch-build` is incompatible: cannot locate python: 9000 | STRING |
| HIGH | tests/cli/dep/show/test_requirements.py | 0 | environment `hatch-build` is incompatible: cannot locate python: 9000 | STRING |
| HIGH | …pers/templates/wheel/standard_default_single_module.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: true tag: py3-none-any | STRING |
| HIGH | …ates/wheel/standard_only_packages_artifact_override.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: true tag: py3-none-any | STRING |
| HIGH | …ers/templates/wheel/standard_default_license_single.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: true tag: py3-none-any | STRING |
| HIGH | …sts/helpers/templates/wheel/standard_editable_exact.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: true tag: py3-none-any | STRING |
| HIGH | tests/helpers/templates/wheel/standard_default_sbom.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: true tag: py3-none-any | STRING |
| HIGH | …/templates/wheel/standard_default_namespace_package.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: true tag: py3-none-any | STRING |
| HIGH | tests/helpers/templates/wheel/standard_editable_pth.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: true tag: py3-none-any | STRING |
| HIGH | …s/helpers/templates/wheel/standard_no_strict_naming.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: true tag: py3-none-any | STRING |
| HIGH | tests/helpers/templates/wheel/standard_entry_points.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: true tag: py3-none-any | STRING |
| HIGH | …s/templates/wheel/standard_default_license_multiple.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: true tag: py3-none-any | STRING |
| HIGH | …templates/wheel/standard_editable_pth_force_include.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: true tag: py3-none-any | STRING |
| HIGH | …mplates/wheel/standard_editable_exact_force_include.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: true tag: py3-none-any | STRING |
| HIGH | …es/wheel/standard_editable_exact_extra_dependencies.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: true tag: py3-none-any | STRING |
| HIGH | tests/helpers/templates/wheel/standard_tests.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: true tag: py3-none-any | STRING |
| HIGH | …ates/wheel/standard_editable_pth_extra_dependencies.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: true tag: py3-none-any | STRING |
| HIGH | …/templates/wheel/standard_default_python_constraint.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: true tag: py3-none-any | STRING |
| HIGH | …standard_default_python_constraint_three_components.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: true tag: py3-none-any | STRING |
| HIGH | …elpers/templates/wheel/standard_default_shared_data.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: true tag: py3-none-any | STRING |
| HIGH | …ers/templates/wheel/standard_default_extra_metadata.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: true tag: py3-none-any | STRING |
| HIGH | …ers/templates/wheel/standard_default_shared_scripts.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: true tag: py3-none-any | STRING |
| HIGH | …pers/templates/wheel/standard_default_single_module.py | 0 | \ metadata-version: {default_metadata_version} name: {kwargs["project_name"]} version: 0.0.1 license-file: license.txt | STRING |
| HIGH | …ates/wheel/standard_only_packages_artifact_override.py | 0 | \ metadata-version: {default_metadata_version} name: {kwargs["project_name"]} version: 0.0.1 license-file: license.txt | STRING |
| HIGH | …ers/templates/wheel/standard_default_license_single.py | 0 | \ metadata-version: {default_metadata_version} name: {kwargs["project_name"]} version: 0.0.1 license-file: license.txt | STRING |
| HIGH | tests/helpers/templates/wheel/standard_default_sbom.py | 0 | \ metadata-version: {default_metadata_version} name: {kwargs["project_name"]} version: 0.0.1 license-file: license.txt | STRING |
| HIGH | …/templates/wheel/standard_default_namespace_package.py | 0 | \ metadata-version: {default_metadata_version} name: {kwargs["project_name"]} version: 0.0.1 license-file: license.txt | STRING |
| HIGH | tests/helpers/templates/wheel/standard_editable_pth.py | 0 | \ metadata-version: {default_metadata_version} name: {kwargs["project_name"]} version: 0.0.1 license-file: license.txt | STRING |
| HIGH | …s/helpers/templates/wheel/standard_no_strict_naming.py | 0 | \ metadata-version: {default_metadata_version} name: {kwargs["project_name"]} version: 0.0.1 license-file: license.txt | STRING |
| HIGH | tests/helpers/templates/wheel/standard_entry_points.py | 0 | \ metadata-version: {default_metadata_version} name: {kwargs["project_name"]} version: 0.0.1 license-file: license.txt | STRING |
| HIGH | …templates/wheel/standard_editable_pth_force_include.py | 0 | \ metadata-version: {default_metadata_version} name: {kwargs["project_name"]} version: 0.0.1 license-file: license.txt | STRING |
| HIGH | tests/helpers/templates/wheel/standard_tests.py | 0 | \ metadata-version: {default_metadata_version} name: {kwargs["project_name"]} version: 0.0.1 license-file: license.txt | STRING |
| HIGH | …lates/sdist/standard_default_build_script_artifacts.py | 0 | \ metadata-version: {default_metadata_version} name: {kwargs["project_name"]} version: 0.0.1 license-file: license.txt | STRING |
| HIGH | tests/helpers/templates/sdist/standard_default.py | 0 | \ metadata-version: {default_metadata_version} name: {kwargs["project_name"]} version: 0.0.1 license-file: license.txt | STRING |
| HIGH | …ates/sdist/standard_default_vcs_git_exclusion_files.py | 0 | \ metadata-version: {default_metadata_version} name: {kwargs["project_name"]} version: 0.0.1 license-file: license.txt | STRING |
| HIGH | …dist/standard_default_vcs_mercurial_exclusion_files.py | 0 | \ metadata-version: {default_metadata_version} name: {kwargs["project_name"]} version: 0.0.1 license-file: license.txt | STRING |
| HIGH | …ers/templates/sdist/standard_default_support_legacy.py | 0 | \ metadata-version: {default_metadata_version} name: {kwargs["project_name"]} version: 0.0.1 license-file: license.txt | STRING |
| HIGH | …el/standard_default_build_script_extra_dependencies.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: false tag: {kwargs.get("tag", "")} | STRING |
| HIGH | …dard_default_build_script_artifacts_with_src_layout.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: false tag: {kwargs.get("tag", "")} | STRING |
| HIGH | …d_default_build_script_force_include_no_duplication.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: false tag: {kwargs.get("tag", "")} | STRING |
| HIGH | …lates/wheel/standard_default_build_script_artifacts.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: false tag: {kwargs.get("tag", "")} | STRING |
| HIGH | …s/wheel/standard_default_build_script_force_include.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: false tag: {kwargs.get("tag", "")} | STRING |
| HIGH | …tandard_default_build_script_configured_build_hooks.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: false tag: {kwargs.get("tag", "")} | STRING |
| HIGH | …ts/helpers/templates/wheel/standard_default_symlink.py | 0 | \ wheel-version: 1.0 generator: hatchling {__version__} root-is-purelib: false tag: {kwargs.get("tag", "")} | STRING |
| HIGH | …dard_default_build_script_artifacts_with_src_layout.py | 0 | \ metadata-version: {default_metadata_version} name: {kwargs["project_name"]} version: 0.0.1 license-file: license.txt r | STRING |
| HIGH | …d_default_build_script_force_include_no_duplication.py | 0 | \ metadata-version: {default_metadata_version} name: {kwargs["project_name"]} version: 0.0.1 license-file: license.txt r | STRING |
| HIGH | …lates/wheel/standard_default_build_script_artifacts.py | 0 | \ metadata-version: {default_metadata_version} name: {kwargs["project_name"]} version: 0.0.1 license-file: license.txt r | STRING |
| HIGH | …/templates/wheel/standard_default_python_constraint.py | 0 | \ metadata-version: {default_metadata_version} name: {kwargs["project_name"]} version: 0.0.1 license-file: license.txt r | STRING |
| HIGH | …s/wheel/standard_default_build_script_force_include.py | 0 | \ metadata-version: {default_metadata_version} name: {kwargs["project_name"]} version: 0.0.1 license-file: license.txt r | STRING |
| HIGH | …tandard_default_build_script_configured_build_hooks.py | 0 | \ metadata-version: {default_metadata_version} name: {kwargs["project_name"]} version: 0.0.1 license-file: license.txt r | STRING |
| HIGH | …ts/helpers/templates/wheel/standard_default_symlink.py | 0 | \ metadata-version: {default_metadata_version} name: {kwargs["project_name"]} version: 0.0.1 license-file: license.txt r | STRING |
| 41 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/conftest.py | 1 | CODE | |
| LOW | tests/utils/test_runner.py | 1 | CODE | |
| LOW | tests/backend/builders/test_wheel.py | 1 | CODE | |
| LOW | tests/backend/builders/test_binary.py | 1 | CODE | |
| LOW | tests/backend/utils/test_macos.py | 1 | CODE | |
| LOW | tests/cli/test/test_test.py | 1 | CODE | |
| LOW | tests/cli/fmt/test_fmt.py | 1 | CODE | |
| LOW | tests/cli/check/test_check_types.py | 1 | CODE | |
| LOW | tests/cli/check/test_check_fmt.py | 1 | CODE | |
| LOW | tests/cli/check/test_check_group.py | 1 | CODE | |
| LOW | tests/cli/check/test_check_code.py | 1 | CODE | |
| LOW | tests/helpers/helpers.py | 1 | CODE | |
| LOW | release/macos/build_pkg.py | 8 | CODE | |
| LOW | release/unix/make_scripts_portable.py | 1 | CODE | |
| LOW | release/windows/make_scripts_portable.py | 1 | CODE | |
| LOW | backend/src/hatchling/build.py | 1 | CODE | |
| LOW | backend/src/hatchling/ouroboros.py | 1 | CODE | |
| LOW | backend/src/hatchling/ouroboros.py | 8 | CODE | |
| LOW | backend/src/hatchling/builders/binary.py | 1 | CODE | |
| LOW | backend/src/hatchling/builders/macos.py | 1 | CODE | |
| LOW | backend/src/hatchling/builders/config.py | 1 | CODE | |
| LOW | backend/src/hatchling/builders/custom.py | 1 | CODE | |
| LOW | backend/src/hatchling/builders/sdist.py | 1 | CODE | |
| LOW | backend/src/hatchling/builders/utils.py | 1 | CODE | |
| LOW | backend/src/hatchling/builders/app.py | 1 | CODE | |
| LOW | backend/src/hatchling/builders/wheel.py | 1 | CODE | |
| LOW | backend/src/hatchling/builders/plugin/hooks.py | 1 | CODE | |
| LOW | backend/src/hatchling/builders/plugin/interface.py | 1 | CODE | |
| LOW | backend/src/hatchling/builders/hooks/version.py | 1 | CODE | |
| LOW | backend/src/hatchling/builders/hooks/custom.py | 1 | CODE | |
| LOW | backend/src/hatchling/builders/hooks/plugin/hooks.py | 1 | CODE | |
| LOW | …ckend/src/hatchling/builders/hooks/plugin/interface.py | 1 | CODE | |
| LOW | backend/src/hatchling/licenses/supported.py | 1 | CODE | |
| LOW | backend/src/hatchling/bridge/app.py | 1 | CODE | |
| LOW | backend/src/hatchling/plugin/utils.py | 1 | CODE | |
| LOW | backend/src/hatchling/plugin/manager.py | 1 | CODE | |
| LOW | backend/src/hatchling/utils/context.py | 1 | CODE | |
| LOW | backend/src/hatchling/utils/fs.py | 1 | CODE | |
| LOW | backend/src/hatchling/cli/version/__init__.py | 1 | CODE | |
| LOW | backend/src/hatchling/cli/dep/__init__.py | 1 | CODE | |
| LOW | backend/src/hatchling/cli/dep/core.py | 1 | CODE | |
| LOW | backend/src/hatchling/cli/metadata/__init__.py | 1 | CODE | |
| LOW | backend/src/hatchling/version/core.py | 1 | CODE | |
| LOW | backend/src/hatchling/version/scheme/standard.py | 1 | CODE | |
| LOW | backend/src/hatchling/version/scheme/plugin/hooks.py | 1 | CODE | |
| LOW | …ckend/src/hatchling/version/scheme/plugin/interface.py | 1 | CODE | |
| LOW | backend/src/hatchling/version/source/env.py | 1 | CODE | |
| LOW | backend/src/hatchling/version/source/code.py | 1 | CODE | |
| LOW | backend/src/hatchling/version/source/plugin/hooks.py | 1 | CODE | |
| LOW | …ckend/src/hatchling/version/source/plugin/interface.py | 1 | CODE | |
| LOW | backend/src/hatchling/dep/core.py | 1 | CODE | |
| LOW | backend/src/hatchling/metadata/custom.py | 1 | CODE | |
| LOW | backend/src/hatchling/metadata/core.py | 1 | CODE | |
| LOW | backend/src/hatchling/metadata/spec.py | 1 | CODE | |
| LOW | backend/src/hatchling/metadata/utils.py | 1 | CODE | |
| LOW | backend/src/hatchling/metadata/plugin/hooks.py | 1 | CODE | |
| LOW | backend/src/hatchling/metadata/plugin/interface.py | 1 | CODE | |
| LOW | docs/.hooks/render_default_test_env.py | 1 | CODE | |
| LOW | docs/.hooks/render_ruff_defaults.py | 1 | CODE | |
| LOW | scripts/update_distributions.py | 1 | CODE | |
| 59 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/conftest.py | 240 | CODE | |
| LOW | tests/project/test_config.py | 19 | CODE | |
| LOW | tests/helpers/helpers.py | 64 | CODE | |
| LOW | release/unix/make_scripts_portable.py | 9 | CODE | |
| LOW | release/windows/make_scripts_portable.py | 35 | CODE | |
| LOW | backend/tests/downstream/integrate.py | 108 | CODE | |
| LOW | backend/src/hatchling/builders/binary.py | 50 | CODE | |
| LOW | backend/src/hatchling/builders/config.py | 606 | CODE | |
| LOW | backend/src/hatchling/builders/config.py | 765 | CODE | |
| LOW | backend/src/hatchling/builders/config.py | 829 | CODE | |
| LOW | backend/src/hatchling/builders/sdist.py | 167 | CODE | |
| LOW | backend/src/hatchling/builders/sdist.py | 218 | CODE | |
| LOW | backend/src/hatchling/builders/wheel.py | 549 | CODE | |
| LOW | backend/src/hatchling/builders/wheel.py | 680 | CODE | |
| LOW | backend/src/hatchling/builders/wheel.py | 829 | CODE | |
| LOW | backend/src/hatchling/builders/plugin/interface.py | 218 | CODE | |
| LOW | backend/src/hatchling/builders/plugin/interface.py | 250 | CODE | |
| LOW | backend/src/hatchling/cli/dep/core.py | 44 | CODE | |
| LOW | backend/src/hatchling/cli/metadata/__init__.py | 7 | CODE | |
| LOW | backend/src/hatchling/version/scheme/standard.py | 18 | CODE | |
| LOW | backend/src/hatchling/metadata/core.py | 83 | CODE | |
| LOW | backend/src/hatchling/metadata/core.py | 196 | CODE | |
| LOW | backend/src/hatchling/metadata/core.py | 512 | CODE | |
| LOW | backend/src/hatchling/metadata/core.py | 682 | CODE | |
| LOW | backend/src/hatchling/metadata/core.py | 800 | CODE | |
| LOW | backend/src/hatchling/metadata/core.py | 869 | CODE | |
| LOW | backend/src/hatchling/metadata/core.py | 1138 | CODE | |
| LOW | backend/src/hatchling/metadata/core.py | 1190 | CODE | |
| LOW | backend/src/hatchling/metadata/core.py | 1250 | CODE | |
| LOW | backend/src/hatchling/metadata/spec.py | 72 | CODE | |
| LOW | backend/src/hatchling/metadata/spec.py | 280 | CODE | |
| LOW | backend/src/hatchling/metadata/spec.py | 357 | CODE | |
| LOW | backend/src/hatchling/metadata/spec.py | 443 | CODE | |
| LOW | backend/src/hatchling/metadata/spec.py | 529 | CODE | |
| LOW | backend/src/hatchling/metadata/spec.py | 620 | CODE | |
| LOW | scripts/validate_history.py | 12 | CODE | |
| LOW | scripts/generate_coverage_summary.py | 14 | CODE | |
| LOW | src/hatch/python/resolve.py | 85 | CODE | |
| LOW | src/hatch/python/core.py | 81 | CODE | |
| LOW | src/hatch/config/model.py | 15 | CODE | |
| LOW | src/hatch/config/model.py | 100 | CODE | |
| LOW | src/hatch/config/model.py | 143 | CODE | |
| LOW | src/hatch/config/model.py | 171 | CODE | |
| LOW | src/hatch/config/model.py | 283 | CODE | |
| LOW | src/hatch/config/model.py | 317 | CODE | |
| LOW | src/hatch/config/model.py | 340 | CODE | |
| LOW | src/hatch/config/model.py | 460 | CODE | |
| LOW | src/hatch/config/model.py | 491 | CODE | |
| LOW | src/hatch/config/model.py | 543 | CODE | |
| LOW | src/hatch/config/model.py | 595 | CODE | |
| LOW | src/hatch/template/default.py | 17 | CODE | |
| LOW | src/hatch/utils/dep.py | 61 | CODE | |
| LOW | src/hatch/utils/dep.py | 97 | CODE | |
| LOW | src/hatch/utils/structures.py | 13 | CODE | |
| LOW | src/hatch/cli/terminal.py | 187 | CODE | |
| LOW | src/hatch/cli/__init__.py | 97 | CODE | |
| LOW | src/hatch/cli/application.py | 54 | CODE | |
| LOW | src/hatch/cli/application.py | 106 | CODE | |
| LOW | src/hatch/cli/types/core.py | 108 | CODE | |
| LOW | src/hatch/cli/test/__init__.py | 36 | CODE | |
| 19 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/src/hatchling/metadata/core.py | 1548 | except Exception as e: # noqa: BLE001 | CODE |
| MEDIUM | scripts/release_github.py | 24 | print(f"Error creating tag: {e}") | CODE |
| LOW | src/hatch/config/model.py | 478 | except Exception: # noqa: BLE001 | CODE |
| LOW | src/hatch/config/model.py | 509 | except Exception: # noqa: BLE001 | CODE |
| LOW | src/hatch/template/default.py | 47 | except Exception: # noqa: BLE001, S112 | CODE |
| LOW | src/hatch/cli/__init__.py | 244 | except Exception: # noqa: BLE001 | CODE |
| LOW | src/hatch/cli/application.py | 58 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | src/hatch/cli/application.py | 125 | except Exception as e: # noqa: BLE001 | CODE |
| LOW⚡ | src/hatch/cli/types/core.py | 172 | except Exception: # noqa: BLE001 | CODE |
| LOW⚡ | src/hatch/cli/types/core.py | 185 | except Exception: # noqa: BLE001 | CODE |
| LOW | src/hatch/cli/test/__init__.py | 169 | except Exception: # noqa: BLE001, S110 | CODE |
| LOW | src/hatch/cli/new/__init__.py | 65 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | src/hatch/project/core.py | 190 | except Exception: | CODE |
| LOW | src/hatch/project/core.py | 271 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | src/hatch/publish/index.py | 115 | except Exception: # no cov # noqa: BLE001 | CODE |
| LOW | src/hatch/publish/index.py | 126 | except Exception as e: # noqa: BLE001 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/utils/test_auth.py | 6 | # Create a fake home directory | COMMENT |
| MEDIUM | tests/backend/builders/hooks/test_version.py | 94 | # This file is auto-generated by Hatchling. As such, do not: | STRING |
| MEDIUM | tests/backend/builders/hooks/test_version.py | 134 | # This file is auto-generated by Hatchling. As such, do not: | STRING |
| MEDIUM | tests/dep/test_sync.py | 239 | # Create a dependency with a path containing URL-encoded special character | COMMENT |
| MEDIUM | backend/src/hatchling/version/core.py | 8 | # This file is auto-generated by Hatchling. As such, do not: | COMMENT |
| MEDIUM | src/hatch/project/config.py | 381 | # Create the environment's initial configuration | COMMENT |
| MEDIUM | src/hatch/dep/sync.py | 154 | # This function is unused and only temporarily exists for plugin backwards compatibility. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/hatch/python/resolve.py | 230 | except PythonDistributionResolutionError: | CODE |
| HIGH | src/hatch/utils/linehaul.py | 102 | except (OSError, AttributeError, UnicodeDecodeError): | CODE |
| HIGH | src/hatch/cli/test/__init__.py | 169 | except Exception: # noqa: BLE001, S110 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/src/hatchling/build.py | 6 | __all__ = [ | CODE |
| LOW | backend/src/hatchling/builders/macos.py | 7 | __all__ = ["process_macos_plat_tag"] | CODE |
| LOW | backend/src/hatchling/builders/config.py | 820 | def set_exclude_all(self) -> None: | CODE |
| LOW | backend/src/hatchling/builders/utils.py | 123 | def set_zip_info_mode(zip_info: ZipInfo, mode: int = 0o644) -> None: | CODE |
| LOW | backend/src/hatchling/builders/plugin/interface.py | 430 | def set_build_data_defaults(self, build_data: dict[str, Any]) -> None: # noqa: PLR6301 | CODE |
| LOW | backend/src/hatchling/version/core.py | 45 | def set_version(self, version: str) -> None: | STRING |
| LOW | backend/src/hatchling/version/source/env.py | 27 | def set_version(self, version: str, version_data: dict) -> None: | CODE |
| LOW | backend/src/hatchling/version/source/code.py | 62 | def set_version(self, version: str, version_data: dict) -> None: | CODE |
| LOW | backend/src/hatchling/version/source/regex.py | 28 | def set_version(self, version: str, version_data: dict) -> None: # noqa: PLR6301 | CODE |
| LOW | …ckend/src/hatchling/version/source/plugin/interface.py | 65 | def set_version(self, version: str, version_data: dict) -> None: | CODE |
| LOW | src/hatch/project/env.py | 421 | def update_dependency_hash(self, environment: EnvironmentInterface, dependency_hash: str) -> None: | CODE |
| LOW | src/hatch/project/core.py | 75 | def set_path(self, path: Path) -> None: | CODE |
| LOW | src/hatch/project/core.py | 78 | def set_app(self, app: Application) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | backend/src/hatchling/builders/binary.py | 60 | if self.builder.metadata.core.python_constraint.contains(supported_version): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/src/hatchling/build.py | 81 | COMMENT | |
| LOW | docs/how-to/run/python-scripts.md | 61 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/hatch/cli/types/core.py | 202 | # Check if the marker excludes the current platform | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/config/environment/overview.md | 373 | Lorem ipsum ... | CODE |