Summary

Comparing branches/commits:
Old: main (merge base) 99694b6e
New: 21421/merge f90e5ecd
Lint Rule Removed Added Changed
Total 71 10 1
invalid-type-form 57 1 0
unused-ignore-comment 10 0 0
unsupported-operator 4 1 0
invalid-argument-type 0 3 1
unknown-argument 0 2 0
invalid-parameter-default 0 1 0
invalid-return-type 0 1 0
unresolved-attribute 0 1 0

Tanjun (https://github.com/FasterSpeeding/Tanjun)

tanjun/annotations.py

[error] invalid-type-form - :389:42 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :414:45 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :600:41 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :615:41 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :629:41 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :2263:21 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :2263:62 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :2276:38 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :2276:72 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :2289:53 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :2371:50 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-argument-type - :2268:56 - Argument to bound method `__init__` is incorrect: Expected `type[PartialChannel] | int`, found `object`
[error] invalid-argument-type - :2268:56 - Argument to bound method `__init__` is incorrect: Expected `type[PartialChannel] | int`, found `object`

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

beartype/_data/typing/datatyping.py

[error] unresolved-attribute - :671:6 - Object of type `object` has no attribute `forward`

beartype/_check/error/errmain.py

[error] unknown-argument - :591:13 - Argument `message` does not match any known parameter of bound method `__init__`
[error] unknown-argument - :592:13 - Argument `culprits` does not match any known parameter of bound method `__init__`
[warning] unused-ignore-comment - :399:42 - Unused blanket `type: ignore` directive

beartype/_decor/decorcore.py

[warning] unused-ignore-comment - :216:82 - Unused blanket `type: ignore` directive

beartype/bite/_infermain.py

[error] invalid-type-form - :238:21 - Variable of type `Never` is not allowed in a type expression

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

src/bokeh/embed/standalone.py

[error] invalid-type-form - :137:49 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :140:12 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :144:49 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :147:12 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :151:49 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :154:12 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :157:52 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :299:22 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :370:62 - Variable of type `UnionType` is not allowed in a type expression

django-stubs (https://github.com/typeddjango/django-stubs)

django-stubs/test/utils.pyi

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

more-itertools (https://github.com/more-itertools/more-itertools)

more_itertools/more.pyi

[error] invalid-type-form - :219:16 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :220:15 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :222:23 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :642:42 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :646:52 - Variable of type `UnionType` is not allowed in a type expression

mypy (https://github.com/python/mypy)

mypy/typeshed/stdlib/contextlib.pyi

[error] unsupported-operator - :41:34 - Operator `|` is unsupported between objects of type `GenericAlias` and `None`
[error] unsupported-operator - :178:6 - Operator `|` is unsupported between objects of type `GenericAlias` and `None`

mypy/typeshed/stdlib/inspect.pyi

[error] unsupported-operator - :282:5 - Operator `|` is unsupported between objects of type `<class 'ModuleType'>` and `GenericAlias`

mypy/typeshed/stdlib/marshal.pyi

[error] unsupported-operator - :12:5 - Operator `|` is unsupported between objects of type `None` and `GenericAlias`

pandas (https://github.com/pandas-dev/pandas)

pandas/_typing.py

[error] invalid-type-form - :208:44 - Variable of type `UnionType` is not allowed in a type expression

pandas-stubs (https://github.com/pandas-dev/pandas-stubs)

pandas-stubs/_typing.pyi

[error] invalid-type-form - :507:49 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :527:56 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :527:64 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :927:26 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :929:26 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :930:40 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :932:28 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :934:36 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :935:26 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :948:5 - Variable of type `UnionType` is not allowed in a type expression

pandas-stubs/core/series.pyi

[error] invalid-argument-type - :338:57 - Argument to class `IndexOpsMixin` is incorrect: Expected `str | bytes | int | ... omitted 12 union elements`, found `typing.TypeVar`

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

pydantic/v1/class_validators.py

[warning] unused-ignore-comment - :356:74 - Unused blanket `type: ignore` directive

pydantic/v1/error_wrappers.py

[warning] unused-ignore-comment - :61:49 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :63:68 - Unused blanket `type: ignore` directive

pydantic/v1/config.py

[error] invalid-return-type - :183:12 - Return type does not match returned value: expected `type[BaseConfig]`, found `type`

pydantic/v1/main.py

[error] invalid-parameter-default - :1037:55 - Default value of type `None` is not assignable to annotated parameter type `type[BaseModel] | type[Dataclass]`

pytest (https://github.com/pytest-dev/pytest)

src/_pytest/_code/code.py

[error] invalid-type-form - :676:34 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :789:29 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :818:29 - Variable of type `UnionType` is not allowed in a type expression

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

static_frame/core/container_util.py

[warning] unused-ignore-comment - :538:77 - Unused blanket `type: ignore` directive
[error] invalid-argument-type - :502:17 -
Old: Argument to function `to_index` is incorrect: Expected `Iterable[Hashable]`, found `(Iterable[Hashable] & ~IndexAutoFactory) | (@Todo & ~IndexAutoFactory) | None`
New: Argument to function `to_index` is incorrect: Expected `Iterable[Hashable]`, found `(Iterable[Hashable] & ~IndexAutoFactory) | type[IndexAutoFactory] | None`

static_frame/core/index.py

[error] unsupported-operator - :995:32 - Operator `in` is not supported for types `Any` and `type[IndexAutoFactory]`, in comparing `Any` with `(@Todo & ~(() -> object)) | (Iterable[Hashable] & ~(() -> object)) | (type[IndexAutoFactory] & ~(() -> object))`

static_frame/core/index_hierarchy.py

[warning] unused-ignore-comment - :1879:77 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :1901:49 - Unused blanket `type: ignore` directive

static_frame/core/series.py

[warning] unused-ignore-comment - :1240:33 - Unused blanket `type: ignore` directive

trio (https://github.com/python-trio/trio)

src/trio/_core/_traps.py

[error] invalid-type-form - :67:10 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :68:16 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :75:16 - Variable of type `UnionType` is not allowed in a type expression

src/trio/_tests/test_path.py

[error] invalid-type-form - :56:23 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :56:39 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :64:27 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :64:50 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :82:27 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :82:42 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :91:27 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :91:49 - Variable of type `UnionType` is not allowed in a type expression
[warning] unused-ignore-comment - :94:21 - Unused blanket `type: ignore` directive
[error] invalid-type-form - :106:12 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :107:12 - Variable of type `UnionType` is not allowed in a type expression

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

analytics/views/stats.py

[error] invalid-type-form - :349:30 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :363:15 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :363:34 - Variable of type `UnionType` is not allowed in a type expression
[error] invalid-type-form - :363:70 - Variable of type `UnionType` is not allowed in a type expression