AI Slop Code RIsk Monitor

beartype/beartype

Unbearably fast near-real-time pure-Python runtime-static type-checker.

23.4 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for beartype/beartype, a Python project with 3,505 GitHub stars. SynthScan examined 196,626 lines of code across 1059 source files, recording 3849 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 23.4 (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.

23.4
Adjusted Signal
23.4
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
3.5K
Stars
Python
Language
196.6K
Lines of Code
1.1K
Files
3.8K
Pattern Hits
2026-10-12
Scan Date
0.16
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 55.9/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 14.4/100 · LOW

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

Agent Over-Engineering Ratio 30.4/100 · MEDIUM

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

PR Review Velocity Impact 72.1/100 · HIGH

Which changes need focused human review? 3849 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

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

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 10HIGH 156MEDIUM 153LOW 3530

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 3849 distinct pattern matches across 19 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.

Over-Commented Block2371 hits · 2173 pts
SeverityFileLineSnippetContext
LOWconftest.py81 # If this test has been decorated by our customCOMMENT
LOWconftest.py101 # rather than a closure (which "pickle" rejects withCOMMENT
LOW.codecov.yml1# --------------------( LICENSE )--------------------COMMENT
LOWpytest.ini1# --------------------( LICENSE )--------------------COMMENT
LOWpytest.ini21# file's unambiguous basename of "pytest.ini". One is enraged by bureaucracy!COMMENT
LOWpytest.ini41# * "error", turning matching warnings into exceptions. Ideally, pytest wouldCOMMENT
LOWpytest.ini61 # For example:COMMENT
LOWpytest.ini81# ....................{ LOGGING }...................COMMENT
LOWpytest.ini101COMMENT
LOWpytest.ini121# INTERNALERROR> warnings.warn(warning, stacklevel=stacklevel)COMMENT
LOWpytest.ini141# embedded in docstrings that double as human-readable examples). By default,COMMENT
LOWpytest.ini181# minversion = 2.8.0COMMENT
LOWpytest.ini201norecursedirs = beartype_test/a90_func/data/external/coverage/*COMMENT
LOWpyproject.toml1# --------------------( LICENSE )--------------------COMMENT
LOWpyproject.toml21# # Build both a source (tarball) *AND* binary distribution (wheel).COMMENT
LOWpyproject.toml41# otherwise not span multiple lines or paragraphs.COMMENT
LOWpyproject.toml61# then weep as your eyes bleed! \o/COMMENT
LOWpyproject.toml101#COMMENT
LOWpyproject.toml121dynamic = [COMMENT
LOWpyproject.toml141# global of the "typing" module bundled with the most recent CPython release.COMMENT
LOWpyproject.toml161# To prevent beartype requirements from polluting the entire Python ecosystem,COMMENT
LOWpyproject.toml181# Mandatory runtime dependencies. This package intentionally requires noCOMMENT
LOWpyproject.toml201# * PEP 621 standardized dependency composition through self-referentialCOMMENT
LOWpyproject.toml221#* Official PEP 735 proposal:COMMENT
LOWpyproject.toml241 # "mkdocstrings-python" support for absolute cross-references withCOMMENT
LOWpyproject.toml261COMMENT
LOWpyproject.toml281 # Third-party Sphinx theme (i.e., extension providing the custom HTML themeCOMMENT
LOWpyproject.toml301 # routinely ignores standard Sphinx settings and directives due toCOMMENT
LOWpyproject.toml321 # ...to which the Furo maintainer caustically replied:COMMENT
LOWpyproject.toml341 # indefensible reasons. Consequently, PyData wins by default. In fact, *ANY*COMMENT
LOWpyproject.toml361COMMENT
LOWpyproject.toml381 # feel depressed just reading comments like this. Dismantled, this is:COMMENT
LOWpyproject.toml401 # # docutils.core.publish_parts() function.COMMENT
LOWpyproject.toml441 # Required by optional Redis-specific integration tests.COMMENT
LOWpyproject.toml461 # typically due to conditionally depending on low-level C(++)-drivenCOMMENT
LOWpyproject.toml481 # packages (e.g., Equinox) if the current platform is a Linux distribution.COMMENT
LOWpyproject.toml501 "equinox; sys_platform == 'linux' and python_version < '3.15.0'",COMMENT
LOWpyproject.toml521 # likely due to using a buggy Accelerate backend. If youCOMMENT
LOWpyproject.toml541 """,COMMENT
LOWpyproject.toml561 # and now support a wide variety of DataFrame-like APIs, including Polars.COMMENT
LOWpyproject.toml581 # client-server protocol.COMMENT
LOWpyproject.toml601COMMENT
LOWpyproject.toml621 # * Integrating @beartype into @hauntsaninja's open-source "mypy_primer"COMMENT
LOWpyproject.toml681# List of all third-party Python packages required to build (i.e., install) thisCOMMENT
LOWpyproject.toml701# ....................{ NON-PEP ~ hatch : path }....................COMMENT
LOWpyproject.toml721 "/beartype/**/*.py",COMMENT
LOWpyproject.toml741# * ".gitignore".COMMENT
LOWpyproject.toml821# misspelled to be explicitly marked as well-spelled. This includes:COMMENT
LOWmypy.ini1# --------------------( LICENSE )--------------------COMMENT
LOWmypy.ini21[mypy]COMMENT
LOWtox.ini1# --------------------( LICENSE )--------------------COMMENT
LOWtox.ini21#COMMENT
LOWtox.ini41# File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/tox/__main__.py", line 4, in <module>COMMENT
LOWtox.ini61#COMMENT
LOWtox.ini81#Obviously, we switch to uv. Our ".github/workflows" have *ALL* already switchedCOMMENT
LOWtox.ini101#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!COMMENT
LOWtox.ini121# aggregating results produced by those previously run environments onto theCOMMENT
LOWtox.ini141# finallyCOMMENT
LOWtox.ini161# # should be listed in the "deps" and/or "extras" settings under eachCOMMENT
LOWtox.ini181#managed by "pyproject.toml", but... eh? Who's got the time, huh? *sigh*COMMENT
2311 more matches not shown…
Hyper-Verbose Identifiers622 hits · 635 pts
SeverityFileLineSnippetContext
LOWbin/profile.bash467 'def lancers_hussars_and_dragoons(CODE
LOWbeartype/meta.py100def _convert_requires_python_to_version_min(requires_python: str) -> str:CODE
LOWbeartype/bite/collection/infercollectionitems.py35def infer_hint_collection_items(CODE
LOWbeartype/bite/collection/infercollectionitems.py195def _infer_hint_mapping_items(CODE
LOWbeartype/bite/collection/infercollectionitems.py329def _infer_hint_reiterable_items(CODE
LOWbeartype/bite/collection/infercollectionsabc.py73def infer_hint_collections_abc(obj: object, **kwargs) -> Optional[object]:CODE
LOWbeartype/bite/collection/infercollectionsabc.py207def _infer_hint_factory_collections_abc(cls: type) -> Optional[object]:CODE
LOWbeartype/bite/collection/infercollectionbuiltin.py41def infer_hint_collection_builtin(obj: object, **kwargs) -> Optional[object]:CODE
LOWbeartype/bite/collection/infercollectionbuiltin.py108def _infer_hint_factory_collection_builtin(cls: type) -> Optional[object]:CODE
LOWbeartype/bite/kind/inferthirdparty.py104def _infer_hint_thirdparty_numpy_ndarray(obj: object, **kwargs) -> object:CODE
LOWbeartype/_util/utilobjget.py143# def get_object_basename_qualified_or_none(obj: Any) -> Optional[str]:COMMENT
LOWbeartype/_util/utilobjget.py203def get_object_basename_scoped(obj: Any) -> str:CODE
LOWbeartype/_util/utilobjget.py253def get_object_basename_scoped_or_none(obj: Any) -> Optional[str]:CODE
LOWbeartype/_util/utilobjget.py343def get_object_filename_or_none(obj: object) -> Optional[str]:CODE
LOWbeartype/_util/utilobjget.py390def get_object_type_unless_type(obj: object) -> type:CODE
LOWbeartype/_util/utilobjattr.py144def get_object_attr_name_to_value(CODE
LOWbeartype/_util/utilobjattr.py422def get_object_method_name_to_value(obj: object, **kwargs) -> DictStrToAny:CODE
LOWbeartype/_util/utilobjattr.py474def get_object_uncallable_name_to_value(obj: object, **kwargs) -> DictStrToAny:CODE
LOWbeartype/_util/utilobjattr.py516def _is_object_attr_callable_not_object_slot_wrapper(CODE
LOWbeartype/_util/utilobjattr.py556def _is_object_attr_uncallable(attr_name: str, attr_value: object) -> bool:CODE
LOWbeartype/_util/utilobjtest.py21def is_object_context_manager(obj: object) -> TypeIs[AbstractContextManager]:CODE
LOWbeartype/_util/hint/pep/utilpeptest.py126def die_if_hint_pep_unsupported(CODE
LOWbeartype/_util/hint/pep/utilpeptest.py225# def warn_if_hint_pep_unsupported(COMMENT
LOWbeartype/_util/hint/pep/utilpepsign.py58# def get_hint_pep_signs_or_none(hint: Any) -> TupleHintSign:COMMENT
LOWbeartype/_util/hint/pep/utilpepsign.py74# def get_hint_pep_sign_or_none(hint: Any) -> TupleHintSign:COMMENT
LOWbeartype/_util/hint/pep/utilpepsign.py243def get_hint_pep_sign_or_none(hint: Hint) -> Optional[HintSign]:CODE
LOWbeartype/_util/hint/pep/utilpepsign.py336def get_hint_pep_sign_ambiguous_or_none(hint: Hint) -> Optional[HintSign]:CODE
LOWbeartype/_util/hint/pep/utilpepget.py328def get_hint_pep_typeargs_unpacked(CODE
LOWbeartype/_util/hint/pep/utilpepget.py456def get_hint_pep_typeargs_packed(CODE
LOWbeartype/_util/hint/pep/utilpepget.py795def get_hint_pep_origin_or_none(hint: Hint) -> HintOrNone:CODE
LOWbeartype/_util/hint/pep/utilpepget.py979def get_hint_pep_origin_type_or_none(CODE
LOWbeartype/_util/hint/pep/utilpepget.py1085def get_hint_pep_origin_type_isinstanceable(hint: Hint) -> type:CODE
LOWbeartype/_util/hint/pep/utilpepget.py1133def get_hint_pep_origin_type_isinstanceable_or_none(CODE
LOWbeartype/_util/hint/pep/proposal/pep696.py31def get_hint_typearg_packed_default_or_sentinel(CODE
LOW…type/_util/hint/pep/proposal/typearg/peptypeargmain.py37def die_unless_hint_typearg_unpacked(CODE
LOW…type/_util/hint/pep/proposal/typearg/peptypeargmain.py86def die_unless_hint_typearg_packed(CODE
LOW…type/_util/hint/pep/proposal/typearg/peptypeargmain.py219def get_hint_typearg_packed_name(CODE
LOW…type/_util/hint/pep/proposal/typearg/peptypeargmain.py267def pack_hint_typearg_unpacked(CODE
LOW…type/_util/hint/pep/proposal/typearg/peptypeargrepr.py37def make_hint_typearg_unpacked_repr(CODE
LOW…type/_util/hint/pep/proposal/typearg/peptypeargrepr.py151def _is_hint_typearg_packed_field(CODE
LOW…type/_util/hint/pep/proposal/typearg/peptypeargrepr.py189def _get_hint_typearg_packed_field_name_to_value(CODE
LOW…ype/_util/hint/pep/proposal/pep484585/pep484585func.py202def _die_of_hint_return_invalid(CODE
LOWbeartype/_util/hint/nonpep/utilnonpeptest.py228def die_unless_hint_nonpep_type(CODE
LOWbeartype/_util/hint/nonpep/utilnonpeptest.py317def die_unless_hint_nonpep_tuple(CODE
LOWbeartype/_util/py/utilpyversion.py192def get_python_version_major_minor() -> str:CODE
LOWbeartype/_util/py/utilpyweakref.py19def make_obj_weakref_and_repr(obj: object) -> tuple[Optional[WeakrefCallableType], str]:CODE
LOWbeartype/_util/py/utilpyinterpreter.py122def get_interpreter_command_words() -> CommandWords:CODE
LOWbeartype/_util/cache/utilcacheobjattr.py76def get_object_attr_cached_or_sentinel(CODE
LOWbeartype/_util/cache/utilcacheobjattr.py237def get_type_attr_cached_or_sentinel(CODE
LOW⚡beartype/_util/cache/pool/utilcachepoollistfixed.py189 # def _die_if_slice_len_ne_value_len(self, index, value) -> None:COMMENT
LOWbeartype/_util/module/utilmodget.py27def get_module_imported_or_none(module_name: str) -> Optional[ModuleType]:CODE
LOWbeartype/_util/module/utilmodget.py92def get_object_module_or_none(obj: object) -> Optional[ModuleType]:CODE
LOWbeartype/_util/module/utilmodget.py121def get_object_module_line_number_begin(obj: object) -> int:CODE
LOWbeartype/_util/module/utilmodget.py277def get_object_module_name_or_none(CODE
LOWbeartype/_util/module/utilmodget.py384def get_object_type_module_name_or_none(obj: object) -> Optional[str]:CODE
LOWbeartype/_util/module/utilmodget.py519def get_module_filename_or_none(module: ModuleType) -> Optional[str]:CODE
LOWbeartype/_util/module/utilmodinitted.py38def is_module_initted_partial(module_name: str) -> bool:CODE
LOWbeartype/_util/module/utilmodtest.py25def die_unless_module_attr_name(CODE
LOWbeartype/_util/module/utilmodtest.py257def is_module_version_at_least(module_name: str, version_minimum: str) -> bool:CODE
LOWbeartype/_util/module/utilmodimport.py331def import_module_attr_or_sentinel(CODE
562 more matches not shown…
Cross-File Repetition98 hits · 490 pts
SeverityFileLineSnippetContext
HIGHbeartype/__init__.py0dynamically retrieve a deprecated attribute with the passed unqualified name from this submodule and emit a non-fatal deSTRING
HIGHbeartype/typing/__init__.py0dynamically retrieve a deprecated attribute with the passed unqualified name from this submodule and emit a non-fatal deSTRING
HIGHbeartype/door/__init__.py0dynamically retrieve a deprecated attribute with the passed unqualified name from this submodule and emit a non-fatal deSTRING
HIGHbeartype/cave/__init__.py0dynamically retrieve a deprecated attribute with the passed unqualified name from this submodule and emit a non-fatal deSTRING
HIGHbeartype/roar/__init__.py0dynamically retrieve a deprecated attribute with the passed unqualified name from this submodule and emit a non-fatal deSTRING
HIGHbeartype/_util/hint/pep/proposal/pep557.py0project-wide :pep:`484`-compliant type hint utilities. this private submodule is *not* intended for importation by downsSTRING
HIGHbeartype/_util/hint/pep/proposal/pep585.py0project-wide :pep:`484`-compliant type hint utilities. this private submodule is *not* intended for importation by downsSTRING
HIGHbeartype/_util/hint/pep/proposal/pep586.py0project-wide :pep:`484`-compliant type hint utilities. this private submodule is *not* intended for importation by downsSTRING
HIGHbeartype/_util/hint/pep/proposal/pep593.py0project-wide :pep:`484`-compliant type hint utilities. this private submodule is *not* intended for importation by downsSTRING
HIGHbeartype/_util/hint/pep/proposal/pep544.py0project-wide :pep:`484`-compliant type hint utilities. this private submodule is *not* intended for importation by downsSTRING
HIGHbeartype/_util/hint/pep/proposal/pep484/pep484.py0project-wide :pep:`484`-compliant type hint utilities. this private submodule is *not* intended for importation by downsSTRING
HIGHbeartype/_util/ast/utilastget.py0beartype **abstract syntax tree (ast) mungers** (i.e., low-level callables modifying various properties of various nodesSTRING
HIGHbeartype/_util/ast/utilastmunge.py0beartype **abstract syntax tree (ast) mungers** (i.e., low-level callables modifying various properties of various nodesSTRING
HIGHbeartype/_util/ast/utilasttest.py0beartype **abstract syntax tree (ast) mungers** (i.e., low-level callables modifying various properties of various nodesSTRING
HIGHbeartype/claw/_ast/_clawastutil.py0beartype **abstract syntax tree (ast) mungers** (i.e., low-level callables modifying various properties of various nodesSTRING
HIGHbeartype/vale/_is/_valeistype.py0**beartype declarative operator validation classes** (i.e., :mod:`beartype`-specific classes enabling callers to define STRING
HIGHbeartype/vale/_is/_valeisobj.py0**beartype declarative operator validation classes** (i.e., :mod:`beartype`-specific classes enabling callers to define STRING
HIGHbeartype/vale/_is/_valeisoper.py0**beartype declarative operator validation classes** (i.e., :mod:`beartype`-specific classes enabling callers to define STRING
HIGHbeartype/_check/code/snip/codesnipstr.py0project-wide :pep:`593` **type-checking expression snippets** (i.e., triple-quoted pure-python string constants formatteSTRING
HIGHbeartype/_data/check/code/pep/datacodepep484585.py0project-wide :pep:`593` **type-checking expression snippets** (i.e., triple-quoted pure-python string constants formatteSTRING
HIGHbeartype/_data/check/code/pep/datacodepep484604.py0project-wide :pep:`593` **type-checking expression snippets** (i.e., triple-quoted pure-python string constants formatteSTRING
HIGHbeartype/_data/check/code/pep/datacodepep484.py0project-wide :pep:`593` **type-checking expression snippets** (i.e., triple-quoted pure-python string constants formatteSTRING
HIGHbeartype/_data/check/code/pep/datacodepep586.py0project-wide :pep:`593` **type-checking expression snippets** (i.e., triple-quoted pure-python string constants formatteSTRING
HIGHbeartype/_data/check/code/pep/datacodepep593.py0project-wide :pep:`593` **type-checking expression snippets** (i.e., triple-quoted pure-python string constants formatteSTRING
HIGHbeartype/_check/cls/hint/tree/hinttreecode.py0metadata encapsulating the sanification (i.e., sanitization) of the passed **possibly insane child type hint** (i.e., poSTRING
HIGHbeartype/_check/cls/hint/tree/hinttreeabc.py0metadata encapsulating the sanification (i.e., sanitization) of the passed **possibly insane child type hint** (i.e., poSTRING
HIGHbeartype/_check/cls/hint/tree/hinttreeerror.py0metadata encapsulating the sanification (i.e., sanitization) of the passed **possibly insane child type hint** (i.e., poSTRING
HIGHbeartype/_check/forward/reference/fwdrefproxy.py0beartype **forward reference setters** (i.e., low-level callables setting various properties on forward reference proxy STRING
HIGHbeartype/_check/forward/reference/fwdreftest.py0beartype **forward reference setters** (i.e., low-level callables setting various properties on forward reference proxy STRING
HIGHbeartype/_check/forward/reference/fwdrefset.py0beartype **forward reference setters** (i.e., low-level callables setting various properties on forward reference proxy STRING
HIGH…artype/_check/convert/_reduce/_nonpep/rednonpeptype.py0project-wide **pep-noncompliant pandera type hint reducers** (i.e., low-level callables converting higher-level type hinSTRING
HIGH…type/_check/convert/_reduce/_nonpep/api/redapinumpy.py0project-wide **pep-noncompliant pandera type hint reducers** (i.e., low-level callables converting higher-level type hinSTRING
HIGH…pe/_check/convert/_reduce/_nonpep/api/redapipandera.py0project-wide **pep-noncompliant pandera type hint reducers** (i.e., low-level callables converting higher-level type hinSTRING
HIGHbeartype_test/a00_unit/conftest.py0**test configuration** (i.e., :mod:`pytest`-specific early-time configuration guaranteed to be implicitly imported by :mSTRING
HIGHbeartype_test/a00_unit/a90_claw/conftest.py0**test configuration** (i.e., :mod:`pytest`-specific early-time configuration guaranteed to be implicitly imported by :mSTRING
HIGHbeartype_test/a00_unit/a80_main/conftest.py0**test configuration** (i.e., :mod:`pytest`-specific early-time configuration guaranteed to be implicitly imported by :mSTRING
HIGHbeartype_test/a00_unit/a40_api/bite/conftest.py0**test configuration** (i.e., :mod:`pytest`-specific early-time configuration guaranteed to be implicitly imported by :mSTRING
HIGHbeartype_test/a00_unit/a40_api/door/conftest.py0**test configuration** (i.e., :mod:`pytest`-specific early-time configuration guaranteed to be implicitly imported by :mSTRING
HIGHbeartype_test/a90_func/a40_claw/conftest.py0**test configuration** (i.e., :mod:`pytest`-specific early-time configuration guaranteed to be implicitly imported by :mSTRING
HIGH…a00_unit/a20_util/hint/a00_pep/test_a90_utilpeptest.py0test the :func:`beartype._util.hint.utilhinttest.is_hint` tester. parameters ---------- hints_piths_pep_meta : list[bearSTRING
HIGH…ep/proposal/pep484585/generic/test_pep484585gentest.py0test the :func:`beartype._util.hint.utilhinttest.is_hint` tester. parameters ---------- hints_piths_pep_meta : list[bearSTRING
HIGH…t/a00_unit/a20_util/hint/a90_core/test_utilhinttest.py0test the :func:`beartype._util.hint.utilhinttest.is_hint` tester. parameters ---------- hints_piths_pep_meta : list[bearSTRING
HIGH…a00_unit/a20_util/hint/a00_pep/test_a00_utilpepsign.py0test the :func:`beartype._util.hint.utilhintget.get_hint_repr` getter. parameters ---------- hints_piths_pep_meta : listSTRING
HIGH…/a00_unit/a20_util/hint/a00_pep/test_a50_utilpepget.py0test the :func:`beartype._util.hint.utilhintget.get_hint_repr` getter. parameters ---------- hints_piths_pep_meta : listSTRING
HIGH…pep/proposal/pep484585/generic/test_pep484585genget.py0test the :func:`beartype._util.hint.utilhintget.get_hint_repr` getter. parameters ---------- hints_piths_pep_meta : listSTRING
HIGH…st/a00_unit/a20_util/hint/a90_core/test_utilhintget.py0test the :func:`beartype._util.hint.utilhintget.get_hint_repr` getter. parameters ---------- hints_piths_pep_meta : listSTRING
HIGH…pe_test/a00_unit/a60_decor/a60_pep/test_decorpep591.py0beartype :pep:`3119` unit tests. this submodule unit tests :pep:`3119` support implemented in the :func:`beartype.beartySTRING
HIGH…pe_test/a00_unit/a60_decor/a60_pep/test_decorpep593.py0beartype :pep:`3119` unit tests. this submodule unit tests :pep:`3119` support implemented in the :func:`beartype.beartySTRING
HIGH…e_test/a00_unit/a60_decor/a60_pep/test_decorpep3119.py0beartype :pep:`3119` unit tests. this submodule unit tests :pep:`3119` support implemented in the :func:`beartype.beartySTRING
HIGH…pe_test/a00_unit/a60_decor/a60_pep/test_decorpep613.py0test :pep:`647` support implemented in the :func:`beartype.beartype` decorator if the active python interpreter targets STRING
HIGH…pe_test/a00_unit/a60_decor/a60_pep/test_decorpep612.py0test :pep:`647` support implemented in the :func:`beartype.beartype` decorator if the active python interpreter targets STRING
HIGH…test/a00_unit/a60_decor/a60_pep/test_decorpep647742.py0test :pep:`647` support implemented in the :func:`beartype.beartype` decorator if the active python interpreter targets STRING
HIGH…e_test/a00_unit/data/hint/pep/proposal/_data_pep593.py0session-scoped fixture returning a list of :pep:`585`-compliant **type hint metadata** (i.e., :class:`beartype_test.a00_STRING
HIGH…e_test/a00_unit/data/hint/pep/proposal/_data_pep586.py0session-scoped fixture returning a list of :pep:`585`-compliant **type hint metadata** (i.e., :class:`beartype_test.a00_STRING
HIGH…e_test/a00_unit/data/hint/pep/proposal/_data_pep589.py0session-scoped fixture returning a list of :pep:`585`-compliant **type hint metadata** (i.e., :class:`beartype_test.a00_STRING
HIGH…e_test/a00_unit/data/hint/pep/proposal/_data_pep675.py0session-scoped fixture returning a list of :pep:`585`-compliant **type hint metadata** (i.e., :class:`beartype_test.a00_STRING
HIGH…e_test/a00_unit/data/hint/pep/proposal/_data_pep604.py0session-scoped fixture returning a list of :pep:`585`-compliant **type hint metadata** (i.e., :class:`beartype_test.a00_STRING
HIGH…e_test/a00_unit/data/hint/pep/proposal/_data_pep585.py0session-scoped fixture returning a list of :pep:`585`-compliant **type hint metadata** (i.e., :class:`beartype_test.a00_STRING
HIGH…e_test/a00_unit/data/hint/pep/proposal/_data_pep593.py0list of :pep:`557`-compliant **type hint reduction metadata** (i.e., :class:`beartype_test.a00_unit.data.hint.cls.data_cSTRING
HIGH…e_test/a00_unit/data/hint/pep/proposal/_data_pep646.py0list of :pep:`557`-compliant **type hint reduction metadata** (i.e., :class:`beartype_test.a00_unit.data.hint.cls.data_cSTRING
38 more matches not shown…
Unused Imports415 hits · 305 pts
SeverityFileLineSnippetContext
LOWbeartype/__init__.py75CODE
LOWbeartype/__init__.py81CODE
LOWbeartype/__init__.py84CODE
LOWbeartype/__init__.py84CODE
LOWbeartype/__init__.py88CODE
LOWbeartype/__init__.py91CODE
LOWbeartype/meta.py32CODE
LOWbeartype/meta.py33CODE
LOWbeartype/meta.py33CODE
LOWbeartype/meta.py33CODE
LOWbeartype/meta.py33CODE
LOWbeartype/meta.py33CODE
LOWbeartype/meta.py33CODE
LOWbeartype/meta.py33CODE
LOWbeartype/meta.py33CODE
LOWbeartype/meta.py33CODE
LOWbeartype/meta.py33CODE
LOWbeartype/meta.py33CODE
LOWbeartype/meta.py33CODE
LOWbeartype/meta.py33CODE
LOWbeartype/meta.py33CODE
LOWbeartype/meta.py33CODE
LOWbeartype/meta.py33CODE
LOWbeartype/meta.py33CODE
LOWbeartype/meta.py33CODE
LOWbeartype/meta.py33CODE
LOWbeartype/meta.py33CODE
LOWbeartype/meta.py33CODE
LOWbeartype/meta.py33CODE
LOWbeartype/meta.py33CODE
LOWbeartype/bite/__init__.py21CODE
LOWbeartype/bite/kind/infercallable.py78CODE
LOW…type/_util/hint/pep/proposal/typearg/peptypeargmain.py33CODE
LOWbeartype/_util/cache/func/utilcacheproperty.py18CODE
LOWbeartype/_util/func/utilfuncframe.py26CODE
LOWbeartype/_util/func/utilfuncframe.py31CODE
LOWbeartype/vale/_core/_valecore.py173CODE
LOWbeartype/peps/__init__.py26CODE
LOWbeartype/cave/__init__.py79CODE
LOWbeartype/cave/__init__.py79CODE
LOWbeartype/cave/__init__.py83CODE
LOWbeartype/cave/__init__.py86CODE
LOWbeartype/cave/__init__.py86CODE
LOWbeartype/cave/__init__.py86CODE
LOWbeartype/cave/__init__.py86CODE
LOWbeartype/cave/__init__.py86CODE
LOWbeartype/cave/__init__.py86CODE
LOWbeartype/cave/__init__.py86CODE
LOWbeartype/cave/__init__.py86CODE
LOWbeartype/cave/__init__.py86CODE
LOWbeartype/cave/__init__.py86CODE
LOWbeartype/cave/__init__.py86CODE
LOWbeartype/cave/__init__.py86CODE
LOWbeartype/cave/__init__.py86CODE
LOWbeartype/cave/__init__.py86CODE
LOWbeartype/cave/__init__.py86CODE
LOWbeartype/cave/__init__.py86CODE
LOWbeartype/cave/__init__.py86CODE
LOWbeartype/cave/__init__.py86CODE
LOWbeartype/cave/__init__.py86CODE
355 more matches not shown…
AI Slop Vocabulary103 hits · 284 pts
SeverityFileLineSnippetContext
MEDIUMconftest.py95 # Note that this logic is robust under POSIX-compliant platforms (e.g.,COMMENT
MEDIUMpytest.ini125# *NOT* require, reference, or otherwise leverage "pytest-asyncio" anywhere.COMMENT
MEDIUMpytest.ini206# Command-line options pertaining to plugins include:COMMENT
MEDIUMpyproject.toml445 # leverage the even *MORE* optional "sqlalchemy.ext.asyncio" subpackage,STRING
MEDIUMtox.ini7# harness within this project.COMMENT
MEDIUMtox.ini314 # Note that we intentionally do *NOT* leverage the "pytest-cov" plugin,COMMENT
MEDIUMtox.ini381# the "make" ecosystem, whose recipes utilize similar syntax.COMMENT
MEDIUMzensical.toml173#FIXME: Uncomment if and when we leverage versioning for @beartype docs.COMMENT
MEDIUMbeartype/__init__.py184 # #FIXME: Dynamically import this attribute here... somehow. Certainly, ifCOMMENT
MEDIUMbeartype/bite/collection/infercollectionsabc.py48#aforementioned failure of that protocol to define the __subclasshook__()COMMENT
LOWbeartype/bite/collection/infercollectionsabc.py182 # case, we should simply return this "hint" as is rather than aCOMMENT
MEDIUMbeartype/_util/hint/pep/utilpeptest.py560 # "__module__" dunder attribute and is thus significantly more robustCOMMENT
MEDIUMbeartype/_util/hint/pep/utilpepsign.py552 # defined by third-party packages in an efficient and robust manner. Well,COMMENT
MEDIUMbeartype/_util/hint/pep/utilpepsign.py553 # reasonably efficient and robust anyway. *sigh*COMMENT
LOWbeartype/_util/hint/pep/utilpepsign.py95#moment. Instead, we just call theCOMMENT
LOWbeartype/_util/hint/pep/utilpepget.py689 # valid, albeit semantically meaningless. In this case, simply returnCOMMENT
MEDIUMbeartype/_util/hint/pep/proposal/pep585.py646 # already been subsumed by the more robustCOMMENT
LOW…pe/_util/hint/pep/proposal/pep749/pep649749annotate.py597 #monkey-patch. Instead, just use @functools.wraps(hintable_annotate_old) asCOMMENT
LOW…pe/_util/hint/pep/proposal/pep749/pep649749annotate.py1364 #FIXME: Actually, let's just return this mutable annotations dictionaryCOMMENT
MEDIUM…artype/_util/hint/pep/proposal/pep484/pep484generic.py114 # * This test is robust against edge cases, as the "typing" moduleCOMMENT
MEDIUM…hint/pep/proposal/pep484585/generic/pep484585genget.py844 # case, assume that type to be isinstanceable. Certainly, this genericCOMMENT
MEDIUMbeartype/_util/cache/utilcacheobjattr.py300 # @beartype-specific attributes pertaining to this class.COMMENT
MEDIUMbeartype/_util/cache/pool/utilcachepool.py21#"self._thread_lock" context manager, we might be able to leverage the GIL byCOMMENT
MEDIUMbeartype/_util/kind/maplike/utilmaptest.py107 # considerably more robust alternative supporting unhashable values.COMMENT
MEDIUMbeartype/_util/kind/maplike/utilmapfrozen.py35#FIXME: Generalize *ALL* of the methods below to leverage the "S" and "T" typeCOMMENT
MEDIUMbeartype/_util/api/external/utilsphinx.py51 #FIXME: Refactor this to leverage a genuinely valid working solutionCOMMENT
MEDIUMbeartype/_util/error/utilerrget.py86 # threshold. Certainly, two str.find() calls is below that threshold.COMMENT
MEDIUMbeartype/_util/func/utilfunccodeobj.py211 # so would both be less efficient *AND* render this getter less robust. Why?COMMENT
MEDIUMbeartype/_util/func/pep/utilfuncpep702.py155 # more intricate logic. Only introspecting the C-based code objectCOMMENT
MEDIUMbeartype/_util/func/arg/utilfuncargiter.py565 # How? In this case, the aforementioned @beartype_pseudofuncCOMMENT
MEDIUMbeartype/vale/__init__.py94#leverage all of our existing "beartype.is" infrastructure to dynamicallyCOMMENT
LOWbeartype/cave/_caveabc.py39# Fortunately, doing so is trivial; simply use the three-argument form ofCOMMENT
MEDIUMbeartype/_cache/cacheclear.py46#*HMM.* Might not be possible due to import issues, though? No idea. CertainlyCOMMENT
MEDIUM…ype/_decor/_nontype/_builtin/decorbuiltindescriptor.py210 # leverage to augment those classes into subscriptable type hint factoriesCOMMENT
MEDIUMbeartype/_decor/_nontype/_wrap/__init__.py83# robust *AND* generalize to the case of annotated local variables, whereCOMMENT
MEDIUMbeartype/_decor/_nontype/_wrap/__init__.py86# * *SIGH.* Yes, absolutely use the standard "ast" module. Absolutely doCOMMENT
MEDIUMbeartype/_decor/_nontype/_wrap/__init__.py133# appears to be the most robust means of doing so, as it implicitly accountsCOMMENT
MEDIUMbeartype/_decor/_nontype/_wrap/__init__.py311#Naturally, profile this to decide what we should do. To facilitate choice,COMMENT
MEDIUMbeartype/_decor/_nontype/_wrap/_wrapargs.py300 #easier to just leverage the existing reducer API. Let's go, yo! \o/COMMENT
MEDIUMbeartype/_decor/_nontype/_wrap/_wrapargs.py341 #FIXME: Fundamentally unsafe and thus temporarily disabled *FORCOMMENT
MEDIUMbeartype/_decor/_type/decortype.py117 # Why? No idea. Almost certainly something pertaining to forwardCOMMENT
LOWbeartype/_decor/_type/_pep/decortypepep557.py233 #Since this is becoming a common operation, perhaps simply add a newCOMMENT
MEDIUMbeartype/_check/pep/pep484585/checkpep484585generic.py100#FIXME: Note that this would be, ideally, internally refactored to leverage theCOMMENT
MEDIUMbeartype/_check/code/codemain.py442 #FIXME: Actually, we should probably just leverage a hypotheticalCOMMENT
MEDIUMbeartype/_check/code/codemain.py483 # the aforementioned locality issue via the "nonlocal" keyword atCOMMENT
MEDIUMbeartype/_check/code/codemain.py1336 #below to instead leverage a similarCOMMENT
MEDIUMbeartype/_check/code/__init__.py59# *WAIT*. Definitely not that simple. If the parent hint of a child hint "T" isCOMMENT
MEDIUMbeartype/_check/code/__init__.py455# returned "hint_sane" dataclass. A simpler API could facilitate thisCOMMENT
MEDIUMbeartype/_check/code/__init__.py499# something be done? Absolutely. Our "beartype.claw" import hooks alreadyCOMMENT
MEDIUMbeartype/_check/code/__init__.py1232#*NOT* be refactoring that function to leverage:COMMENT
MEDIUMbeartype/_check/code/__init__.py1423#*BEFORE* we then delve into their PEP-compliant child type hints in theCOMMENT
MEDIUMbeartype/_check/code/__init__.py2421#Naturally, this requires these options to be hashable. Certainly, booleansCOMMENT
MEDIUMbeartype/_check/code/__init__.py2827#with the caveat that these projects *ALL* leverage package-specific constructsCOMMENT
MEDIUMbeartype/_check/code/__init__.py2872# comments in the "beartype.plug._plughintable" submodule pertaining to thatCOMMENT
LOW⚡beartype/_check/code/__init__.py1768# #"except Exception:" condition should probably just returnCOMMENT
LOWbeartype/_check/code/__init__.py782# callable is passed and just return the "UNPYTHONIC_CALLABLE_TYPE_HINT"COMMENT
LOWbeartype/_check/code/__init__.py817#Lastly, just call the callable() builtin to omit non-callable objects. ThisCOMMENT
LOWbeartype/_check/code/__init__.py1346# fields of dataclass instances is less trivial but still feasible; just passCOMMENT
LOWbeartype/_check/code/__init__.py2731# itself; we just use that function as the basis for dynamicallyCOMMENT
MEDIUMbeartype/_check/code/_pep/pep484/codepep484604union.py219 # While we *COULD* technically leverage that approach here, doing soCOMMENT
43 more matches not shown…
Decorative Section Separators43 hits · 160 pts
SeverityFileLineSnippetContext
MEDIUMbin/profile.bash115# ----------COMMENT
MEDIUMbin/profile.bash253# ----------COMMENT
MEDIUMbeartype/_util/utilobjget.py185# ----------COMMENT
MEDIUM⚡beartype/_util/hint/pep/utilpeptest.py242# ----------COMMENT
MEDIUM⚡beartype/_util/hint/pep/utilpeptest.py250# ----------COMMENT
MEDIUM⚡beartype/_util/hint/pep/utilpeptest.py256# ----------COMMENT
MEDIUM⚡beartype/_util/hint/pep/utilpeptest.py261# ----------COMMENT
MEDIUMbeartype/_util/hint/pep/utilpeptest.py356# ----------COMMENT
MEDIUM…artype/_util/hint/pep/proposal/pep484/pep484generic.py347 # ----------COMMENT
MEDIUM⚡beartype/_util/cache/pool/utilcachepoollistfixed.py199 # ----------COMMENT
MEDIUM⚡beartype/_util/cache/pool/utilcachepoollistfixed.py207 # ----------COMMENT
MEDIUMbeartype/_util/module/utilmodimport.py45# ----------COMMENT
MEDIUMbeartype/_util/module/utilmodimport.py53# ----------COMMENT
MEDIUMbeartype/_util/cls/pep/clspep3119.py480# ----------COMMENT
MEDIUMbeartype/_util/api/external/utiltensordict.py45# ----------COMMENT
MEDIUM⚡beartype/_util/text/utiltextget.py27# ----------COMMENT
MEDIUM⚡beartype/_util/text/utiltextget.py34# ----------COMMENT
MEDIUM⚡beartype/_util/text/utiltextget.py39# ----------COMMENT
MEDIUM⚡beartype/_util/text/utiltextget.py44# ----------COMMENT
MEDIUM⚡beartype/_util/text/utiltextget.py70# ----------COMMENT
MEDIUM⚡beartype/_util/text/utiltextget.py77# ----------COMMENT
MEDIUM⚡beartype/_util/text/utiltextget.py86# ----------COMMENT
MEDIUM⚡beartype/_util/func/utilfunccode.py503# ----------COMMENT
MEDIUM⚡beartype/_util/func/utilfunccode.py510# ----------COMMENT
MEDIUM⚡beartype/_util/func/utilfunccode.py515# ----------COMMENT
MEDIUMbeartype/_util/func/utilfunccode.py530# ----------COMMENT
MEDIUMbeartype/_util/func/utilfunctest.py111# ----------COMMENT
MEDIUMbeartype/_util/func/utilfunctest.py652# ----------COMMENT
MEDIUM⚡beartype/_util/func/utilfuncmake.py412# ----------COMMENT
MEDIUM⚡beartype/_util/func/utilfuncmake.py420# ----------COMMENT
MEDIUM⚡beartype/_util/func/utilfuncmake.py425# ----------COMMENT
MEDIUM⚡beartype/_util/func/utilfuncmake.py430# ----------COMMENT
MEDIUMbeartype/_util/func/arg/utilfuncargtest.py129# ----------COMMENT
MEDIUMbeartype/_util/func/arg/utilfuncargtest.py141# ----------COMMENT
MEDIUMbeartype/peps/_pep563.py327# ----------COMMENT
MEDIUMbeartype/peps/_pep563.py340# ----------COMMENT
MEDIUMbeartype/peps/_pep563.py349# ----------COMMENT
MEDIUMbeartype/_decor/_nontype/_wrap/_wrapargs.py505# ----------COMMENT
MEDIUM⚡beartype/_check/code/__init__.py1758# ----------COMMENT
MEDIUMbeartype/_check/code/_pep/pep484/codepep484typevar.py54# ----------COMMENT
MEDIUMbeartype/_check/error/_pep/pep484/errpep484typevar.py31# ----------COMMENT
MEDIUM…t/a00_unit/a40_api/door/a00_type/test_door_typehint.py487# ----------COMMENT
MEDIUM…ype_test/a00_unit/a50_check/a80_code/test_codescope.py391# ----------COMMENT
Cross-Language Confusion39 hits · 160 pts
SeverityFileLineSnippetContext
HIGHbeartype/_util/hint/utilhinttest.py89 proxying an external type hint that may currently be undefined). See theSTRING
HIGHbeartype/_util/hint/utilhinttest.py232 proxying an external type hint that may currently be undefined). See theSTRING
HIGHbeartype/_util/hint/pep/utilpepget.py1003 an abject lie. Moreover, this getter could be said to return falseSTRING
HIGH…pe/_util/hint/pep/proposal/pep749/pep649749annotate.py368 # * The optional default is intentionally left undefined, ensuring correctCOMMENT
HIGH…pe/_util/hint/pep/proposal/pep749/pep649749annotate.py1292 # should be defined. If one is undefined, the other should beCOMMENT
HIGH…pe/_util/hint/pep/proposal/pep749/pep649749annotate.py162 f'dunder attributes undefined).'CODE
HIGH…int/pep/proposal/pep484585/generic/pep484585genfind.py849 # pseudo-superclass. Although that list remains undefined, the tupleCOMMENT
HIGHbeartype/_util/hint/nonpep/utilnonpeptest.py61 proxying an external type hint that may currently be undefined). See theSTRING
HIGHbeartype/_util/hint/nonpep/utilnonpeptest.py150 proxying an external type hint that may currently be undefined). See theSTRING
HIGHbeartype/_util/hint/nonpep/utilnonpeptest.py253 proxying an external type hint that may currently be undefined). See theSTRING
HIGHbeartype/_util/hint/nonpep/utilnonpeptest.py351 proxying an external type hint that may currently be undefined). See theSTRING
HIGHbeartype/_util/hint/nonpep/utilnonpeptest.py487 proxying an external type hint that may currently be undefined). See theSTRING
HIGHbeartype/_util/hint/nonpep/utilnonpeptest.py558 proxying an external type hint that may currently be undefined). See theSTRING
HIGHbeartype/_util/hint/nonpep/utilnonpeptest.py616 proxying an external type hint that may currently be undefined). See theSTRING
HIGHbeartype/_util/cls/pep/clspep3119.py60 proxying an external type hint that may currently be undefined). If thisSTRING
HIGHbeartype/_util/cls/pep/clspep3119.py230 proxying an external type hint that may currently be undefined). See theSTRING
HIGHbeartype/_util/cls/pep/clspep3119.py317 proxying an external type hint that may currently be undefined). See theSTRING
HIGHbeartype/_util/cls/pep/clspep3119.py398 proxying an external type hint that may currently be undefined). See theSTRING
HIGHbeartype/_util/cls/pep/clspep3119.py525 proxying an external type hint that may currently be undefined). See theSTRING
HIGHbeartype/_util/cls/pep/clspep3119.py594 proxying an external type hint that may currently be undefined). See theSTRING
HIGHbeartype/_util/cls/pep/clspep3119.py650 proxying an external type hint that may currently be undefined). See theSTRING
HIGHbeartype/_util/cls/pep/clspep3119.py702 proxying an external type hint that may currently be undefined). See theSTRING
HIGHbeartype/_util/cls/pep/clspep3119.py756 proxying an external type hint that may currently be undefined). See theSTRING
HIGHbeartype/_util/cls/pep/clspep3119.py864 proxying an external type hint that may currently be undefined). See theSTRING
HIGHbeartype/_util/cls/pep/clspep3119.py1078 proxying an external type hint that may currently be undefined). See theSTRING
HIGHbeartype/_util/cls/pep/clspep3119.py1172 proxying an external type hint that may currently be undefined). See theSTRING
HIGHbeartype/_util/kind/maplike/utilmaptest.py31 of the second mapping satisfy ``ka == kb && va != vb``. Equivalently, aSTRING
HIGHbeartype/_util/func/utilfuncframe.py1182 :func:`sys._getframe` **getter.** If that getter is undefined, this iteratorSTRING
HIGHbeartype/_util/func/utilfuncscope.py264 that getter is undefined, this getter treats the passed callable asSTRING
HIGHbeartype/_check/code/__init__.py2486#that's completely undefined, so it seems doubtful anyone's actually doing it.COMMENT
HIGHbeartype/claw/_ast/_kind/clawastimport.py718 # undefined, according to the official "ast" documentation.COMMENT
HIGHbeartype/_data/shame/module/datashamemod.py142 # Since the "AwfulClass" class is undefined, however, neither @beartype norSTRING
HIGHbeartype_test/_util/command/pytcmdrun.py542 # * When this parameter is left undefined, linters complain at us. Go away!COMMENT
HIGH…a00_unit/a20_util/hint/a00_pep/proposal/test_pep749.py104 # forward references and is *NOT* the null).COMMENT
HIGH…a00_unit/a20_util/hint/a00_pep/proposal/test_pep749.py120 # null).COMMENT
HIGH…a00_unit/a20_util/hint/a00_pep/proposal/test_pep749.py146 # unquoted forward references and is *NOT* the null).COMMENT
HIGH…a00_unit/a20_util/hint/a00_pep/proposal/test_pep749.py163 # null) under the string format.COMMENT
HIGH…pe_test/a00_unit/a60_decor/a60_pep/test_decorpep544.py233 # "UndesirableProtocolMeta" metaclass to remain undefined, implying theCOMMENT
HIGH…rtype_test/a00_unit/data/pep/pep695/data_pep695util.py178 # ....................{ ASSERTS ~ null }....................COMMENT
Hallucination Indicators10 hits · 145 pts
SeverityFileLineSnippetContext
CRITICALbeartype/_util/hint/pep/proposal/pep612.py312 # beartype._check.convert._reduce.redmain.reduce_hint() reducer to thisCOMMENT
CRITICALbeartype/_util/module/utilmodinitted.py19# beartype.claw._importlib._clawimpfileloader.BeartypeSourceFileLoader.get_code()COMMENT
CRITICALbeartype/_cave/_cavemap.py19# betse.util.type.iterable.mapping.mapcls.DefaultDict() function, but withCOMMENT
CRITICALbeartype/_check/code/__init__.py2884# * Refactor the beartype._decor._nontype._wrap.wrapmain._unmemoize_func_wrapper_code()COMMENT
CRITICALbeartype/_check/forward/scope/fwdscopemake.py362 # beartype._check.cls.call.calldatadecorfunc.BeartypeCallDecorFuncData.reinit()COMMENT
CRITICALbeartype/claw/_clawstate.py273 # beartype.claw._importlib._clawimpfileloader.BeartypeSourceFileLoader.get_code()COMMENT
CRITICALbeartype/claw/_clawtest.py18# beartype.claw._importlib._clawimpfileloader.BeartypeSourceFileLoader.get_code()COMMENT
CRITICALbeartype/_data/claw/dataclawmagic.py17# beartype.claw._importlib._clawimpfileloader.BeartypeSourceFileLoader.get_code()COMMENT
CRITICAL…_package/decor_hostile/data_claw_decor_hostile_type.py89 beartype_test.a00_unit.data.func.data_decor.DecoratorHostileType())CODE
CRITICALbeartype_test/a90_func/a50_external/a50_jax/test_jax.py252 # beartype_test.a90_func.z90_external.a00_jax.test_jax.test_jaxtyping_jaxtyped.darkened_the_place()COMMENT
Empty Error Handlers17 hits · 85 pts
SeverityFileLineSnippetContext
HIGHbeartype/bite/collection/infercollectionitems.py469except Exception:CODE
HIGHbeartype/_util/utilobjattr.py549except Exception:CODE
HIGH…rtype/_util/hint/pep/proposal/pep484/pep484604union.py287except Exception:CODE
HIGHbeartype/_util/py/utilpyweakref.py96except TypeError:CODE
HIGHbeartype/_util/module/utilmodinitted.py93except Exception:CODE
HIGHbeartype/_util/module/utilmodimport.py170except ModuleNotFoundError:CODE
HIGHbeartype/_util/func/utilfuncframe.py318except ValueError:CODE
HIGHbeartype/_util/func/utilfuncframe.py325except OverflowError:CODE
HIGHbeartype/vale/_core/_valecore.py443except Exception:CODE
HIGHbeartype/_cave/_cavefast.py183except ModuleNotFoundError:CODE
HIGHbeartype/_check/forward/scope/fwdscopemake.py386except _BeartypeUtilCallableScopeNotFoundException:CODE
HIGHbeartype/_check/forward/reference/_cls/fwdrefmeta.py371except AttributeError:CODE
HIGHbeartype/_check/convert/_reduce/redmain.py937except TypeError:CODE
HIGHbeartype/typing/__init__.py356except AttributeError:CODE
HIGHbeartype_test/conftest.py171except RuntimeError:CODE
HIGH…t/a00_unit/a40_api/door/a00_type/test_door_typehint.py230except TypeError:CODE
HIGH…type_test/a90_func/a50_external/a00_sphinx/conftest.py28except Exception:CODE
Deep Nesting54 hits · 46 pts
SeverityFileLineSnippetContext
LOWbeartype/bite/collection/infercollectionitems.py329CODE
LOWbeartype/bite/collection/infercollectionsabc.py207CODE
LOWbeartype/bite/kind/infercallable.py110CODE
LOWbeartype/_util/hint/pep/proposal/pep695.py735CODE
LOW…pe/_util/hint/pep/proposal/pep749/pep649749annotate.py446CODE
LOW…pe/_util/hint/pep/proposal/pep749/pep649749annotate.py601CODE
LOW…pe/_util/hint/pep/proposal/pep749/pep649749annotate.py706CODE
LOW…rtype/_util/hint/pep/proposal/pep749/pep749evaluate.py349CODE
LOW…ype/_util/hint/pep/proposal/pep484585/pep484585func.py46CODE
LOW…int/pep/proposal/pep484585/generic/pep484585genfind.py44CODE
LOWbeartype/_util/hint/nonpep/utilnonpeptest.py317CODE
LOWbeartype/_util/hint/nonpep/utilnonpeptest.py591CODE
LOWbeartype/_util/cache/utilcacheobjattr.py76CODE
LOWbeartype/_util/cache/utilcacheobjattr.py403CODE
LOWbeartype/_util/bear/utilbearblack.py26CODE
LOWbeartype/_util/module/utilmodimport.py196CODE
LOWbeartype/_util/cls/utilclstest.py65CODE
LOWbeartype/_util/cls/pep/clspep3119.py842CODE
LOWbeartype/_util/text/utiltextlabel.py93CODE
LOWbeartype/_util/text/utiltextlabel.py514CODE
LOWbeartype/_util/func/utilfunccode.py259CODE
LOWbeartype/vale/_core/_valecore.py97CODE
LOWbeartype/cave/_caveabc.py63CODE
LOWbeartype/_cave/_cavemap.py53CODE
LOWbeartype/_decor/_nontype/decornontype.py65CODE
LOWbeartype/_decor/_nontype/decornontype.py632CODE
LOWbeartype/_decor/_nontype/_wrap/_wrapreturn.py40CODE
LOWbeartype/_decor/_nontype/_wrap/_wrapargs.py105CODE
LOWbeartype/_check/pep/pep484585/checkpep484585generic.py104CODE
LOWbeartype/_check/code/codemain.py169CODE
LOWbeartype/_check/cls/call/calldatadecorfunc.py329CODE
LOWbeartype/_check/make/checkmakecls.py74CODE
LOWbeartype/_check/error/_nonpep/errnonpeptype.py66CODE
LOWbeartype/_check/convert/_reduce/redmain.py55CODE
LOW…check/convert/_reduce/_pep/pep484/redpep484604union.py32CODE
LOW…e/_check/convert/_reduce/_pep/pep646/redpep646tuple.py96CODE
LOW…/convert/_reduce/_pep/pep646/redpep484612646typearg.py109CODE
LOW…/convert/_reduce/_pep/pep646/redpep484612646typearg.py792CODE
LOWbeartype/_conf/conftest.py139CODE
LOWbeartype/door/_cls/pep/doorpep484604.py316CODE
LOWbeartype/door/_cls/pep/pep484585/doorpep484585tuple.py64CODE
LOW…rtype/door/_cls/pep/pep484585/doorpep484585callable.py260CODE
LOW…a00_unit/a20_util/hint/a00_pep/proposal/test_pep585.py68CODE
LOW…pep/proposal/pep484585/generic/test_pep484585genget.py105CODE
LOW…pe_test/a00_unit/a60_decor/a60_pep/test_decorpep342.py125CODE
LOW…pe_test/a00_unit/a60_decor/a60_pep/test_decorpep342.py218CODE
LOW…pe_test/a00_unit/a60_decor/a60_pep/test_decorpep557.py20CODE
LOW…pe_test/a00_unit/a60_decor/a60_pep/test_decorpep525.py170CODE
LOW…pe_test/a00_unit/a60_decor/a60_pep/test_decorpep525.py263CODE
LOW…_unit/a80_main/a90_door/a00_core/test_door_bearable.py120CODE
LOW…_unit/a50_check/a40_convert/a00_reduce/test_redhint.py25CODE
LOWbeartype_test/a00_unit/data/hint/data_hintfixture.py128CODE
LOWbeartype_test/a00_unit/data/hint/data_hintfixture.py203CODE
LOW…e_test/a00_unit/data/hint/cls/pith/data_clshintpith.py171CODE
Self-Referential Comments15 hits · 42 pts
SeverityFileLineSnippetContext
MEDIUMbeartype/bite/_infermain.py74 # Define a trivial recursive list.STRING
MEDIUMbeartype/_util/hint/pep/utilpepget.py587 # Define an arbitrary parametrized generic.STRING
MEDIUM…int/pep/proposal/pep484585/generic/pep484585genfind.py281 # This function implements an extremely non-trivial depth-first search (DFS)COMMENT
MEDIUM⚡beartype/_util/cache/pool/utilcachepoollistfixed.py195 # This function is intended to be called by the :meth:`__setitem__`COMMENT
MEDIUMbeartype/_util/api/external/utiltensordict.py69# # This class defines the @tensorclass-specific private "_is_tensorclass"COMMENT
MEDIUMbeartype/_util/error/utilerrget.py103 # Define the unqualified basename of the non-existent attributeCOMMENT
MEDIUMbeartype/vale/_core/_valecore.py464 # Define a domain-specific language (DSL) enabling callers to dynamicallyCOMMENT
MEDIUMbeartype/_cache/cls/cacheclsmega.py84 # Initialize all instance variables.COMMENT
MEDIUMbeartype/_cache/cls/cacheclsabc.py97 # Initialize all instance variables.COMMENT
MEDIUMbeartype/_decor/decorcache.py120 # Define a private decorator generically applying this configuration to anyCOMMENT
MEDIUMbeartype/_decor/_nontype/decornontype.py564 # Define the builtins scope under the standard dunder name expected byCOMMENT
MEDIUMbeartype/_check/forward/reference/_cls/fwdrefcache.py173 # Initialize all instance variables.COMMENT
MEDIUMbeartype/_data/shame/module/datashamemodtype.py86 # # Define a trivial Celery task.COMMENT
MEDIUM.github/workflows/python_docs.yml144 # # Define a new "${CACHE_ID}" environment variable whose value is theCOMMENT
MEDIUM…a00_unit/a60_decor/a80_api/external/test_decor_mypy.py71 # Create a new cloud when trying to add two clouds,COMMENT
Excessive Try-Catch Wrapping39 hits · 36 pts
SeverityFileLineSnippetContext
LOWbeartype/meta.py95 except Exception:CODE
LOWbeartype/bite/collection/infercollectionitems.py469 except Exception:CODE
LOWbeartype/_util/utilobjattr.py549 except Exception:CODE
LOWbeartype/_util/utilobjtest.py89 except Exception:CODE
LOWbeartype/_util/hint/pep/proposal/pep593.py136 except Exception:CODE
LOW…/_util/hint/pep/proposal/pep749/pep484749forwardref.py474 except Exception as exception:CODE
LOW…rtype/_util/hint/pep/proposal/pep484/pep484604union.py287 except Exception:CODE
LOWbeartype/_util/py/utilpyinterpreter.py107 except Exception:CODE
LOWbeartype/_util/cache/func/utilcachefunc.py248 except Exception as exception:STRING
LOWbeartype/_util/module/utilmodinitted.py93 except Exception:CODE
LOWbeartype/_util/module/utilmodtest.py234 except Exception as exception:CODE
LOWbeartype/_util/module/utilmodimport.py175 except Exception as exception:CODE
LOWbeartype/_util/cls/pep/clspep3119.py917 except Exception as exception:CODE
LOWbeartype/_util/cls/pep/clspep3119.py1284 except Exception as exception:CODE
LOWbeartype/_util/api/external/utilnumpy.py261 except Exception as exception:CODE
LOWbeartype/_util/func/utilfunccode.py144 except Exception:CODE
LOWbeartype/_util/func/utilfunccode.py246 except Exception:CODE
LOWbeartype/_util/func/utilfunccode.py468 except Exception:CODE
LOWbeartype/_util/func/utilfuncmake.py280 except Exception as exception:CODE
LOWbeartype/vale/_core/_valecore.py443 except Exception:CODE
LOWbeartype/vale/_is/_valeis.py537 except Exception as exception:STRING
LOWbeartype/_decor/decorcore.py228 except Exception:CODE
LOWbeartype/_decor/_nontype/_wrap/_wrapreturn.py202 except Exception as exception:CODE
LOWbeartype/_decor/_nontype/_wrap/_wrapargs.py440 except Exception as exception:CODE
LOWbeartype/_decor/_type/_pep/decortypepep557.py591 except Exception:CODE
LOWbeartype/_check/make/checkmakecls.py256 except Exception as exception:CODE
LOWbeartype/_check/forward/fwdresolve.py544 except Exception as exception:CODE
LOWbeartype/_check/forward/scope/fwdscopecls.py359 except Exception:STRING
LOWbeartype/_check/convert/_reduce/redmain.py485 except Exception as exception:CODE
LOW…/convert/_reduce/_pep/pep646/redpep484612646typearg.py619 except Exception as exception:CODE
LOWbeartype/typing/_typingcache.py153 except Exception as exception:STRING
LOWbeartype/claw/_importlib/_clawimpfileloader.py698 except Exception as exception:CODE
LOWbeartype/door/_cls/_doorcache.py305 except Exception as exception:STRING
LOW…t/a00_unit/a90_claw/a90_hook/test_claw_extraprocess.py71 except Exception:CODE
LOW…type_test/a00_unit/a20_util/error/test_utilerrraise.py104 except Exception as exception:CODE
LOW…type_test/a00_unit/a20_util/error/test_utilerrraise.py115 except Exception as exception:CODE
LOW…type_test/a00_unit/a20_util/error/test_utilerrraise.py126 except Exception as exception:CODE
LOW…n/a90_door/a00_core/test_door_bearable_extraprocess.py74 except Exception:CODE
LOW…type_test/a90_func/a50_external/a00_sphinx/conftest.py28except Exception:CODE
Slop Phrases5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMbeartype/_util/utilobjget.py248 # Remove all "<locals>" placeholder substrings as discussed above.COMMENT
MEDIUMbeartype/_util/utilobjget.py335 # removed from this name as discussed above;COMMENT
MEDIUM…type/_util/hint/pep/proposal/pep646/pep646692unpack.py390 # higher-level get_hint_pep_sign_or_none() getter. As discussed above, thisCOMMENT
MEDIUMbeartype/_check/code/__init__.py1959#Here's a simple example:COMMENT
MEDIUMbeartype/_check/forward/reference/_cls/fwdreffake.py229 # other type (as discussed above).COMMENT
Modern Structural Boilerplate9 hits · 10 pts
SeverityFileLineSnippetContext
LOWbeartype/__init__.py96__all__ = [CODE
LOWbeartype/_util/bear/utilbearfunc.py112def set_func_beartyped(func: Callable) -> None:CODE
LOWbeartype/_util/kind/maplike/utilmapset.py300def update_mapping(mapping_trg: MutableMapping, mapping_src: Mapping) -> None:CODE
LOWbeartype/_check/cls/hint/tree/hinttreecode.py330 def set_index_current(self, hint_index: int) -> None:CODE
LOWbeartype/_check/cls/call/calldatadecorfunc.py756 def set_func_annotations_if_dirty(self) -> None:CODE
LOWbeartype/_check/cls/call/calldatadecorfunc.py788 def set_func_pith_hint(self, pith_name: str, hint: Hint) -> None:CODE
LOWbeartype/claw/_package/clawpkgcontext.py201 # # def set_claw_state(claw_state_new: BeartypeClawState) -> None:COMMENT
LOWbeartype/claw/_ast/_clawaststar.py77__all__ = [CODE
LOWbeartype/_data/typing/datatypingport.py186__all__ = [CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHbeartype/_util/text/utiltextjoin.py340 # If passed exactly two strings, return these strings delimited as requestedCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHbeartype/_check/code/__init__.py634#In this example, the code dynamically generated by the @beartype decoratorCOMMENT
Dead Code2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUM…pe_test/a00_unit/a60_decor/a60_pep/test_decorpep342.py211CODE
MEDIUM…pe_test/a00_unit/a60_decor/a60_pep/test_decorpep525.py256CODE
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOWbeartype/_util/func/utilfuncmake.py29CODE
LOWbeartype/_check/convert/_reduce/redmain.py55CODE
LOWbeartype/_conf/confmain.py291CODE
LOW…rtype_test/a00_unit/data/hint/cls/pith/data_clshint.py264CODE
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…pe_test/a00_unit/a60_decor/a60_pep/test_decorpep563.py17# WARNING: The "from __future__ import annotations" import appears to be subtlyCOMMENT