Summary

Comparing branches/commits:
Old: main (merge base) 9e80e5a3
New: 21433/merge fbf3f7e5
Lint Rule Removed Added Changed
Total 42 94 16
invalid-argument-type 2 75 8
unused-ignore-comment 33 0 0
invalid-type-form 0 7 0
possibly-missing-attribute 4 1 2
invalid-assignment 0 3 2
invalid-return-type 1 1 2
no-matching-overload 0 4 0
not-iterable 0 0 2
unresolved-attribute 0 2 0
unresolved-reference 2 0 0
unsupported-operator 0 1 0

aiohttp-devtools (https://github.com/aio-libs/aiohttp-devtools)

tests/test_runserver_serve.py

[warning] unused-ignore-comment - :143:35 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :157:35 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :169:35 - Unused blanket `type: ignore` directive

alerta (https://github.com/alerta/alerta)

alerta/models/alert.py

[error] invalid-argument-type - :98:13 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | None`
[error] invalid-argument-type - :99:13 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | None`

alerta/models/customer.py

[error] invalid-argument-type - :23:13 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | None`
[error] invalid-argument-type - :24:13 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | None`

alerta/models/group.py

[error] invalid-argument-type - :84:13 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | None`
[error] invalid-argument-type - :85:13 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | None`

alerta/models/heartbeat.py

[error] invalid-argument-type - :85:13 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | None`
[error] invalid-argument-type - :89:13 - Argument to bound method `__init__` is incorrect: Expected `int`, found `Any | None`
[error] invalid-argument-type - :90:13 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | None`

alerta/models/key.py

[error] invalid-argument-type - :51:13 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | None`
[error] invalid-argument-type - :53:13 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | None`
[error] invalid-argument-type - :55:13 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | None`

alerta/models/note.py

[error] invalid-argument-type - :34:13 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | None`
[error] invalid-argument-type - :35:13 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | None`
[error] invalid-argument-type - :37:13 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | None`

alerta/models/permission.py

[error] invalid-argument-type - :29:13 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | None`

alerta/models/user.py

[error] invalid-argument-type - :66:13 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | None`
[error] invalid-argument-type - :68:13 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | None`
[error] invalid-argument-type - :72:13 - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | None`

arviz (https://github.com/arviz-devs/arviz)

doc/source/getting_started/ConversionGuideEmcee.ipynb:cell 20

[error] invalid-argument-type - :1:44 - Argument to function `plot_trace` is incorrect: Expected `dict[str, list[Any]] | None`, found `dict[Unknown | str, Unknown | int]`

arviz/tests/base_tests/test_plots_matplotlib.py

[error] invalid-argument-type - :320:41 -
Old: Argument to function `plot_trace` is incorrect: Expected `list[tuple[str, Any, Any]] | None`, found `Unknown | tuple[str, tuple[str, str]]`
New: Argument to function `plot_trace` is incorrect: Expected `dict[str, Any] | None`, found `Unknown | tuple[str, tuple[str, str]]`
[error] invalid-argument-type - :320:41 - Argument to function `plot_trace` is incorrect: Expected `dict[str, list[Any]] | None`, found `Unknown | tuple[str, tuple[str, str]]`
[error] invalid-argument-type - :320:41 - Argument to function `plot_trace` is incorrect: Expected `list[tuple[str, dict[str, list[Any]], Any]] | None`, found `Unknown | tuple[str, tuple[str, str]]`

beartype (https://github.com/beartype/beartype)

beartype/_data/hint/datahintrepr.py

[warning] unused-ignore-comment - :241:61 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :345:55 - Unused blanket `type: ignore` directive

beartype/_util/cls/utilclsget.py

[warning] unused-ignore-comment - :167:26 - Unused blanket `type: ignore` directive

beartype/vale/_core/_valecorebinary.py

[warning] unused-ignore-comment - :96:57 - Unused blanket `type: ignore` directive

beartype/_check/convert/_reduce/redmain.py

[warning] unused-ignore-comment - :544:75 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :620:79 - Unused blanket `type: ignore` directive

beartype/_check/forward/fwdresolve.py

[warning] possibly-missing-attribute - :573:5 - Attribute `update` may be missing on object of type `Any | None | BeartypeForwardScope`
[warning] possibly-missing-attribute - :574:5 - Attribute `update` may be missing on object of type `Any | None | BeartypeForwardScope`

beartype/_check/forward/reference/fwdrefabc.py

[warning] unused-ignore-comment - :172:47 - Unused blanket `type: ignore` directive

beartype/_check/metadata/hint/hintsane.py

[error] invalid-type-form - :65:28 - Variable of type `_SpecialForm` is not allowed in a type expression

beartype/_check/metadata/metadecor.py

[warning] unused-ignore-comment - :333:37 - Unused blanket `type: ignore` directive

beartype/_data/cls/datacls.py

[warning] unused-ignore-comment - :111:50 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :120:39 - Unused blanket `type: ignore` directive

beartype/_data/typing/datatypingport.py

[error] invalid-type-form - :200:28 - Variable of type `_SpecialForm` is not allowed in a type expression
[error] invalid-type-form - :214:18 - Variable of type `_SpecialForm` is not allowed in a type expression
[error] invalid-type-form - :228:16 - Variable of type `_SpecialForm` is not allowed in a type expression
[error] invalid-type-form - :235:27 - Variable of type `_SpecialForm` is not allowed in a type expression
[error] invalid-type-form - :256:37 - Variable of type `_SpecialForm` is not allowed in a type expression
[error] invalid-type-form - :284:71 - Variable of type `_SpecialForm` is not allowed in a type expression

beartype/_decor/_nontype/_wrap/_wrapargs.py

[warning] unused-ignore-comment - :122:38 - Unused blanket `type: ignore` directive

beartype/_decor/_nontype/_wrap/_wrapreturn.py

[warning] unused-ignore-comment - :112:38 - Unused blanket `type: ignore` directive

beartype/_util/hint/pep/proposal/pep484585/generic/pep484585genget.py

[warning] unused-ignore-comment - :677:39 - Unused blanket `type: ignore` directive

beartype/bite/collection/infercollectionitems.py

[warning] unused-ignore-comment - :317:38 - Unused blanket `type: ignore` directive

colour (https://github.com/colour-science/colour)

colour/io/fichet2021.py

[error] invalid-argument-type - :839:13 - Argument to function `sds_and_msds_to_components_Fichet2021` is incorrect: Expected `Sequence[SpectralDistribution | MultiSpectralDistributions] | SpectralDistribution | MultiSpectralDistributions | ValuesView[Unknown]`, found `Sequence[SpectralDistribution | MultiSpectralDistributions] | SpectralDistribution | MultiSpectralDistributions | (dict[str | int | float, tuple[@Todo, @Todo]] & Sequence[object]) | ValuesView[Unknown]`

dd-trace-py (https://github.com/DataDog/dd-trace-py)

ddtrace/llmobs/utils.py

[warning] unused-ignore-comment - :162:38 - Unused blanket `type: ignore` directive

ddtrace/appsec/_iast/sampling/vulnerability_detection.py

[warning] unused-ignore-comment - :97:59 - Unused blanket `type: ignore` directive

ddtrace/llmobs/_experiment.py

[warning] possibly-missing-attribute - :399:53 -
Old: Attribute `__name__` may be missing on object of type `Unknown | ((Any, Any | None, /) -> str | int | float | ... omitted 3 union elements)`
New: Attribute `__name__` may be missing on object of type `Unknown | ((dict[str, Divergent], dict[str, Divergent] | None, /) -> str | int | float | ... omitted 3 union elements)`

tests/ci_visibility/api_client/test_ci_visibility_api_client.py

[error] invalid-argument-type - :653:50 - Argument to bound method `__init__` is incorrect: Expected `dict[str, str | dict[str, str]]`, found `Unknown | str | ITR_SKIPPING_LEVEL | None | float`

tests/debugging/probe/test_remoteconfig.py

[error] invalid-argument-type - :242:13 - Argument to bound method `append_and_publish` is incorrect: Expected `dict[str, Any] | None`, found `Literal[False]`

tests/llmobs/test_utils.py

[error] invalid-argument-type - :218:19 - Argument to bound method `__init__` is incorrect: Expected `list[dict[str, str | int | float]] | dict[str, str | int | float] | str`, found `Literal[123]`
[error] invalid-argument-type - :220:19 - Argument to bound method `__init__` is incorrect: Expected `list[dict[str, str | int | float]] | dict[str, str | int | float] | str`, found `object`
[error] invalid-argument-type - :222:19 - Argument to bound method `__init__` is incorrect: Expected `list[dict[str, str | int | float]] | dict[str, str | int | float] | str`, found `None`
[error] invalid-argument-type - :227:19 - Argument to bound method `__init__` is incorrect: Expected `list[dict[str, str | int | float]] | dict[str, str | int | float] | str`, found `list[Unknown | dict[Unknown | str, Unknown | None]]`
[error] invalid-argument-type - :236:19 - Argument to bound method `__init__` is incorrect: Expected `list[dict[str, str | int | float]] | dict[str, str | int | float] | str`, found `list[Unknown | dict[Unknown | str, Unknown | list[Unknown | int]]]`
[error] invalid-argument-type - :240:19 - Argument to bound method `__init__` is incorrect: Expected `list[dict[str, str | int | float]] | dict[str, str | int | float] | str`, found `dict[Unknown | str, Unknown | str | dict[Unknown | str, Unknown | str]]`

tests/tracer/utils_botocore/test_span_pointers.py

[error] invalid-argument-type - :153:17 - Argument to function `_aws_dynamodb_item_span_pointer_hash` is incorrect: Expected `dict[str, dict[str, str]]`, found `dict[str, dict[str, str] | str | Decimal | bytes]`

dedupe (https://github.com/dedupeio/dedupe)

dedupe/labeler.py

[warning] unused-ignore-comment - :451:41 - Unused blanket `type: ignore` directive
[error] invalid-argument-type - :452:29 - Argument to bound method `mark` is incorrect: Expected `Iterable[Literal[0, 1]]`, found `list[Unknown | int]`
[warning] unused-ignore-comment - :487:41 - Unused blanket `type: ignore` directive
[error] invalid-argument-type - :488:29 - Argument to bound method `mark` is incorrect: Expected `Iterable[Literal[0, 1]]`, found `list[Unknown | int]`

graphql-core (https://github.com/graphql-python/graphql-core)

src/graphql/type/schema.py

[error] unresolved-attribute - :237:30 - Object of type `GraphQLNamedType & ~AlwaysFalsy` has no attribute `interfaces`
[error] invalid-argument-type - :246:59 - Argument to bound method `append` is incorrect: Expected `GraphQLInterfaceType`, found `GraphQLNamedType & ~AlwaysFalsy`
[error] unresolved-attribute - :249:30 - Object of type `GraphQLNamedType & ~AlwaysFalsy` has no attribute `interfaces`
[error] invalid-argument-type - :258:56 - Argument to bound method `append` is incorrect: Expected `GraphQLObjectType`, found `GraphQLNamedType & ~AlwaysFalsy`

src/graphql/type/validate.py

[error] invalid-argument-type - :214:38 - Argument to bound method `validate_fields` is incorrect: Expected `GraphQLObjectType | GraphQLInterfaceType`, found `GraphQLNamedType | Unknown`
[error] invalid-argument-type - :217:42 - Argument to bound method `validate_interfaces` is incorrect: Expected `GraphQLObjectType | GraphQLInterfaceType`, found `GraphQLNamedType | Unknown`
[error] invalid-argument-type - :220:38 - Argument to bound method `validate_fields` is incorrect: Expected `GraphQLObjectType | GraphQLInterfaceType`, found `GraphQLNamedType | Unknown`
[error] invalid-argument-type - :223:42 - Argument to bound method `validate_interfaces` is incorrect: Expected `GraphQLObjectType | GraphQLInterfaceType`, found `GraphQLNamedType | Unknown`
[error] invalid-argument-type - :226:45 - Argument to bound method `validate_union_members` is incorrect: Expected `GraphQLUnionType`, found `GraphQLNamedType | Unknown`
[error] invalid-argument-type - :229:43 - Argument to bound method `validate_enum_values` is incorrect: Expected `GraphQLEnumType`, found `GraphQLNamedType | Unknown`
[error] invalid-argument-type - :232:44 - Argument to bound method `validate_input_fields` is incorrect: Expected `GraphQLInputObjectType`, found `GraphQLNamedType | Unknown`
[error] invalid-argument-type - :235:53 - Argument to bound method `__call__` is incorrect: Expected `GraphQLInputObjectType`, found `GraphQLNamedType | Unknown`

src/graphql/validation/rules/unique_enum_value_names.py

[warning] possibly-missing-attribute - :39:62 -
Old: Attribute `values` may be missing on object of type `Unknown | None`
New: Attribute `values` may be missing on object of type `Unknown | GraphQLNamedType | None`

kornia (https://github.com/kornia/kornia)

kornia/nerf/data_utils.py

[warning] possibly-missing-attribute - :100:23 - Attribute `to` may be missing on object of type `Unknown | str`

meson (https://github.com/mesonbuild/meson)

mesonbuild/backend/ninjabackend.py

[error] invalid-argument-type - :2483:47 - Argument to bound method `__init__` is incorrect: Expected `list[NinjaCommandArg | str]`, found `list[str]`
[error] invalid-argument-type - :2509:39 - Argument to bound method `__init__` is incorrect: Expected `list[NinjaCommandArg | str]`, found `list[str]`
[error] invalid-argument-type - :2476:47 - Argument to bound method `__init__` is incorrect: Expected `list[NinjaCommandArg | str]`, found `list[str]`
[error] invalid-argument-type - :2628:39 - Argument to bound method `__init__` is incorrect: Expected `list[NinjaCommandArg | str]`, found `list[str]`
[error] invalid-argument-type - :2638:39 - Argument to bound method `__init__` is incorrect: Expected `list[NinjaCommandArg | str]`, found `list[str]`
[error] invalid-argument-type - :2683:39 - Argument to bound method `__init__` is incorrect: Expected `list[NinjaCommandArg | str]`, found `list[str]`

mesonbuild/interpreter/interpreter.py

[error] no-matching-overload - :398:9 - No overload of bound method `update` matches arguments
[error] no-matching-overload - :450:9 - No overload of bound method `update` matches arguments
[error] no-matching-overload - :1245:18 - No overload of bound method `source_strings_to_files` matches arguments
[error] unsupported-operator - :3433:19 - Operator `+` is unsupported between objects of type `list[str | File | @Todo | ... omitted 3 union elements]` and `list[str | File | @Todo | ... omitted 3 union elements] | str | File | ... omitted 3 union elements`
[warning] possibly-missing-attribute - :1246:22 - Attribute `absolute_path` may be missing on object of type `File | @Todo | BuildTarget | ExtractedObjects | StructuredSources`
[error] invalid-return-type - :666:16 - Return type does not match returned value: expected `list[File]`, found `list[File | @Todo | BuildTarget | ExtractedObjects | StructuredSources]`
[error] no-matching-overload - :666:16 - No overload of bound method `source_strings_to_files` matches arguments
[error] invalid-assignment - :3456:23 -
Old: Object of type `tuple[list[File], list[str]]` is not assignable to `tuple[str, Any]`
New: Object of type `tuple[list[File], list[str]]` is not assignable to `tuple[str, list[str | File | @Todo | ... omitted 3 union elements]]`
[error] invalid-assignment - :3465:23 -
Old: Object of type `tuple[list[File], list[str]]` is not assignable to `tuple[str, Any]`
New: Object of type `tuple[list[File], list[str]]` is not assignable to `tuple[str, list[str | File | @Todo | ... omitted 3 union elements]]`

mesonbuild/interpreter/type_checking.py

[error] invalid-argument-type - :252:37 - Argument to bound method `__init__` is incorrect: Expected `dict[str, str | list[str]] | None`, found `(EnvironmentVariables & Top[dict[Unknown, Unknown]]) | dict[str, str | list[str]]`

mesonbuild/interpreterbase/decorators.py

[error] invalid-return-type - :45:12 -
Old: Return type does not match returned value: expected `tuple[BaseNode, list[@Todo], Any, SubProject]`, found `tuple[Any, None | Any, None | Any, Any]`
New: Return type does not match returned value: expected `tuple[BaseNode, list[@Todo], Divergent, SubProject]`, found `tuple[Any, None | Any, None | Any, Any]`

mesonbuild/interpreterbase/interpreterbase.py

[error] invalid-argument-type - :569:28 - Argument is incorrect: Expected `typing.TypeVar`, found `(@Todo & HoldableObject) | (InterpreterObject & HoldableObject) | (@Todo & int) | ... omitted 7 union elements`
[error] invalid-argument-type - :573:32 - Argument is incorrect: Expected `typing.TypeVar`, found `(@Todo & HoldableObject) | (InterpreterObject & HoldableObject) | (@Todo & int) | ... omitted 7 union elements`

paasta (https://github.com/yelp/paasta)

paasta_tools/utils.py

[error] invalid-return-type - :3588:16 - Return type does not match returned value: expected `BranchDictV1`, found `Unknown | BranchDictV1 | dict[Unknown, Unknown]`

paroxython (https://github.com/laowantong/paroxython)

paroxython/make_db.py

[error] invalid-assignment - :91:13 - Invalid subscript assignment with key of type `ProgramPath` and value of type `dict[Unknown | str, Unknown | Source | dict[LabelName, list[tuple[int, int]]] | dict[TaxonName, list[tuple[int, int]]]]` on object of type `dict[ProgramPath, ProgramRecord]`

paroxython/recommend_programs.py

[error] invalid-argument-type - :263:35 - Argument to function `cost_bucket` is incorrect: Expected `int`, found `Unknown | int | float`

pip (https://github.com/pypa/pip)

src/pip/_vendor/pkg_resources/__init__.py

[error] invalid-argument-type - :1120:33 - Argument to bound method `evaluate` is incorrect: Expected `dict[str, str] | None`, found `dict[Unknown | str, Unknown | str | None]`

prefect (https://github.com/PrefectHQ/prefect)

src/prefect/settings/models/_defaults.py

[warning] unused-ignore-comment - :106:24 - Unused blanket `type: ignore` directive

src/prefect/events/related.py

[error] invalid-argument-type - :182:25 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `object`

src/prefect/flow_runs.py

[error] invalid-assignment - :273:9 - Object of type `dict[Literal["description", "response", "schema"], str]` is not assignable to attribute `run_input_keyset` of type `dict[str, str] | None`
[error] invalid-assignment - :428:9 - Object of type `dict[Literal["description", "response", "schema"], str]` is not assignable to attribute `run_input_keyset` of type `dict[str, str] | None`

src/prefect/server/models/events.py

[error] invalid-argument-type - :69:9 - Argument is incorrect: Expected `list[RelatedResource]`, found `list[dict[str, str]]`

pydantic (https://github.com/pydantic/pydantic)

pydantic/v1/schema.py

[warning] unused-ignore-comment - :1085:52 - Unused blanket `type: ignore` directive

pyjwt (https://github.com/jpadilla/pyjwt)

jwt/algorithms.py

[error] invalid-argument-type - :695:34 - Argument to function `base64url_decode` is incorrect: Expected `bytes | str`, found `Any | None`
[error] invalid-argument-type - :696:34 - Argument to function `base64url_decode` is incorrect: Expected `bytes | str`, found `Any | None`
[error] invalid-argument-type - :741:34 - Argument to function `base64url_decode` is incorrect: Expected `bytes | str`, found `Any | None`
[error] invalid-argument-type - :934:34 - Argument to function `base64url_decode` is incorrect: Expected `bytes | str`, found `Any | None`
[error] invalid-argument-type - :941:38 - Argument to function `base64url_decode` is incorrect: Expected `bytes | str`, found `Any | None`

sockeye (https://github.com/awslabs/sockeye)

sockeye/output_handler.py

[error] invalid-argument-type - :254:80 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `list[Any] | None`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Unknown | list[str]]`, found `list[list[str]] | None`

sockeye/train.py

[error] invalid-return-type - :445:16 -
Old: Return type does not match returned value: expected `tuple[BaseParallelSampleIter, BaseParallelSampleIter, DataConfig, list[Any], list[Any]]`, found `tuple[BaseParallelSampleIter, BaseParallelSampleIter | None, DataConfig, list[Any], list[Any]]`
New: Return type does not match returned value: expected `tuple[BaseParallelSampleIter, BaseParallelSampleIter, DataConfig, list[dict[str, int]], list[dict[str, int]]]`, found `tuple[BaseParallelSampleIter, BaseParallelSampleIter | None, DataConfig, list[dict[str, int]], list[dict[str, int]]]`

test/unit/test_inference.py

[error] invalid-argument-type - :53:51 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[Any]`, found `None`
New: Argument to bound method `__init__` is incorrect: Expected `list[dict[str, int]]`, found `None`
[error] invalid-argument-type - :54:51 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[Any]`, found `None`
New: Argument to bound method `__init__` is incorrect: Expected `list[dict[str, int]]`, found `None`
[error] not-iterable - :128:23 -
Old: Object of type `list[Any] | None` may not be iterable
New: Object of type `list[list[str]] | None` may not be iterable
[error] not-iterable - :163:23 -
Old: Object of type `list[Any] | None` may not be iterable
New: Object of type `list[list[str]] | None` may not be iterable
[error] invalid-argument-type - :177:114 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Any]`, found `list[Any] | None`
New: Argument to function `__new__` is incorrect: Expected `Iterable[list[str]]`, found `list[list[str]] | None`
[error] invalid-argument-type - :244:20 -
Old: Argument to function `len` is incorrect: Expected `Sized`, found `list[Any] | None`
New: Argument to function `len` is incorrect: Expected `Sized`, found `list[list[str]] | None`
[error] invalid-argument-type - :310:20 -
Old: Argument to function `len` is incorrect: Expected `Sized`, found `list[Any] | None`
New: Argument to function `len` is incorrect: Expected `Sized`, found `list[list[str]] | None`
[error] invalid-argument-type - :367:20 -
Old: Argument to function `len` is incorrect: Expected `Sized`, found `list[Any] | None`
New: Argument to function `len` is incorrect: Expected `Sized`, found `list[list[str]] | None`

test/unit/test_output_handler.py

[error] invalid-argument-type - :23:82 - Argument is incorrect: Expected `list[str]`, found `None`
[error] invalid-argument-type - :29:74 - Argument is incorrect: Expected `list[str]`, found `None`

spack (https://github.com/spack/spack)

lib/spack/spack/config.py

[error] invalid-argument-type - :1651:18 - Argument to function `validate` is incorrect: Expected `dict[str, Any]`, found `None | dict[Unknown | str, Unknown | None]`

lib/spack/spack/vendor/attr/__init__.pyi

[error] unresolved-reference - :55:17 - Name `Attribute` used when not defined
[error] unresolved-reference - :55:40 - Name `Attribute` used when not defined

static-frame (https://github.com/static-frame/static-frame)

static_frame/core/archive_zip.py

[warning] unused-ignore-comment - :392:39 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :393:43 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :394:48 - Unused blanket `type: ignore` directive

static_frame/core/frame.py

[warning] unused-ignore-comment - :6672:67 - Unused blanket `type: ignore` directive

static_frame/core/index_hierarchy.py

[warning] unused-ignore-comment - :3106:22 - Unused blanket `type: ignore` directive

static_frame/core/reduce.py

[error] invalid-argument-type - :505:21 - Method `__getitem__` of type `Overload[(key: int | integer[Any]) -> Any, (key: ndarray[Any, Any] | list[int] | slice[Any, Any, Any] | None) -> IndexBase]` cannot be called with key of type `list[Unknown | int | integer[Any]]` on object of type `IndexBase`

static_frame/core/util.py

[warning] unused-ignore-comment - :1417:31 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :1426:32 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :1438:32 - Unused blanket `type: ignore` directive

static_frame/test/unit/test_axis_map.py

[error] invalid-argument-type - :35:34 - Argument to bound method `assertSequenceEqual` is incorrect: Expected `Sequence[Any]`, found `dict_keys[Hashable, Divergent]`
[error] invalid-argument-type - :35:48 - Argument to bound method `assertSequenceEqual` is incorrect: Expected `Sequence[Any]`, found `dict_keys[Hashable, Divergent]`
[error] invalid-argument-type - :73:53 - Argument to bound method `compare_trees` is incorrect: Expected `dict[Hashable, Divergent]`, found `dict[str, Index[Any]] | dict[Unknown | str, Unknown | Index[Any]]`
[error] invalid-argument-type - :87:43 - Argument to bound method `from_tree` is incorrect: Expected `dict[Hashable, Divergent]`, found `dict[str, Index[Any]]`
[error] invalid-argument-type - :88:43 - Argument to bound method `from_tree` is incorrect: Expected `dict[Hashable, Divergent]`, found `dict[str, Index[Any]]`
[error] invalid-argument-type - :89:43 - Argument to bound method `from_tree` is incorrect: Expected `dict[Hashable, Divergent]`, found `dict[str, Index[Any]]`
[error] invalid-argument-type - :100:53 - Argument to bound method `compare_trees` is incorrect: Expected `dict[Hashable, Divergent]`, found `dict[str, dict[str, Index[Any]]]`

static_frame/test/unit/test_index_hierarchy.py

[error] invalid-argument-type - :1938:47 - Argument to bound method `from_tree` is incorrect: Expected `dict[Hashable, Divergent]`, found `dict[str, tuple[int, int, int]]`
[error] invalid-argument-type - :1939:45 - Argument to bound method `from_tree` is incorrect: Expected `dict[Hashable, Divergent]`, found `dict[str, tuple[int, int, int]]`

static_frame/test/unit/test_reduce.py

[error] invalid-argument-type - :862:76 - Argument to function `_derive_row_dtype_array` is incorrect: Expected `list[tuple[int | integer[Any], @Todo]]`, found `tuple[tuple[Literal[0], Overload[(a: @Todo, axis: None = EllipsisType, dtype: None = EllipsisType, out: None = EllipsisType, keepdims: Literal[False] = EllipsisType, initial: @Todo = EllipsisType, where: @Todo = EllipsisType) -> _ScalarT@sum, (a: @Todo, axis: None = EllipsisType, dtype: None = EllipsisType, out: None = EllipsisType, keepdims: bool = EllipsisType, initial: @Todo = EllipsisType, where: @Todo = EllipsisType) -> _ScalarT@sum | @Todo, (a: @Todo, axis: None, dtype: @Todo, out: None = EllipsisType, keepdims: Literal[False] = EllipsisType, initial: @Todo = EllipsisType, where: @Todo = EllipsisType) -> _ScalarT@sum, (a: @Todo, axis: None = EllipsisType, *, dtype: @Todo, out: None = EllipsisType, keepdims: Literal[False] = EllipsisType, initial: @Todo = EllipsisType, where: @Todo = EllipsisType) -> _ScalarT@sum, (a: @Todo, axis: @Todo | None, dtype: @Todo, out: None = EllipsisType, keepdims: bool = EllipsisType, initial: @Todo = EllipsisType, where: @Todo = EllipsisType) -> _ScalarT@sum | @Todo, (a: @Todo, axis: @Todo | None = EllipsisType, *, dtype: @Todo, out: None = EllipsisType, keepdims: bool = EllipsisType, initial: @Todo = EllipsisType, where: @Todo = EllipsisType) -> _ScalarT@sum | @Todo, (a: @Todo, axis: @Todo | None = EllipsisType, dtype: @Todo = EllipsisType, out: None = EllipsisType, keepdims: bool = EllipsisType, initial: @Todo = EllipsisType, where: @Todo = EllipsisType) -> Any, (a: @Todo, axis: @Todo | None, dtype: @Todo, out: _ArrayT@sum, keepdims: bool = EllipsisType, initial: @Todo = EllipsisType, where: @Todo = EllipsisType) -> _ArrayT@sum, (a: @Todo, axis: @Todo | None = EllipsisType, dtype: @Todo = EllipsisType, *, out: _ArrayT@sum, keepdims: bool = EllipsisType, initial: @Todo = EllipsisType, where: @Todo = EllipsisType) -> _ArrayT@sum]]]`
[error] invalid-argument-type - :869:43 - Argument to function `_derive_row_dtype_array` is incorrect: Expected `list[tuple[int | integer[Any], @Todo]]`, found `tuple[tuple[Literal[0], Overload[(a: @Todo, axis: None = EllipsisType, dtype: None = EllipsisType, out: None = EllipsisType, keepdims: Literal[False] = EllipsisType, initial: @Todo = EllipsisType, where: @Todo = EllipsisType) -> _ScalarT@sum, (a: @Todo, axis: None = EllipsisType, dtype: None = EllipsisType, out: None = EllipsisType, keepdims: bool = EllipsisType, initial: @Todo = EllipsisType, where: @Todo = EllipsisType) -> _ScalarT@sum | @Todo, (a: @Todo, axis: None, dtype: @Todo, out: None = EllipsisType, keepdims: Literal[False] = EllipsisType, initial: @Todo = EllipsisType, where: @Todo = EllipsisType) -> _ScalarT@sum, (a: @Todo, axis: None = EllipsisType, *, dtype: @Todo, out: None = EllipsisType, keepdims: Literal[False] = EllipsisType, initial: @Todo = EllipsisType, where: @Todo = EllipsisType) -> _ScalarT@sum, (a: @Todo, axis: @Todo | None, dtype: @Todo, out: None = EllipsisType, keepdims: bool = EllipsisType, initial: @Todo = EllipsisType, where: @Todo = EllipsisType) -> _ScalarT@sum | @Todo, (a: @Todo, axis: @Todo | None = EllipsisType, *, dtype: @Todo, out: None = EllipsisType, keepdims: bool = EllipsisType, initial: @Todo = EllipsisType, where: @Todo = EllipsisType) -> _ScalarT@sum | @Todo, (a: @Todo, axis: @Todo | None = EllipsisType, dtype: @Todo = EllipsisType, out: None = EllipsisType, keepdims: bool = EllipsisType, initial: @Todo = EllipsisType, where: @Todo = EllipsisType) -> Any, (a: @Todo, axis: @Todo | None, dtype: @Todo, out: _ArrayT@sum, keepdims: bool = EllipsisType, initial: @Todo = EllipsisType, where: @Todo = EllipsisType) -> _ArrayT@sum, (a: @Todo, axis: @Todo | None = EllipsisType, dtype: @Todo = EllipsisType, *, out: _ArrayT@sum, keepdims: bool = EllipsisType, initial: @Todo = EllipsisType, where: @Todo = EllipsisType) -> _ArrayT@sum]], tuple[Literal[1], Overload[(a: @Todo | None, axis: None = None, out: None = None, keepdims: Literal[False, 0] | _NoValueType = EllipsisType, *, where: @Todo | _NoValueType = EllipsisType) -> bool[bool], (a: @Todo | None, axis: int | tuple[int, ...] | None = None, out: None = None, keepdims: @Todo | _NoValueType = EllipsisType, *, where: @Todo | _NoValueType = EllipsisType) -> @Todo, (a: @Todo | None, axis: int | tuple[int, ...] | None, out: _ArrayT@all, keepdims: @Todo | _NoValueType = EllipsisType, *, where: @Todo | _NoValueType = EllipsisType) -> _ArrayT@all, (a: @Todo | None, axis: int | tuple[int, ...] | None = None, *, out: _ArrayT@all, keepdims: @Todo | _NoValueType = EllipsisType, where: @Todo | _NoValueType = EllipsisType) -> _ArrayT@all]]]`

strawberry (https://github.com/strawberry-graphql/strawberry)

strawberry/permission.py

[warning] possibly-missing-attribute - :103:13 - Attribute `update` may be missing on object of type `Any | None`

strawberry/schema/schema.py

[warning] unused-ignore-comment - :974:79 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :975:77 - Unused blanket `type: ignore` directive