Unbearably fast near-real-time pure-Python runtime-static type-checker.
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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 3177 finding(s).
Are imports declared and package/API names verified? 464 finding(s).
Are wrappers, guards, and repeated structures necessary? 834 finding(s).
Which changes need focused human review? 3849 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | conftest.py | 81 | # If this test has been decorated by our custom | COMMENT |
| LOW | conftest.py | 101 | # rather than a closure (which "pickle" rejects with | COMMENT |
| LOW | .codecov.yml | 1 | # --------------------( LICENSE )-------------------- | COMMENT |
| LOW | pytest.ini | 1 | # --------------------( LICENSE )-------------------- | COMMENT |
| LOW | pytest.ini | 21 | # file's unambiguous basename of "pytest.ini". One is enraged by bureaucracy! | COMMENT |
| LOW | pytest.ini | 41 | # * "error", turning matching warnings into exceptions. Ideally, pytest would | COMMENT |
| LOW | pytest.ini | 61 | # For example: | COMMENT |
| LOW | pytest.ini | 81 | # ....................{ LOGGING }................... | COMMENT |
| LOW | pytest.ini | 101 | COMMENT | |
| LOW | pytest.ini | 121 | # INTERNALERROR> warnings.warn(warning, stacklevel=stacklevel) | COMMENT |
| LOW | pytest.ini | 141 | # embedded in docstrings that double as human-readable examples). By default, | COMMENT |
| LOW | pytest.ini | 181 | # minversion = 2.8.0 | COMMENT |
| LOW | pytest.ini | 201 | norecursedirs = beartype_test/a90_func/data/external/coverage/* | COMMENT |
| LOW | pyproject.toml | 1 | # --------------------( LICENSE )-------------------- | COMMENT |
| LOW | pyproject.toml | 21 | # # Build both a source (tarball) *AND* binary distribution (wheel). | COMMENT |
| LOW | pyproject.toml | 41 | # otherwise not span multiple lines or paragraphs. | COMMENT |
| LOW | pyproject.toml | 61 | # then weep as your eyes bleed! \o/ | COMMENT |
| LOW | pyproject.toml | 101 | # | COMMENT |
| LOW | pyproject.toml | 121 | dynamic = [ | COMMENT |
| LOW | pyproject.toml | 141 | # global of the "typing" module bundled with the most recent CPython release. | COMMENT |
| LOW | pyproject.toml | 161 | # To prevent beartype requirements from polluting the entire Python ecosystem, | COMMENT |
| LOW | pyproject.toml | 181 | # Mandatory runtime dependencies. This package intentionally requires no | COMMENT |
| LOW | pyproject.toml | 201 | # * PEP 621 standardized dependency composition through self-referential | COMMENT |
| LOW | pyproject.toml | 221 | #* Official PEP 735 proposal: | COMMENT |
| LOW | pyproject.toml | 241 | # "mkdocstrings-python" support for absolute cross-references with | COMMENT |
| LOW | pyproject.toml | 261 | COMMENT | |
| LOW | pyproject.toml | 281 | # Third-party Sphinx theme (i.e., extension providing the custom HTML theme | COMMENT |
| LOW | pyproject.toml | 301 | # routinely ignores standard Sphinx settings and directives due to | COMMENT |
| LOW | pyproject.toml | 321 | # ...to which the Furo maintainer caustically replied: | COMMENT |
| LOW | pyproject.toml | 341 | # indefensible reasons. Consequently, PyData wins by default. In fact, *ANY* | COMMENT |
| LOW | pyproject.toml | 361 | COMMENT | |
| LOW | pyproject.toml | 381 | # feel depressed just reading comments like this. Dismantled, this is: | COMMENT |
| LOW | pyproject.toml | 401 | # # docutils.core.publish_parts() function. | COMMENT |
| LOW | pyproject.toml | 441 | # Required by optional Redis-specific integration tests. | COMMENT |
| LOW | pyproject.toml | 461 | # typically due to conditionally depending on low-level C(++)-driven | COMMENT |
| LOW | pyproject.toml | 481 | # packages (e.g., Equinox) if the current platform is a Linux distribution. | COMMENT |
| LOW | pyproject.toml | 501 | "equinox; sys_platform == 'linux' and python_version < '3.15.0'", | COMMENT |
| LOW | pyproject.toml | 521 | # likely due to using a buggy Accelerate backend. If you | COMMENT |
| LOW | pyproject.toml | 541 | """, | COMMENT |
| LOW | pyproject.toml | 561 | # and now support a wide variety of DataFrame-like APIs, including Polars. | COMMENT |
| LOW | pyproject.toml | 581 | # client-server protocol. | COMMENT |
| LOW | pyproject.toml | 601 | COMMENT | |
| LOW | pyproject.toml | 621 | # * Integrating @beartype into @hauntsaninja's open-source "mypy_primer" | COMMENT |
| LOW | pyproject.toml | 681 | # List of all third-party Python packages required to build (i.e., install) this | COMMENT |
| LOW | pyproject.toml | 701 | # ....................{ NON-PEP ~ hatch : path }.................... | COMMENT |
| LOW | pyproject.toml | 721 | "/beartype/**/*.py", | COMMENT |
| LOW | pyproject.toml | 741 | # * ".gitignore". | COMMENT |
| LOW | pyproject.toml | 821 | # misspelled to be explicitly marked as well-spelled. This includes: | COMMENT |
| LOW | mypy.ini | 1 | # --------------------( LICENSE )-------------------- | COMMENT |
| LOW | mypy.ini | 21 | [mypy] | COMMENT |
| LOW | tox.ini | 1 | # --------------------( LICENSE )-------------------- | COMMENT |
| LOW | tox.ini | 21 | # | COMMENT |
| LOW | tox.ini | 41 | # File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/tox/__main__.py", line 4, in <module> | COMMENT |
| LOW | tox.ini | 61 | # | COMMENT |
| LOW | tox.ini | 81 | #Obviously, we switch to uv. Our ".github/workflows" have *ALL* already switched | COMMENT |
| LOW | tox.ini | 101 | #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | COMMENT |
| LOW | tox.ini | 121 | # aggregating results produced by those previously run environments onto the | COMMENT |
| LOW | tox.ini | 141 | # finally | COMMENT |
| LOW | tox.ini | 161 | # # should be listed in the "deps" and/or "extras" settings under each | COMMENT |
| LOW | tox.ini | 181 | #managed by "pyproject.toml", but... eh? Who's got the time, huh? *sigh* | COMMENT |
| 2311 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bin/profile.bash | 467 | 'def lancers_hussars_and_dragoons( | CODE |
| LOW | beartype/meta.py | 100 | def _convert_requires_python_to_version_min(requires_python: str) -> str: | CODE |
| LOW | beartype/bite/collection/infercollectionitems.py | 35 | def infer_hint_collection_items( | CODE |
| LOW | beartype/bite/collection/infercollectionitems.py | 195 | def _infer_hint_mapping_items( | CODE |
| LOW | beartype/bite/collection/infercollectionitems.py | 329 | def _infer_hint_reiterable_items( | CODE |
| LOW | beartype/bite/collection/infercollectionsabc.py | 73 | def infer_hint_collections_abc(obj: object, **kwargs) -> Optional[object]: | CODE |
| LOW | beartype/bite/collection/infercollectionsabc.py | 207 | def _infer_hint_factory_collections_abc(cls: type) -> Optional[object]: | CODE |
| LOW | beartype/bite/collection/infercollectionbuiltin.py | 41 | def infer_hint_collection_builtin(obj: object, **kwargs) -> Optional[object]: | CODE |
| LOW | beartype/bite/collection/infercollectionbuiltin.py | 108 | def _infer_hint_factory_collection_builtin(cls: type) -> Optional[object]: | CODE |
| LOW | beartype/bite/kind/inferthirdparty.py | 104 | def _infer_hint_thirdparty_numpy_ndarray(obj: object, **kwargs) -> object: | CODE |
| LOW | beartype/_util/utilobjget.py | 143 | # def get_object_basename_qualified_or_none(obj: Any) -> Optional[str]: | COMMENT |
| LOW | beartype/_util/utilobjget.py | 203 | def get_object_basename_scoped(obj: Any) -> str: | CODE |
| LOW | beartype/_util/utilobjget.py | 253 | def get_object_basename_scoped_or_none(obj: Any) -> Optional[str]: | CODE |
| LOW | beartype/_util/utilobjget.py | 343 | def get_object_filename_or_none(obj: object) -> Optional[str]: | CODE |
| LOW | beartype/_util/utilobjget.py | 390 | def get_object_type_unless_type(obj: object) -> type: | CODE |
| LOW | beartype/_util/utilobjattr.py | 144 | def get_object_attr_name_to_value( | CODE |
| LOW | beartype/_util/utilobjattr.py | 422 | def get_object_method_name_to_value(obj: object, **kwargs) -> DictStrToAny: | CODE |
| LOW | beartype/_util/utilobjattr.py | 474 | def get_object_uncallable_name_to_value(obj: object, **kwargs) -> DictStrToAny: | CODE |
| LOW | beartype/_util/utilobjattr.py | 516 | def _is_object_attr_callable_not_object_slot_wrapper( | CODE |
| LOW | beartype/_util/utilobjattr.py | 556 | def _is_object_attr_uncallable(attr_name: str, attr_value: object) -> bool: | CODE |
| LOW | beartype/_util/utilobjtest.py | 21 | def is_object_context_manager(obj: object) -> TypeIs[AbstractContextManager]: | CODE |
| LOW | beartype/_util/hint/pep/utilpeptest.py | 126 | def die_if_hint_pep_unsupported( | CODE |
| LOW | beartype/_util/hint/pep/utilpeptest.py | 225 | # def warn_if_hint_pep_unsupported( | COMMENT |
| LOW | beartype/_util/hint/pep/utilpepsign.py | 58 | # def get_hint_pep_signs_or_none(hint: Any) -> TupleHintSign: | COMMENT |
| LOW | beartype/_util/hint/pep/utilpepsign.py | 74 | # def get_hint_pep_sign_or_none(hint: Any) -> TupleHintSign: | COMMENT |
| LOW | beartype/_util/hint/pep/utilpepsign.py | 243 | def get_hint_pep_sign_or_none(hint: Hint) -> Optional[HintSign]: | CODE |
| LOW | beartype/_util/hint/pep/utilpepsign.py | 336 | def get_hint_pep_sign_ambiguous_or_none(hint: Hint) -> Optional[HintSign]: | CODE |
| LOW | beartype/_util/hint/pep/utilpepget.py | 328 | def get_hint_pep_typeargs_unpacked( | CODE |
| LOW | beartype/_util/hint/pep/utilpepget.py | 456 | def get_hint_pep_typeargs_packed( | CODE |
| LOW | beartype/_util/hint/pep/utilpepget.py | 795 | def get_hint_pep_origin_or_none(hint: Hint) -> HintOrNone: | CODE |
| LOW | beartype/_util/hint/pep/utilpepget.py | 979 | def get_hint_pep_origin_type_or_none( | CODE |
| LOW | beartype/_util/hint/pep/utilpepget.py | 1085 | def get_hint_pep_origin_type_isinstanceable(hint: Hint) -> type: | CODE |
| LOW | beartype/_util/hint/pep/utilpepget.py | 1133 | def get_hint_pep_origin_type_isinstanceable_or_none( | CODE |
| LOW | beartype/_util/hint/pep/proposal/pep696.py | 31 | def get_hint_typearg_packed_default_or_sentinel( | CODE |
| LOW | …type/_util/hint/pep/proposal/typearg/peptypeargmain.py | 37 | def die_unless_hint_typearg_unpacked( | CODE |
| LOW | …type/_util/hint/pep/proposal/typearg/peptypeargmain.py | 86 | def die_unless_hint_typearg_packed( | CODE |
| LOW | …type/_util/hint/pep/proposal/typearg/peptypeargmain.py | 219 | def get_hint_typearg_packed_name( | CODE |
| LOW | …type/_util/hint/pep/proposal/typearg/peptypeargmain.py | 267 | def pack_hint_typearg_unpacked( | CODE |
| LOW | …type/_util/hint/pep/proposal/typearg/peptypeargrepr.py | 37 | def make_hint_typearg_unpacked_repr( | CODE |
| LOW | …type/_util/hint/pep/proposal/typearg/peptypeargrepr.py | 151 | def _is_hint_typearg_packed_field( | CODE |
| LOW | …type/_util/hint/pep/proposal/typearg/peptypeargrepr.py | 189 | def _get_hint_typearg_packed_field_name_to_value( | CODE |
| LOW | …ype/_util/hint/pep/proposal/pep484585/pep484585func.py | 202 | def _die_of_hint_return_invalid( | CODE |
| LOW | beartype/_util/hint/nonpep/utilnonpeptest.py | 228 | def die_unless_hint_nonpep_type( | CODE |
| LOW | beartype/_util/hint/nonpep/utilnonpeptest.py | 317 | def die_unless_hint_nonpep_tuple( | CODE |
| LOW | beartype/_util/py/utilpyversion.py | 192 | def get_python_version_major_minor() -> str: | CODE |
| LOW | beartype/_util/py/utilpyweakref.py | 19 | def make_obj_weakref_and_repr(obj: object) -> tuple[Optional[WeakrefCallableType], str]: | CODE |
| LOW | beartype/_util/py/utilpyinterpreter.py | 122 | def get_interpreter_command_words() -> CommandWords: | CODE |
| LOW | beartype/_util/cache/utilcacheobjattr.py | 76 | def get_object_attr_cached_or_sentinel( | CODE |
| LOW | beartype/_util/cache/utilcacheobjattr.py | 237 | def get_type_attr_cached_or_sentinel( | CODE |
| LOW⚡ | beartype/_util/cache/pool/utilcachepoollistfixed.py | 189 | # def _die_if_slice_len_ne_value_len(self, index, value) -> None: | COMMENT |
| LOW | beartype/_util/module/utilmodget.py | 27 | def get_module_imported_or_none(module_name: str) -> Optional[ModuleType]: | CODE |
| LOW | beartype/_util/module/utilmodget.py | 92 | def get_object_module_or_none(obj: object) -> Optional[ModuleType]: | CODE |
| LOW | beartype/_util/module/utilmodget.py | 121 | def get_object_module_line_number_begin(obj: object) -> int: | CODE |
| LOW | beartype/_util/module/utilmodget.py | 277 | def get_object_module_name_or_none( | CODE |
| LOW | beartype/_util/module/utilmodget.py | 384 | def get_object_type_module_name_or_none(obj: object) -> Optional[str]: | CODE |
| LOW | beartype/_util/module/utilmodget.py | 519 | def get_module_filename_or_none(module: ModuleType) -> Optional[str]: | CODE |
| LOW | beartype/_util/module/utilmodinitted.py | 38 | def is_module_initted_partial(module_name: str) -> bool: | CODE |
| LOW | beartype/_util/module/utilmodtest.py | 25 | def die_unless_module_attr_name( | CODE |
| LOW | beartype/_util/module/utilmodtest.py | 257 | def is_module_version_at_least(module_name: str, version_minimum: str) -> bool: | CODE |
| LOW | beartype/_util/module/utilmodimport.py | 331 | def import_module_attr_or_sentinel( | CODE |
| 562 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | beartype/__init__.py | 0 | dynamically retrieve a deprecated attribute with the passed unqualified name from this submodule and emit a non-fatal de | STRING |
| HIGH | beartype/typing/__init__.py | 0 | dynamically retrieve a deprecated attribute with the passed unqualified name from this submodule and emit a non-fatal de | STRING |
| HIGH | beartype/door/__init__.py | 0 | dynamically retrieve a deprecated attribute with the passed unqualified name from this submodule and emit a non-fatal de | STRING |
| HIGH | beartype/cave/__init__.py | 0 | dynamically retrieve a deprecated attribute with the passed unqualified name from this submodule and emit a non-fatal de | STRING |
| HIGH | beartype/roar/__init__.py | 0 | dynamically retrieve a deprecated attribute with the passed unqualified name from this submodule and emit a non-fatal de | STRING |
| HIGH | beartype/_util/hint/pep/proposal/pep557.py | 0 | project-wide :pep:`484`-compliant type hint utilities. this private submodule is *not* intended for importation by downs | STRING |
| HIGH | beartype/_util/hint/pep/proposal/pep585.py | 0 | project-wide :pep:`484`-compliant type hint utilities. this private submodule is *not* intended for importation by downs | STRING |
| HIGH | beartype/_util/hint/pep/proposal/pep586.py | 0 | project-wide :pep:`484`-compliant type hint utilities. this private submodule is *not* intended for importation by downs | STRING |
| HIGH | beartype/_util/hint/pep/proposal/pep593.py | 0 | project-wide :pep:`484`-compliant type hint utilities. this private submodule is *not* intended for importation by downs | STRING |
| HIGH | beartype/_util/hint/pep/proposal/pep544.py | 0 | project-wide :pep:`484`-compliant type hint utilities. this private submodule is *not* intended for importation by downs | STRING |
| HIGH | beartype/_util/hint/pep/proposal/pep484/pep484.py | 0 | project-wide :pep:`484`-compliant type hint utilities. this private submodule is *not* intended for importation by downs | STRING |
| HIGH | beartype/_util/ast/utilastget.py | 0 | beartype **abstract syntax tree (ast) mungers** (i.e., low-level callables modifying various properties of various nodes | STRING |
| HIGH | beartype/_util/ast/utilastmunge.py | 0 | beartype **abstract syntax tree (ast) mungers** (i.e., low-level callables modifying various properties of various nodes | STRING |
| HIGH | beartype/_util/ast/utilasttest.py | 0 | beartype **abstract syntax tree (ast) mungers** (i.e., low-level callables modifying various properties of various nodes | STRING |
| HIGH | beartype/claw/_ast/_clawastutil.py | 0 | beartype **abstract syntax tree (ast) mungers** (i.e., low-level callables modifying various properties of various nodes | STRING |
| HIGH | beartype/vale/_is/_valeistype.py | 0 | **beartype declarative operator validation classes** (i.e., :mod:`beartype`-specific classes enabling callers to define | STRING |
| HIGH | beartype/vale/_is/_valeisobj.py | 0 | **beartype declarative operator validation classes** (i.e., :mod:`beartype`-specific classes enabling callers to define | STRING |
| HIGH | beartype/vale/_is/_valeisoper.py | 0 | **beartype declarative operator validation classes** (i.e., :mod:`beartype`-specific classes enabling callers to define | STRING |
| HIGH | beartype/_check/code/snip/codesnipstr.py | 0 | project-wide :pep:`593` **type-checking expression snippets** (i.e., triple-quoted pure-python string constants formatte | STRING |
| HIGH | beartype/_data/check/code/pep/datacodepep484585.py | 0 | project-wide :pep:`593` **type-checking expression snippets** (i.e., triple-quoted pure-python string constants formatte | STRING |
| HIGH | beartype/_data/check/code/pep/datacodepep484604.py | 0 | project-wide :pep:`593` **type-checking expression snippets** (i.e., triple-quoted pure-python string constants formatte | STRING |
| HIGH | beartype/_data/check/code/pep/datacodepep484.py | 0 | project-wide :pep:`593` **type-checking expression snippets** (i.e., triple-quoted pure-python string constants formatte | STRING |
| HIGH | beartype/_data/check/code/pep/datacodepep586.py | 0 | project-wide :pep:`593` **type-checking expression snippets** (i.e., triple-quoted pure-python string constants formatte | STRING |
| HIGH | beartype/_data/check/code/pep/datacodepep593.py | 0 | project-wide :pep:`593` **type-checking expression snippets** (i.e., triple-quoted pure-python string constants formatte | STRING |
| HIGH | beartype/_check/cls/hint/tree/hinttreecode.py | 0 | metadata encapsulating the sanification (i.e., sanitization) of the passed **possibly insane child type hint** (i.e., po | STRING |
| HIGH | beartype/_check/cls/hint/tree/hinttreeabc.py | 0 | metadata encapsulating the sanification (i.e., sanitization) of the passed **possibly insane child type hint** (i.e., po | STRING |
| HIGH | beartype/_check/cls/hint/tree/hinttreeerror.py | 0 | metadata encapsulating the sanification (i.e., sanitization) of the passed **possibly insane child type hint** (i.e., po | STRING |
| HIGH | beartype/_check/forward/reference/fwdrefproxy.py | 0 | beartype **forward reference setters** (i.e., low-level callables setting various properties on forward reference proxy | STRING |
| HIGH | beartype/_check/forward/reference/fwdreftest.py | 0 | beartype **forward reference setters** (i.e., low-level callables setting various properties on forward reference proxy | STRING |
| HIGH | beartype/_check/forward/reference/fwdrefset.py | 0 | beartype **forward reference setters** (i.e., low-level callables setting various properties on forward reference proxy | STRING |
| HIGH | …artype/_check/convert/_reduce/_nonpep/rednonpeptype.py | 0 | project-wide **pep-noncompliant pandera type hint reducers** (i.e., low-level callables converting higher-level type hin | STRING |
| HIGH | …type/_check/convert/_reduce/_nonpep/api/redapinumpy.py | 0 | project-wide **pep-noncompliant pandera type hint reducers** (i.e., low-level callables converting higher-level type hin | STRING |
| HIGH | …pe/_check/convert/_reduce/_nonpep/api/redapipandera.py | 0 | project-wide **pep-noncompliant pandera type hint reducers** (i.e., low-level callables converting higher-level type hin | STRING |
| HIGH | beartype_test/a00_unit/conftest.py | 0 | **test configuration** (i.e., :mod:`pytest`-specific early-time configuration guaranteed to be implicitly imported by :m | STRING |
| HIGH | beartype_test/a00_unit/a90_claw/conftest.py | 0 | **test configuration** (i.e., :mod:`pytest`-specific early-time configuration guaranteed to be implicitly imported by :m | STRING |
| HIGH | beartype_test/a00_unit/a80_main/conftest.py | 0 | **test configuration** (i.e., :mod:`pytest`-specific early-time configuration guaranteed to be implicitly imported by :m | STRING |
| HIGH | beartype_test/a00_unit/a40_api/bite/conftest.py | 0 | **test configuration** (i.e., :mod:`pytest`-specific early-time configuration guaranteed to be implicitly imported by :m | STRING |
| HIGH | beartype_test/a00_unit/a40_api/door/conftest.py | 0 | **test configuration** (i.e., :mod:`pytest`-specific early-time configuration guaranteed to be implicitly imported by :m | STRING |
| HIGH | beartype_test/a90_func/a40_claw/conftest.py | 0 | **test configuration** (i.e., :mod:`pytest`-specific early-time configuration guaranteed to be implicitly imported by :m | STRING |
| HIGH | …a00_unit/a20_util/hint/a00_pep/test_a90_utilpeptest.py | 0 | test the :func:`beartype._util.hint.utilhinttest.is_hint` tester. parameters ---------- hints_piths_pep_meta : list[bear | STRING |
| HIGH | …ep/proposal/pep484585/generic/test_pep484585gentest.py | 0 | test the :func:`beartype._util.hint.utilhinttest.is_hint` tester. parameters ---------- hints_piths_pep_meta : list[bear | STRING |
| HIGH | …t/a00_unit/a20_util/hint/a90_core/test_utilhinttest.py | 0 | test the :func:`beartype._util.hint.utilhinttest.is_hint` tester. parameters ---------- hints_piths_pep_meta : list[bear | STRING |
| HIGH | …a00_unit/a20_util/hint/a00_pep/test_a00_utilpepsign.py | 0 | test the :func:`beartype._util.hint.utilhintget.get_hint_repr` getter. parameters ---------- hints_piths_pep_meta : list | STRING |
| HIGH | …/a00_unit/a20_util/hint/a00_pep/test_a50_utilpepget.py | 0 | test the :func:`beartype._util.hint.utilhintget.get_hint_repr` getter. parameters ---------- hints_piths_pep_meta : list | STRING |
| HIGH | …pep/proposal/pep484585/generic/test_pep484585genget.py | 0 | test the :func:`beartype._util.hint.utilhintget.get_hint_repr` getter. parameters ---------- hints_piths_pep_meta : list | STRING |
| HIGH | …st/a00_unit/a20_util/hint/a90_core/test_utilhintget.py | 0 | test the :func:`beartype._util.hint.utilhintget.get_hint_repr` getter. parameters ---------- hints_piths_pep_meta : list | STRING |
| HIGH | …pe_test/a00_unit/a60_decor/a60_pep/test_decorpep591.py | 0 | beartype :pep:`3119` unit tests. this submodule unit tests :pep:`3119` support implemented in the :func:`beartype.bearty | STRING |
| HIGH | …pe_test/a00_unit/a60_decor/a60_pep/test_decorpep593.py | 0 | beartype :pep:`3119` unit tests. this submodule unit tests :pep:`3119` support implemented in the :func:`beartype.bearty | STRING |
| HIGH | …e_test/a00_unit/a60_decor/a60_pep/test_decorpep3119.py | 0 | beartype :pep:`3119` unit tests. this submodule unit tests :pep:`3119` support implemented in the :func:`beartype.bearty | STRING |
| HIGH | …pe_test/a00_unit/a60_decor/a60_pep/test_decorpep613.py | 0 | test :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.py | 0 | test :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.py | 0 | test :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.py | 0 | session-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.py | 0 | session-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.py | 0 | session-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.py | 0 | session-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.py | 0 | session-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.py | 0 | session-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.py | 0 | list of :pep:`557`-compliant **type hint reduction metadata** (i.e., :class:`beartype_test.a00_unit.data.hint.cls.data_c | STRING |
| HIGH | …e_test/a00_unit/data/hint/pep/proposal/_data_pep646.py | 0 | list of :pep:`557`-compliant **type hint reduction metadata** (i.e., :class:`beartype_test.a00_unit.data.hint.cls.data_c | STRING |
| 38 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | beartype/__init__.py | 75 | CODE | |
| LOW | beartype/__init__.py | 81 | CODE | |
| LOW | beartype/__init__.py | 84 | CODE | |
| LOW | beartype/__init__.py | 84 | CODE | |
| LOW | beartype/__init__.py | 88 | CODE | |
| LOW | beartype/__init__.py | 91 | CODE | |
| LOW | beartype/meta.py | 32 | CODE | |
| LOW | beartype/meta.py | 33 | CODE | |
| LOW | beartype/meta.py | 33 | CODE | |
| LOW | beartype/meta.py | 33 | CODE | |
| LOW | beartype/meta.py | 33 | CODE | |
| LOW | beartype/meta.py | 33 | CODE | |
| LOW | beartype/meta.py | 33 | CODE | |
| LOW | beartype/meta.py | 33 | CODE | |
| LOW | beartype/meta.py | 33 | CODE | |
| LOW | beartype/meta.py | 33 | CODE | |
| LOW | beartype/meta.py | 33 | CODE | |
| LOW | beartype/meta.py | 33 | CODE | |
| LOW | beartype/meta.py | 33 | CODE | |
| LOW | beartype/meta.py | 33 | CODE | |
| LOW | beartype/meta.py | 33 | CODE | |
| LOW | beartype/meta.py | 33 | CODE | |
| LOW | beartype/meta.py | 33 | CODE | |
| LOW | beartype/meta.py | 33 | CODE | |
| LOW | beartype/meta.py | 33 | CODE | |
| LOW | beartype/meta.py | 33 | CODE | |
| LOW | beartype/meta.py | 33 | CODE | |
| LOW | beartype/meta.py | 33 | CODE | |
| LOW | beartype/meta.py | 33 | CODE | |
| LOW | beartype/meta.py | 33 | CODE | |
| LOW | beartype/bite/__init__.py | 21 | CODE | |
| LOW | beartype/bite/kind/infercallable.py | 78 | CODE | |
| LOW | …type/_util/hint/pep/proposal/typearg/peptypeargmain.py | 33 | CODE | |
| LOW | beartype/_util/cache/func/utilcacheproperty.py | 18 | CODE | |
| LOW | beartype/_util/func/utilfuncframe.py | 26 | CODE | |
| LOW | beartype/_util/func/utilfuncframe.py | 31 | CODE | |
| LOW | beartype/vale/_core/_valecore.py | 173 | CODE | |
| LOW | beartype/peps/__init__.py | 26 | CODE | |
| LOW | beartype/cave/__init__.py | 79 | CODE | |
| LOW | beartype/cave/__init__.py | 79 | CODE | |
| LOW | beartype/cave/__init__.py | 83 | CODE | |
| LOW | beartype/cave/__init__.py | 86 | CODE | |
| LOW | beartype/cave/__init__.py | 86 | CODE | |
| LOW | beartype/cave/__init__.py | 86 | CODE | |
| LOW | beartype/cave/__init__.py | 86 | CODE | |
| LOW | beartype/cave/__init__.py | 86 | CODE | |
| LOW | beartype/cave/__init__.py | 86 | CODE | |
| LOW | beartype/cave/__init__.py | 86 | CODE | |
| LOW | beartype/cave/__init__.py | 86 | CODE | |
| LOW | beartype/cave/__init__.py | 86 | CODE | |
| LOW | beartype/cave/__init__.py | 86 | CODE | |
| LOW | beartype/cave/__init__.py | 86 | CODE | |
| LOW | beartype/cave/__init__.py | 86 | CODE | |
| LOW | beartype/cave/__init__.py | 86 | CODE | |
| LOW | beartype/cave/__init__.py | 86 | CODE | |
| LOW | beartype/cave/__init__.py | 86 | CODE | |
| LOW | beartype/cave/__init__.py | 86 | CODE | |
| LOW | beartype/cave/__init__.py | 86 | CODE | |
| LOW | beartype/cave/__init__.py | 86 | CODE | |
| LOW | beartype/cave/__init__.py | 86 | CODE | |
| 355 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | conftest.py | 95 | # Note that this logic is robust under POSIX-compliant platforms (e.g., | COMMENT |
| MEDIUM | pytest.ini | 125 | # *NOT* require, reference, or otherwise leverage "pytest-asyncio" anywhere. | COMMENT |
| MEDIUM | pytest.ini | 206 | # Command-line options pertaining to plugins include: | COMMENT |
| MEDIUM | pyproject.toml | 445 | # leverage the even *MORE* optional "sqlalchemy.ext.asyncio" subpackage, | STRING |
| MEDIUM | tox.ini | 7 | # harness within this project. | COMMENT |
| MEDIUM | tox.ini | 314 | # Note that we intentionally do *NOT* leverage the "pytest-cov" plugin, | COMMENT |
| MEDIUM | tox.ini | 381 | # the "make" ecosystem, whose recipes utilize similar syntax. | COMMENT |
| MEDIUM | zensical.toml | 173 | #FIXME: Uncomment if and when we leverage versioning for @beartype docs. | COMMENT |
| MEDIUM | beartype/__init__.py | 184 | # #FIXME: Dynamically import this attribute here... somehow. Certainly, if | COMMENT |
| MEDIUM | beartype/bite/collection/infercollectionsabc.py | 48 | #aforementioned failure of that protocol to define the __subclasshook__() | COMMENT |
| LOW | beartype/bite/collection/infercollectionsabc.py | 182 | # case, we should simply return this "hint" as is rather than a | COMMENT |
| MEDIUM | beartype/_util/hint/pep/utilpeptest.py | 560 | # "__module__" dunder attribute and is thus significantly more robust | COMMENT |
| MEDIUM | beartype/_util/hint/pep/utilpepsign.py | 552 | # defined by third-party packages in an efficient and robust manner. Well, | COMMENT |
| MEDIUM | beartype/_util/hint/pep/utilpepsign.py | 553 | # reasonably efficient and robust anyway. *sigh* | COMMENT |
| LOW | beartype/_util/hint/pep/utilpepsign.py | 95 | #moment. Instead, we just call the | COMMENT |
| LOW | beartype/_util/hint/pep/utilpepget.py | 689 | # valid, albeit semantically meaningless. In this case, simply return | COMMENT |
| MEDIUM | beartype/_util/hint/pep/proposal/pep585.py | 646 | # already been subsumed by the more robust | COMMENT |
| LOW | …pe/_util/hint/pep/proposal/pep749/pep649749annotate.py | 597 | #monkey-patch. Instead, just use @functools.wraps(hintable_annotate_old) as | COMMENT |
| LOW | …pe/_util/hint/pep/proposal/pep749/pep649749annotate.py | 1364 | #FIXME: Actually, let's just return this mutable annotations dictionary | COMMENT |
| MEDIUM | …artype/_util/hint/pep/proposal/pep484/pep484generic.py | 114 | # * This test is robust against edge cases, as the "typing" module | COMMENT |
| MEDIUM | …hint/pep/proposal/pep484585/generic/pep484585genget.py | 844 | # case, assume that type to be isinstanceable. Certainly, this generic | COMMENT |
| MEDIUM | beartype/_util/cache/utilcacheobjattr.py | 300 | # @beartype-specific attributes pertaining to this class. | COMMENT |
| MEDIUM | beartype/_util/cache/pool/utilcachepool.py | 21 | #"self._thread_lock" context manager, we might be able to leverage the GIL by | COMMENT |
| MEDIUM | beartype/_util/kind/maplike/utilmaptest.py | 107 | # considerably more robust alternative supporting unhashable values. | COMMENT |
| MEDIUM | beartype/_util/kind/maplike/utilmapfrozen.py | 35 | #FIXME: Generalize *ALL* of the methods below to leverage the "S" and "T" type | COMMENT |
| MEDIUM | beartype/_util/api/external/utilsphinx.py | 51 | #FIXME: Refactor this to leverage a genuinely valid working solution | COMMENT |
| MEDIUM | beartype/_util/error/utilerrget.py | 86 | # threshold. Certainly, two str.find() calls is below that threshold. | COMMENT |
| MEDIUM | beartype/_util/func/utilfunccodeobj.py | 211 | # so would both be less efficient *AND* render this getter less robust. Why? | COMMENT |
| MEDIUM | beartype/_util/func/pep/utilfuncpep702.py | 155 | # more intricate logic. Only introspecting the C-based code object | COMMENT |
| MEDIUM | beartype/_util/func/arg/utilfuncargiter.py | 565 | # How? In this case, the aforementioned @beartype_pseudofunc | COMMENT |
| MEDIUM | beartype/vale/__init__.py | 94 | #leverage all of our existing "beartype.is" infrastructure to dynamically | COMMENT |
| LOW | beartype/cave/_caveabc.py | 39 | # Fortunately, doing so is trivial; simply use the three-argument form of | COMMENT |
| MEDIUM | beartype/_cache/cacheclear.py | 46 | #*HMM.* Might not be possible due to import issues, though? No idea. Certainly | COMMENT |
| MEDIUM | …ype/_decor/_nontype/_builtin/decorbuiltindescriptor.py | 210 | # leverage to augment those classes into subscriptable type hint factories | COMMENT |
| MEDIUM | beartype/_decor/_nontype/_wrap/__init__.py | 83 | # robust *AND* generalize to the case of annotated local variables, where | COMMENT |
| MEDIUM | beartype/_decor/_nontype/_wrap/__init__.py | 86 | # * *SIGH.* Yes, absolutely use the standard "ast" module. Absolutely do | COMMENT |
| MEDIUM | beartype/_decor/_nontype/_wrap/__init__.py | 133 | # appears to be the most robust means of doing so, as it implicitly accounts | COMMENT |
| MEDIUM | beartype/_decor/_nontype/_wrap/__init__.py | 311 | #Naturally, profile this to decide what we should do. To facilitate choice, | COMMENT |
| MEDIUM | beartype/_decor/_nontype/_wrap/_wrapargs.py | 300 | #easier to just leverage the existing reducer API. Let's go, yo! \o/ | COMMENT |
| MEDIUM | beartype/_decor/_nontype/_wrap/_wrapargs.py | 341 | #FIXME: Fundamentally unsafe and thus temporarily disabled *FOR | COMMENT |
| MEDIUM | beartype/_decor/_type/decortype.py | 117 | # Why? No idea. Almost certainly something pertaining to forward | COMMENT |
| LOW | beartype/_decor/_type/_pep/decortypepep557.py | 233 | #Since this is becoming a common operation, perhaps simply add a new | COMMENT |
| MEDIUM | beartype/_check/pep/pep484585/checkpep484585generic.py | 100 | #FIXME: Note that this would be, ideally, internally refactored to leverage the | COMMENT |
| MEDIUM | beartype/_check/code/codemain.py | 442 | #FIXME: Actually, we should probably just leverage a hypothetical | COMMENT |
| MEDIUM | beartype/_check/code/codemain.py | 483 | # the aforementioned locality issue via the "nonlocal" keyword at | COMMENT |
| MEDIUM | beartype/_check/code/codemain.py | 1336 | #below to instead leverage a similar | COMMENT |
| MEDIUM | beartype/_check/code/__init__.py | 59 | # *WAIT*. Definitely not that simple. If the parent hint of a child hint "T" is | COMMENT |
| MEDIUM | beartype/_check/code/__init__.py | 455 | # returned "hint_sane" dataclass. A simpler API could facilitate this | COMMENT |
| MEDIUM | beartype/_check/code/__init__.py | 499 | # something be done? Absolutely. Our "beartype.claw" import hooks already | COMMENT |
| MEDIUM | beartype/_check/code/__init__.py | 1232 | #*NOT* be refactoring that function to leverage: | COMMENT |
| MEDIUM | beartype/_check/code/__init__.py | 1423 | #*BEFORE* we then delve into their PEP-compliant child type hints in the | COMMENT |
| MEDIUM | beartype/_check/code/__init__.py | 2421 | #Naturally, this requires these options to be hashable. Certainly, booleans | COMMENT |
| MEDIUM | beartype/_check/code/__init__.py | 2827 | #with the caveat that these projects *ALL* leverage package-specific constructs | COMMENT |
| MEDIUM | beartype/_check/code/__init__.py | 2872 | # comments in the "beartype.plug._plughintable" submodule pertaining to that | COMMENT |
| LOW⚡ | beartype/_check/code/__init__.py | 1768 | # #"except Exception:" condition should probably just return | COMMENT |
| LOW | beartype/_check/code/__init__.py | 782 | # callable is passed and just return the "UNPYTHONIC_CALLABLE_TYPE_HINT" | COMMENT |
| LOW | beartype/_check/code/__init__.py | 817 | #Lastly, just call the callable() builtin to omit non-callable objects. This | COMMENT |
| LOW | beartype/_check/code/__init__.py | 1346 | # fields of dataclass instances is less trivial but still feasible; just pass | COMMENT |
| LOW | beartype/_check/code/__init__.py | 2731 | # itself; we just use that function as the basis for dynamically | COMMENT |
| MEDIUM | beartype/_check/code/_pep/pep484/codepep484604union.py | 219 | # While we *COULD* technically leverage that approach here, doing so | COMMENT |
| 43 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | bin/profile.bash | 115 | # ---------- | COMMENT |
| MEDIUM | bin/profile.bash | 253 | # ---------- | COMMENT |
| MEDIUM | beartype/_util/utilobjget.py | 185 | # ---------- | COMMENT |
| MEDIUM⚡ | beartype/_util/hint/pep/utilpeptest.py | 242 | # ---------- | COMMENT |
| MEDIUM⚡ | beartype/_util/hint/pep/utilpeptest.py | 250 | # ---------- | COMMENT |
| MEDIUM⚡ | beartype/_util/hint/pep/utilpeptest.py | 256 | # ---------- | COMMENT |
| MEDIUM⚡ | beartype/_util/hint/pep/utilpeptest.py | 261 | # ---------- | COMMENT |
| MEDIUM | beartype/_util/hint/pep/utilpeptest.py | 356 | # ---------- | COMMENT |
| MEDIUM | …artype/_util/hint/pep/proposal/pep484/pep484generic.py | 347 | # ---------- | COMMENT |
| MEDIUM⚡ | beartype/_util/cache/pool/utilcachepoollistfixed.py | 199 | # ---------- | COMMENT |
| MEDIUM⚡ | beartype/_util/cache/pool/utilcachepoollistfixed.py | 207 | # ---------- | COMMENT |
| MEDIUM | beartype/_util/module/utilmodimport.py | 45 | # ---------- | COMMENT |
| MEDIUM | beartype/_util/module/utilmodimport.py | 53 | # ---------- | COMMENT |
| MEDIUM | beartype/_util/cls/pep/clspep3119.py | 480 | # ---------- | COMMENT |
| MEDIUM | beartype/_util/api/external/utiltensordict.py | 45 | # ---------- | COMMENT |
| MEDIUM⚡ | beartype/_util/text/utiltextget.py | 27 | # ---------- | COMMENT |
| MEDIUM⚡ | beartype/_util/text/utiltextget.py | 34 | # ---------- | COMMENT |
| MEDIUM⚡ | beartype/_util/text/utiltextget.py | 39 | # ---------- | COMMENT |
| MEDIUM⚡ | beartype/_util/text/utiltextget.py | 44 | # ---------- | COMMENT |
| MEDIUM⚡ | beartype/_util/text/utiltextget.py | 70 | # ---------- | COMMENT |
| MEDIUM⚡ | beartype/_util/text/utiltextget.py | 77 | # ---------- | COMMENT |
| MEDIUM⚡ | beartype/_util/text/utiltextget.py | 86 | # ---------- | COMMENT |
| MEDIUM⚡ | beartype/_util/func/utilfunccode.py | 503 | # ---------- | COMMENT |
| MEDIUM⚡ | beartype/_util/func/utilfunccode.py | 510 | # ---------- | COMMENT |
| MEDIUM⚡ | beartype/_util/func/utilfunccode.py | 515 | # ---------- | COMMENT |
| MEDIUM | beartype/_util/func/utilfunccode.py | 530 | # ---------- | COMMENT |
| MEDIUM | beartype/_util/func/utilfunctest.py | 111 | # ---------- | COMMENT |
| MEDIUM | beartype/_util/func/utilfunctest.py | 652 | # ---------- | COMMENT |
| MEDIUM⚡ | beartype/_util/func/utilfuncmake.py | 412 | # ---------- | COMMENT |
| MEDIUM⚡ | beartype/_util/func/utilfuncmake.py | 420 | # ---------- | COMMENT |
| MEDIUM⚡ | beartype/_util/func/utilfuncmake.py | 425 | # ---------- | COMMENT |
| MEDIUM⚡ | beartype/_util/func/utilfuncmake.py | 430 | # ---------- | COMMENT |
| MEDIUM | beartype/_util/func/arg/utilfuncargtest.py | 129 | # ---------- | COMMENT |
| MEDIUM | beartype/_util/func/arg/utilfuncargtest.py | 141 | # ---------- | COMMENT |
| MEDIUM | beartype/peps/_pep563.py | 327 | # ---------- | COMMENT |
| MEDIUM | beartype/peps/_pep563.py | 340 | # ---------- | COMMENT |
| MEDIUM | beartype/peps/_pep563.py | 349 | # ---------- | COMMENT |
| MEDIUM | beartype/_decor/_nontype/_wrap/_wrapargs.py | 505 | # ---------- | COMMENT |
| MEDIUM⚡ | beartype/_check/code/__init__.py | 1758 | # ---------- | COMMENT |
| MEDIUM | beartype/_check/code/_pep/pep484/codepep484typevar.py | 54 | # ---------- | COMMENT |
| MEDIUM | beartype/_check/error/_pep/pep484/errpep484typevar.py | 31 | # ---------- | COMMENT |
| MEDIUM | …t/a00_unit/a40_api/door/a00_type/test_door_typehint.py | 487 | # ---------- | COMMENT |
| MEDIUM | …ype_test/a00_unit/a50_check/a80_code/test_codescope.py | 391 | # ---------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | beartype/_util/hint/utilhinttest.py | 89 | proxying an external type hint that may currently be undefined). See the | STRING |
| HIGH | beartype/_util/hint/utilhinttest.py | 232 | proxying an external type hint that may currently be undefined). See the | STRING |
| HIGH | beartype/_util/hint/pep/utilpepget.py | 1003 | an abject lie. Moreover, this getter could be said to return false | STRING |
| HIGH | …pe/_util/hint/pep/proposal/pep749/pep649749annotate.py | 368 | # * The optional default is intentionally left undefined, ensuring correct | COMMENT |
| HIGH | …pe/_util/hint/pep/proposal/pep749/pep649749annotate.py | 1292 | # should be defined. If one is undefined, the other should be | COMMENT |
| HIGH | …pe/_util/hint/pep/proposal/pep749/pep649749annotate.py | 162 | f'dunder attributes undefined).' | CODE |
| HIGH | …int/pep/proposal/pep484585/generic/pep484585genfind.py | 849 | # pseudo-superclass. Although that list remains undefined, the tuple | COMMENT |
| HIGH | beartype/_util/hint/nonpep/utilnonpeptest.py | 61 | proxying an external type hint that may currently be undefined). See the | STRING |
| HIGH | beartype/_util/hint/nonpep/utilnonpeptest.py | 150 | proxying an external type hint that may currently be undefined). See the | STRING |
| HIGH | beartype/_util/hint/nonpep/utilnonpeptest.py | 253 | proxying an external type hint that may currently be undefined). See the | STRING |
| HIGH | beartype/_util/hint/nonpep/utilnonpeptest.py | 351 | proxying an external type hint that may currently be undefined). See the | STRING |
| HIGH | beartype/_util/hint/nonpep/utilnonpeptest.py | 487 | proxying an external type hint that may currently be undefined). See the | STRING |
| HIGH | beartype/_util/hint/nonpep/utilnonpeptest.py | 558 | proxying an external type hint that may currently be undefined). See the | STRING |
| HIGH | beartype/_util/hint/nonpep/utilnonpeptest.py | 616 | proxying an external type hint that may currently be undefined). See the | STRING |
| HIGH | beartype/_util/cls/pep/clspep3119.py | 60 | proxying an external type hint that may currently be undefined). If this | STRING |
| HIGH | beartype/_util/cls/pep/clspep3119.py | 230 | proxying an external type hint that may currently be undefined). See the | STRING |
| HIGH | beartype/_util/cls/pep/clspep3119.py | 317 | proxying an external type hint that may currently be undefined). See the | STRING |
| HIGH | beartype/_util/cls/pep/clspep3119.py | 398 | proxying an external type hint that may currently be undefined). See the | STRING |
| HIGH | beartype/_util/cls/pep/clspep3119.py | 525 | proxying an external type hint that may currently be undefined). See the | STRING |
| HIGH | beartype/_util/cls/pep/clspep3119.py | 594 | proxying an external type hint that may currently be undefined). See the | STRING |
| HIGH | beartype/_util/cls/pep/clspep3119.py | 650 | proxying an external type hint that may currently be undefined). See the | STRING |
| HIGH | beartype/_util/cls/pep/clspep3119.py | 702 | proxying an external type hint that may currently be undefined). See the | STRING |
| HIGH | beartype/_util/cls/pep/clspep3119.py | 756 | proxying an external type hint that may currently be undefined). See the | STRING |
| HIGH | beartype/_util/cls/pep/clspep3119.py | 864 | proxying an external type hint that may currently be undefined). See the | STRING |
| HIGH | beartype/_util/cls/pep/clspep3119.py | 1078 | proxying an external type hint that may currently be undefined). See the | STRING |
| HIGH | beartype/_util/cls/pep/clspep3119.py | 1172 | proxying an external type hint that may currently be undefined). See the | STRING |
| HIGH | beartype/_util/kind/maplike/utilmaptest.py | 31 | of the second mapping satisfy ``ka == kb && va != vb``. Equivalently, a | STRING |
| HIGH | beartype/_util/func/utilfuncframe.py | 1182 | :func:`sys._getframe` **getter.** If that getter is undefined, this iterator | STRING |
| HIGH | beartype/_util/func/utilfuncscope.py | 264 | that getter is undefined, this getter treats the passed callable as | STRING |
| HIGH | beartype/_check/code/__init__.py | 2486 | #that's completely undefined, so it seems doubtful anyone's actually doing it. | COMMENT |
| HIGH | beartype/claw/_ast/_kind/clawastimport.py | 718 | # undefined, according to the official "ast" documentation. | COMMENT |
| HIGH | beartype/_data/shame/module/datashamemod.py | 142 | # Since the "AwfulClass" class is undefined, however, neither @beartype nor | STRING |
| HIGH | beartype_test/_util/command/pytcmdrun.py | 542 | # * When this parameter is left undefined, linters complain at us. Go away! | COMMENT |
| HIGH | …a00_unit/a20_util/hint/a00_pep/proposal/test_pep749.py | 104 | # forward references and is *NOT* the null). | COMMENT |
| HIGH | …a00_unit/a20_util/hint/a00_pep/proposal/test_pep749.py | 120 | # null). | COMMENT |
| HIGH | …a00_unit/a20_util/hint/a00_pep/proposal/test_pep749.py | 146 | # unquoted forward references and is *NOT* the null). | COMMENT |
| HIGH | …a00_unit/a20_util/hint/a00_pep/proposal/test_pep749.py | 163 | # null) under the string format. | COMMENT |
| HIGH | …pe_test/a00_unit/a60_decor/a60_pep/test_decorpep544.py | 233 | # "UndesirableProtocolMeta" metaclass to remain undefined, implying the | COMMENT |
| HIGH | …rtype_test/a00_unit/data/pep/pep695/data_pep695util.py | 178 | # ....................{ ASSERTS ~ null }.................... | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | beartype/_util/hint/pep/proposal/pep612.py | 312 | # beartype._check.convert._reduce.redmain.reduce_hint() reducer to this | COMMENT |
| CRITICAL | beartype/_util/module/utilmodinitted.py | 19 | # beartype.claw._importlib._clawimpfileloader.BeartypeSourceFileLoader.get_code() | COMMENT |
| CRITICAL | beartype/_cave/_cavemap.py | 19 | # betse.util.type.iterable.mapping.mapcls.DefaultDict() function, but with | COMMENT |
| CRITICAL | beartype/_check/code/__init__.py | 2884 | # * Refactor the beartype._decor._nontype._wrap.wrapmain._unmemoize_func_wrapper_code() | COMMENT |
| CRITICAL | beartype/_check/forward/scope/fwdscopemake.py | 362 | # beartype._check.cls.call.calldatadecorfunc.BeartypeCallDecorFuncData.reinit() | COMMENT |
| CRITICAL | beartype/claw/_clawstate.py | 273 | # beartype.claw._importlib._clawimpfileloader.BeartypeSourceFileLoader.get_code() | COMMENT |
| CRITICAL | beartype/claw/_clawtest.py | 18 | # beartype.claw._importlib._clawimpfileloader.BeartypeSourceFileLoader.get_code() | COMMENT |
| CRITICAL | beartype/_data/claw/dataclawmagic.py | 17 | # beartype.claw._importlib._clawimpfileloader.BeartypeSourceFileLoader.get_code() | COMMENT |
| CRITICAL | …_package/decor_hostile/data_claw_decor_hostile_type.py | 89 | beartype_test.a00_unit.data.func.data_decor.DecoratorHostileType()) | CODE |
| CRITICAL | beartype_test/a90_func/a50_external/a50_jax/test_jax.py | 252 | # beartype_test.a90_func.z90_external.a00_jax.test_jax.test_jaxtyping_jaxtyped.darkened_the_place() | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | beartype/bite/collection/infercollectionitems.py | 469 | except Exception: | CODE |
| HIGH | beartype/_util/utilobjattr.py | 549 | except Exception: | CODE |
| HIGH | …rtype/_util/hint/pep/proposal/pep484/pep484604union.py | 287 | except Exception: | CODE |
| HIGH | beartype/_util/py/utilpyweakref.py | 96 | except TypeError: | CODE |
| HIGH | beartype/_util/module/utilmodinitted.py | 93 | except Exception: | CODE |
| HIGH | beartype/_util/module/utilmodimport.py | 170 | except ModuleNotFoundError: | CODE |
| HIGH | beartype/_util/func/utilfuncframe.py | 318 | except ValueError: | CODE |
| HIGH | beartype/_util/func/utilfuncframe.py | 325 | except OverflowError: | CODE |
| HIGH | beartype/vale/_core/_valecore.py | 443 | except Exception: | CODE |
| HIGH | beartype/_cave/_cavefast.py | 183 | except ModuleNotFoundError: | CODE |
| HIGH | beartype/_check/forward/scope/fwdscopemake.py | 386 | except _BeartypeUtilCallableScopeNotFoundException: | CODE |
| HIGH | beartype/_check/forward/reference/_cls/fwdrefmeta.py | 371 | except AttributeError: | CODE |
| HIGH | beartype/_check/convert/_reduce/redmain.py | 937 | except TypeError: | CODE |
| HIGH | beartype/typing/__init__.py | 356 | except AttributeError: | CODE |
| HIGH | beartype_test/conftest.py | 171 | except RuntimeError: | CODE |
| HIGH | …t/a00_unit/a40_api/door/a00_type/test_door_typehint.py | 230 | except TypeError: | CODE |
| HIGH | …type_test/a90_func/a50_external/a00_sphinx/conftest.py | 28 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | beartype/bite/collection/infercollectionitems.py | 329 | CODE | |
| LOW | beartype/bite/collection/infercollectionsabc.py | 207 | CODE | |
| LOW | beartype/bite/kind/infercallable.py | 110 | CODE | |
| LOW | beartype/_util/hint/pep/proposal/pep695.py | 735 | CODE | |
| LOW | …pe/_util/hint/pep/proposal/pep749/pep649749annotate.py | 446 | CODE | |
| LOW | …pe/_util/hint/pep/proposal/pep749/pep649749annotate.py | 601 | CODE | |
| LOW | …pe/_util/hint/pep/proposal/pep749/pep649749annotate.py | 706 | CODE | |
| LOW | …rtype/_util/hint/pep/proposal/pep749/pep749evaluate.py | 349 | CODE | |
| LOW | …ype/_util/hint/pep/proposal/pep484585/pep484585func.py | 46 | CODE | |
| LOW | …int/pep/proposal/pep484585/generic/pep484585genfind.py | 44 | CODE | |
| LOW | beartype/_util/hint/nonpep/utilnonpeptest.py | 317 | CODE | |
| LOW | beartype/_util/hint/nonpep/utilnonpeptest.py | 591 | CODE | |
| LOW | beartype/_util/cache/utilcacheobjattr.py | 76 | CODE | |
| LOW | beartype/_util/cache/utilcacheobjattr.py | 403 | CODE | |
| LOW | beartype/_util/bear/utilbearblack.py | 26 | CODE | |
| LOW | beartype/_util/module/utilmodimport.py | 196 | CODE | |
| LOW | beartype/_util/cls/utilclstest.py | 65 | CODE | |
| LOW | beartype/_util/cls/pep/clspep3119.py | 842 | CODE | |
| LOW | beartype/_util/text/utiltextlabel.py | 93 | CODE | |
| LOW | beartype/_util/text/utiltextlabel.py | 514 | CODE | |
| LOW | beartype/_util/func/utilfunccode.py | 259 | CODE | |
| LOW | beartype/vale/_core/_valecore.py | 97 | CODE | |
| LOW | beartype/cave/_caveabc.py | 63 | CODE | |
| LOW | beartype/_cave/_cavemap.py | 53 | CODE | |
| LOW | beartype/_decor/_nontype/decornontype.py | 65 | CODE | |
| LOW | beartype/_decor/_nontype/decornontype.py | 632 | CODE | |
| LOW | beartype/_decor/_nontype/_wrap/_wrapreturn.py | 40 | CODE | |
| LOW | beartype/_decor/_nontype/_wrap/_wrapargs.py | 105 | CODE | |
| LOW | beartype/_check/pep/pep484585/checkpep484585generic.py | 104 | CODE | |
| LOW | beartype/_check/code/codemain.py | 169 | CODE | |
| LOW | beartype/_check/cls/call/calldatadecorfunc.py | 329 | CODE | |
| LOW | beartype/_check/make/checkmakecls.py | 74 | CODE | |
| LOW | beartype/_check/error/_nonpep/errnonpeptype.py | 66 | CODE | |
| LOW | beartype/_check/convert/_reduce/redmain.py | 55 | CODE | |
| LOW | …check/convert/_reduce/_pep/pep484/redpep484604union.py | 32 | CODE | |
| LOW | …e/_check/convert/_reduce/_pep/pep646/redpep646tuple.py | 96 | CODE | |
| LOW | …/convert/_reduce/_pep/pep646/redpep484612646typearg.py | 109 | CODE | |
| LOW | …/convert/_reduce/_pep/pep646/redpep484612646typearg.py | 792 | CODE | |
| LOW | beartype/_conf/conftest.py | 139 | CODE | |
| LOW | beartype/door/_cls/pep/doorpep484604.py | 316 | CODE | |
| LOW | beartype/door/_cls/pep/pep484585/doorpep484585tuple.py | 64 | CODE | |
| LOW | …rtype/door/_cls/pep/pep484585/doorpep484585callable.py | 260 | CODE | |
| LOW | …a00_unit/a20_util/hint/a00_pep/proposal/test_pep585.py | 68 | CODE | |
| LOW | …pep/proposal/pep484585/generic/test_pep484585genget.py | 105 | CODE | |
| LOW | …pe_test/a00_unit/a60_decor/a60_pep/test_decorpep342.py | 125 | CODE | |
| LOW | …pe_test/a00_unit/a60_decor/a60_pep/test_decorpep342.py | 218 | CODE | |
| LOW | …pe_test/a00_unit/a60_decor/a60_pep/test_decorpep557.py | 20 | CODE | |
| LOW | …pe_test/a00_unit/a60_decor/a60_pep/test_decorpep525.py | 170 | CODE | |
| LOW | …pe_test/a00_unit/a60_decor/a60_pep/test_decorpep525.py | 263 | CODE | |
| LOW | …_unit/a80_main/a90_door/a00_core/test_door_bearable.py | 120 | CODE | |
| LOW | …_unit/a50_check/a40_convert/a00_reduce/test_redhint.py | 25 | CODE | |
| LOW | beartype_test/a00_unit/data/hint/data_hintfixture.py | 128 | CODE | |
| LOW | beartype_test/a00_unit/data/hint/data_hintfixture.py | 203 | CODE | |
| LOW | …e_test/a00_unit/data/hint/cls/pith/data_clshintpith.py | 171 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | beartype/bite/_infermain.py | 74 | # Define a trivial recursive list. | STRING |
| MEDIUM | beartype/_util/hint/pep/utilpepget.py | 587 | # Define an arbitrary parametrized generic. | STRING |
| MEDIUM | …int/pep/proposal/pep484585/generic/pep484585genfind.py | 281 | # This function implements an extremely non-trivial depth-first search (DFS) | COMMENT |
| MEDIUM⚡ | beartype/_util/cache/pool/utilcachepoollistfixed.py | 195 | # This function is intended to be called by the :meth:`__setitem__` | COMMENT |
| MEDIUM | beartype/_util/api/external/utiltensordict.py | 69 | # # This class defines the @tensorclass-specific private "_is_tensorclass" | COMMENT |
| MEDIUM | beartype/_util/error/utilerrget.py | 103 | # Define the unqualified basename of the non-existent attribute | COMMENT |
| MEDIUM | beartype/vale/_core/_valecore.py | 464 | # Define a domain-specific language (DSL) enabling callers to dynamically | COMMENT |
| MEDIUM | beartype/_cache/cls/cacheclsmega.py | 84 | # Initialize all instance variables. | COMMENT |
| MEDIUM | beartype/_cache/cls/cacheclsabc.py | 97 | # Initialize all instance variables. | COMMENT |
| MEDIUM | beartype/_decor/decorcache.py | 120 | # Define a private decorator generically applying this configuration to any | COMMENT |
| MEDIUM | beartype/_decor/_nontype/decornontype.py | 564 | # Define the builtins scope under the standard dunder name expected by | COMMENT |
| MEDIUM | beartype/_check/forward/reference/_cls/fwdrefcache.py | 173 | # Initialize all instance variables. | COMMENT |
| MEDIUM | beartype/_data/shame/module/datashamemodtype.py | 86 | # # Define a trivial Celery task. | COMMENT |
| MEDIUM | .github/workflows/python_docs.yml | 144 | # # Define a new "${CACHE_ID}" environment variable whose value is the | COMMENT |
| MEDIUM | …a00_unit/a60_decor/a80_api/external/test_decor_mypy.py | 71 | # Create a new cloud when trying to add two clouds, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | beartype/meta.py | 95 | except Exception: | CODE |
| LOW | beartype/bite/collection/infercollectionitems.py | 469 | except Exception: | CODE |
| LOW | beartype/_util/utilobjattr.py | 549 | except Exception: | CODE |
| LOW | beartype/_util/utilobjtest.py | 89 | except Exception: | CODE |
| LOW | beartype/_util/hint/pep/proposal/pep593.py | 136 | except Exception: | CODE |
| LOW | …/_util/hint/pep/proposal/pep749/pep484749forwardref.py | 474 | except Exception as exception: | CODE |
| LOW | …rtype/_util/hint/pep/proposal/pep484/pep484604union.py | 287 | except Exception: | CODE |
| LOW | beartype/_util/py/utilpyinterpreter.py | 107 | except Exception: | CODE |
| LOW | beartype/_util/cache/func/utilcachefunc.py | 248 | except Exception as exception: | STRING |
| LOW | beartype/_util/module/utilmodinitted.py | 93 | except Exception: | CODE |
| LOW | beartype/_util/module/utilmodtest.py | 234 | except Exception as exception: | CODE |
| LOW | beartype/_util/module/utilmodimport.py | 175 | except Exception as exception: | CODE |
| LOW | beartype/_util/cls/pep/clspep3119.py | 917 | except Exception as exception: | CODE |
| LOW | beartype/_util/cls/pep/clspep3119.py | 1284 | except Exception as exception: | CODE |
| LOW | beartype/_util/api/external/utilnumpy.py | 261 | except Exception as exception: | CODE |
| LOW | beartype/_util/func/utilfunccode.py | 144 | except Exception: | CODE |
| LOW | beartype/_util/func/utilfunccode.py | 246 | except Exception: | CODE |
| LOW | beartype/_util/func/utilfunccode.py | 468 | except Exception: | CODE |
| LOW | beartype/_util/func/utilfuncmake.py | 280 | except Exception as exception: | CODE |
| LOW | beartype/vale/_core/_valecore.py | 443 | except Exception: | CODE |
| LOW | beartype/vale/_is/_valeis.py | 537 | except Exception as exception: | STRING |
| LOW | beartype/_decor/decorcore.py | 228 | except Exception: | CODE |
| LOW | beartype/_decor/_nontype/_wrap/_wrapreturn.py | 202 | except Exception as exception: | CODE |
| LOW | beartype/_decor/_nontype/_wrap/_wrapargs.py | 440 | except Exception as exception: | CODE |
| LOW | beartype/_decor/_type/_pep/decortypepep557.py | 591 | except Exception: | CODE |
| LOW | beartype/_check/make/checkmakecls.py | 256 | except Exception as exception: | CODE |
| LOW | beartype/_check/forward/fwdresolve.py | 544 | except Exception as exception: | CODE |
| LOW | beartype/_check/forward/scope/fwdscopecls.py | 359 | except Exception: | STRING |
| LOW | beartype/_check/convert/_reduce/redmain.py | 485 | except Exception as exception: | CODE |
| LOW | …/convert/_reduce/_pep/pep646/redpep484612646typearg.py | 619 | except Exception as exception: | CODE |
| LOW | beartype/typing/_typingcache.py | 153 | except Exception as exception: | STRING |
| LOW | beartype/claw/_importlib/_clawimpfileloader.py | 698 | except Exception as exception: | CODE |
| LOW | beartype/door/_cls/_doorcache.py | 305 | except Exception as exception: | STRING |
| LOW | …t/a00_unit/a90_claw/a90_hook/test_claw_extraprocess.py | 71 | except Exception: | CODE |
| LOW | …type_test/a00_unit/a20_util/error/test_utilerrraise.py | 104 | except Exception as exception: | CODE |
| LOW | …type_test/a00_unit/a20_util/error/test_utilerrraise.py | 115 | except Exception as exception: | CODE |
| LOW | …type_test/a00_unit/a20_util/error/test_utilerrraise.py | 126 | except Exception as exception: | CODE |
| LOW | …n/a90_door/a00_core/test_door_bearable_extraprocess.py | 74 | except Exception: | CODE |
| LOW | …type_test/a90_func/a50_external/a00_sphinx/conftest.py | 28 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | beartype/_util/utilobjget.py | 248 | # Remove all "<locals>" placeholder substrings as discussed above. | COMMENT |
| MEDIUM | beartype/_util/utilobjget.py | 335 | # removed from this name as discussed above; | COMMENT |
| MEDIUM | …type/_util/hint/pep/proposal/pep646/pep646692unpack.py | 390 | # higher-level get_hint_pep_sign_or_none() getter. As discussed above, this | COMMENT |
| MEDIUM | beartype/_check/code/__init__.py | 1959 | #Here's a simple example: | COMMENT |
| MEDIUM | beartype/_check/forward/reference/_cls/fwdreffake.py | 229 | # other type (as discussed above). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | beartype/__init__.py | 96 | __all__ = [ | CODE |
| LOW | beartype/_util/bear/utilbearfunc.py | 112 | def set_func_beartyped(func: Callable) -> None: | CODE |
| LOW | beartype/_util/kind/maplike/utilmapset.py | 300 | def update_mapping(mapping_trg: MutableMapping, mapping_src: Mapping) -> None: | CODE |
| LOW | beartype/_check/cls/hint/tree/hinttreecode.py | 330 | def set_index_current(self, hint_index: int) -> None: | CODE |
| LOW | beartype/_check/cls/call/calldatadecorfunc.py | 756 | def set_func_annotations_if_dirty(self) -> None: | CODE |
| LOW | beartype/_check/cls/call/calldatadecorfunc.py | 788 | def set_func_pith_hint(self, pith_name: str, hint: Hint) -> None: | CODE |
| LOW | beartype/claw/_package/clawpkgcontext.py | 201 | # # def set_claw_state(claw_state_new: BeartypeClawState) -> None: | COMMENT |
| LOW | beartype/claw/_ast/_clawaststar.py | 77 | __all__ = [ | CODE |
| LOW | beartype/_data/typing/datatypingport.py | 186 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | beartype/_util/text/utiltextjoin.py | 340 | # If passed exactly two strings, return these strings delimited as requested | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | beartype/_check/code/__init__.py | 634 | #In this example, the code dynamically generated by the @beartype decorator | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …pe_test/a00_unit/a60_decor/a60_pep/test_decorpep342.py | 211 | CODE | |
| MEDIUM | …pe_test/a00_unit/a60_decor/a60_pep/test_decorpep525.py | 256 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | beartype/_util/func/utilfuncmake.py | 29 | CODE | |
| LOW | beartype/_check/convert/_reduce/redmain.py | 55 | CODE | |
| LOW | beartype/_conf/confmain.py | 291 | CODE | |
| LOW | …rtype_test/a00_unit/data/hint/cls/pith/data_clshint.py | 264 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …pe_test/a00_unit/a60_decor/a60_pep/test_decorpep563.py | 17 | # WARNING: The "from __future__ import annotations" import appears to be subtly | COMMENT |