[ty] Generally silence diagnostics in unreachable code#23940
[ty] Generally silence diagnostics in unreachable code#23940
Conversation
Typing conformance results improved 🎉The percentage of diagnostics emitted that were expected errors increased from 86.32% to 86.41%. The percentage of expected errors that received a diagnostic held steady at 80.30%. The number of fully passing files improved from 67/133 to 68/133. SummaryHow are test cases classified?Each test case represents one expected error annotation or a group of annotations sharing a tag. Counts are per test case, not per diagnostic — multiple diagnostics on the same line count as one. Required annotations (
Test file breakdown1 file altered
False positives removed (1)1 diagnostic
|
|
Memory usage reportSummary
Significant changesClick to expand detailed breakdownprefect
sphinx
trio
flake8
|
|
| Lint rule | Added | Removed | Changed |
|---|---|---|---|
invalid-key |
0 | 302 | 0 |
invalid-await |
40 | 0 | 0 |
invalid-type-form |
0 | 39 | 0 |
invalid-type-arguments |
0 | 26 | 0 |
invalid-argument-type |
0 | 16 | 0 |
invalid-return-type |
1 | 15 | 0 |
unresolved-attribute |
0 | 16 | 0 |
invalid-method-override |
0 | 15 | 0 |
invalid-yield |
0 | 14 | 0 |
unknown-argument |
0 | 11 | 0 |
possibly-missing-import |
0 | 10 | 0 |
empty-body |
0 | 8 | 0 |
invalid-parameter-default |
0 | 8 | 0 |
call-non-callable |
0 | 7 | 0 |
invalid-assignment |
0 | 4 | 0 |
too-many-positional-arguments |
0 | 4 | 0 |
unsupported-operator |
0 | 4 | 0 |
unused-ignore-comment |
4 | 0 | 0 |
unused-type-ignore-comment |
3 | 0 | 0 |
deprecated |
0 | 2 | 0 |
invalid-super-argument |
0 | 2 | 0 |
invalid-legacy-type-variable |
0 | 1 | 0 |
no-matching-overload |
0 | 1 | 0 |
not-iterable |
0 | 1 | 0 |
unused-awaitable |
0 | 1 | 0 |
| Total | 48 | 507 | 0 |
Changes in flaky projects detected. Raw diff output excludes flaky projects; see the HTML report for details.
Showing a random sample of 508 of 514 changes. See the HTML report for the full diff.
Raw diff sample (508 of 514 changes)
DateType (https://github.com/glyph/DateType)
- src/datetype/__init__.py:522:20 error[invalid-return-type] Return type does not match returned value: expected `DateTime[tzinfo | None]`, found `datetime`
Expression (https://github.com/cognitedata/Expression)
- tests/test_seq_builder.py:186:9 error[invalid-yield] Yield type `None` does not match annotated yield type `Iterable[int]`
- expression/core/option.py:308:15 error[invalid-yield] Yield type `None` does not match annotated yield type `_TSourceOut@Option`
- expression/core/result.py:267:15 error[invalid-yield] Yield type `None` does not match annotated yield type `_TSourceOut@Result`
- tests/test_option_builder.py:218:9 error[invalid-yield] Yield type `None` does not match annotated yield type `Option[int]`
- tests/test_result_builder.py:221:9 error[invalid-yield] Yield type `None` does not match annotated yield type `Result[int, str]`
aiohttp (https://github.com/aio-libs/aiohttp)
- aiohttp/client.py:460:14 error[empty-body] Function always implicitly returns `None`, which is not assignable to return type `_BaseRequestContextManager[ClientResponse]`
- aiohttp/client.py:1302:14 error[empty-body] Function always implicitly returns `None`, which is not assignable to return type `_BaseRequestContextManager[ClientResponse]`
- aiohttp/client.py:1308:14 error[empty-body] Function always implicitly returns `None`, which is not assignable to return type `_BaseRequestContextManager[ClientResponse]`
- aiohttp/client.py:1314:14 error[empty-body] Function always implicitly returns `None`, which is not assignable to return type `_BaseRequestContextManager[ClientResponse]`
- aiohttp/client.py:1320:14 error[empty-body] Function always implicitly returns `None`, which is not assignable to return type `_BaseRequestContextManager[ClientResponse]`
- aiohttp/client.py:1326:14 error[empty-body] Function always implicitly returns `None`, which is not assignable to return type `_BaseRequestContextManager[ClientResponse]`
- aiohttp/client.py:1332:14 error[empty-body] Function always implicitly returns `None`, which is not assignable to return type `_BaseRequestContextManager[ClientResponse]`
- aiohttp/client.py:1338:14 error[empty-body] Function always implicitly returns `None`, which is not assignable to return type `_BaseRequestContextManager[ClientResponse]`
- aiohttp/cookiejar.py:592:19 error[invalid-yield] Yield type `None` does not match annotated yield type `Morsel[str]`
altair (https://github.com/vega/altair)
- altair/datasets/_constraints.py:57:16 error[invalid-return-type] Return type does not match returned value: expected `Metadata`, found `dict[Unknown, Unknown]`
- altair/vegalite/v6/api.py:4129:19 error[invalid-super-argument] `type[_TSchemaBase@from_dict]` is not an instance or subclass of `<class 'Chart'>` in `super(<class 'Chart'>, type[_TSchemaBase@from_dict])` call
anyio (https://github.com/agronholm/anyio)
- src/anyio/_core/_fileio.py:412:51 error[unknown-argument] Argument `case_sensitive` does not match any known parameter of bound method `match`
- src/anyio/_core/_fileio.py:501:44 error[unknown-argument] Argument `case_sensitive` does not match any known parameter of bound method `glob`
- src/anyio/_core/_fileio.py:515:17 error[invalid-argument-type] Argument to bound method `glob` is incorrect: Expected `str`, found `str | PathLike[str]`
- src/anyio/_core/_fileio.py:516:17 error[unknown-argument] Argument `case_sensitive` does not match any known parameter of bound method `glob`
- src/anyio/_core/_fileio.py:517:17 error[unknown-argument] Argument `recurse_symlinks` does not match any known parameter of bound method `glob`
- src/anyio/_core/_fileio.py:654:57 error[unknown-argument] Argument `walk_up` does not match any known parameter of bound method `relative_to`
- src/anyio/_core/_fileio.py:694:45 error[unknown-argument] Argument `case_sensitive` does not match any known parameter of bound method `rglob`
- src/anyio/_core/_fileio.py:708:17 error[invalid-argument-type] Argument to bound method `rglob` is incorrect: Expected `str`, found `str | PathLike[str]`
- src/anyio/_core/_fileio.py:709:17 error[unknown-argument] Argument `case_sensitive` does not match any known parameter of bound method `rglob`
- src/anyio/_core/_fileio.py:710:17 error[unknown-argument] Argument `recurse_symlinks` does not match any known parameter of bound method `rglob`
beartype (https://github.com/beartype/beartype)
- beartype/_util/error/utilerrwarn.py:88:9 error[no-matching-overload] No overload of function `warn` matches arguments
- beartype/claw/_importlib/_clawimpload.py:478:21 error[unknown-argument] Argument `fullname` does not match any known parameter of bound method `source_to_code`
core (https://github.com/home-assistant/core)
- homeassistant/components/icloud/services.py:105:16 error[invalid-return-type] Return type does not match returned value: expected `IcloudAccount`, found `None`
- homeassistant/components/entur_public_transport/sensor.py:71:16 error[invalid-return-type] Return type does not match returned value: expected `int`, found `None`
dd-trace-py (https://github.com/DataDog/dd-trace-py)
- ddtrace/internal/coverage/instrumentation_py3_11.py:172:27 error[unsupported-operator] Operator `<<` is not supported between objects of type `int | None` and `Literal[1]`
- ddtrace/internal/coverage/instrumentation_py3_11.py:336:46 error[invalid-argument-type] Argument to bound method `from_bytes` is incorrect: Expected `Iterable[SupportsIndex] | SupportsBytes | Buffer`, found `list[bytes | Unknown]`
- ddtrace/internal/coverage/instrumentation_py3_12.py:218:46 error[invalid-argument-type] Argument to bound method `from_bytes` is incorrect: Expected `Iterable[SupportsIndex] | SupportsBytes | Buffer`, found `list[bytes | Unknown]`
- ddtrace/internal/coverage/instrumentation_py3_12.py:243:21 error[invalid-assignment] Invalid subscript assignment with key of type `int` and value of type `tuple[None | str, tuple[str, ...]]` on object of type `dict[int, tuple[str, tuple[str, ...]]]`
- ddtrace/internal/coverage/instrumentation_py3_12.py:248:21 error[invalid-assignment] Invalid subscript assignment with key of type `int` and value of type `tuple[None | str, tuple[str]]` on object of type `dict[int, tuple[str, tuple[str, ...]]]`
- ddtrace/internal/products.py:27:34 error[unknown-argument] Argument `group` does not match any known parameter of function `entry_points`
- ddtrace/internal/safety.py:64:24 error[invalid-super-argument] `Never` is not a valid class
- ddtrace/vendor/psutil/__init__.py:928:20 error[unresolved-attribute] Attribute `num_handles` is not defined on `Process` in union `Unknown | Process`
discord.py (https://github.com/Rapptz/discord.py)
- discord/ext/commands/converter.py:1235:89 error[unresolved-attribute] Attribute `name` is not defined on `None` in union `Parameter | None`
kopf (https://github.com/nolar/kopf)
- kopf/_cogs/structs/dicts.py:261:28 error[invalid-yield] Send type `Never` does not match annotated send type `None`
mkosi (https://github.com/systemd/mkosi)
- mkosi/sandbox.py:601:12 error[unsupported-operator] Operator `|` is not supported between objects of type `<class 'dict[str, dict[str, Divergent] | list[Divergent] | str | ... omitted 3 union elements]'>` and `<class 'list[dict[str, Divergent] | list[Divergent] | str | ... omitted 3 union elements]'>`
- mkosi/sandbox.py:602:10 error[unsupported-operator] Operator `|` is not supported between objects of type `<class 'int'>` and `<class 'tuple[str, int]'>`
mongo-python-driver (https://github.com/mongodb/mongo-python-driver)
- bson/codec_options.py:397:45 error[invalid-argument-type] Argument to function `issubclass` is incorrect: Expected `type`, found `object`
mypy (https://github.com/python/mypy)
- mypy/typeshed/stdlib/annotationlib.pyi:59:29 error[invalid-type-form] Type arguments for `Literal` must be `None`, a literal value (int, bool, str, or bytes), or an enum member
- mypy/typeshed/stdlib/annotationlib.pyi:69:29 error[invalid-type-form] Type arguments for `Literal` must be `None`, a literal value (int, bool, str, or bytes), or an enum member
- mypy/typeshed/stdlib/annotationlib.pyi:100:72 error[invalid-type-form] Type arguments for `Literal` must be `None`, a literal value (int, bool, str, or bytes), or an enum member
- mypy/typeshed/stdlib/annotationlib.pyi:103:49 error[invalid-type-form] Type arguments for `Literal` must be `None`, a literal value (int, bool, str, or bytes), or an enum member
- mypy/typeshed/stdlib/annotationlib.pyi:109:49 error[invalid-type-form] Type arguments for `Literal` must be `None`, a literal value (int, bool, str, or bytes), or an enum member
- mypy/typeshed/stdlib/annotationlib.pyi:113:49 error[invalid-type-form] Type arguments for `Literal` must be `None`, a literal value (int, bool, str, or bytes), or an enum member
- mypy/typeshed/stdlib/annotationlib.pyi:125:25 error[invalid-type-form] Type arguments for `Literal` must be `None`, a literal value (int, bool, str, or bytes), or an enum member
- mypy/typeshed/stdlib/annotationlib.pyi:134:25 error[invalid-type-form] Type arguments for `Literal` must be `None`, a literal value (int, bool, str, or bytes), or an enum member
- mypy/typeshed/stdlib/asyncio/tasks.pyi:450:34 error[invalid-argument-type] `Never` is not a valid argument to `Protocol`
- mypy/typeshed/stdlib/asyncio/tasks.pyi:463:33 error[invalid-argument-type] `Never` is not a valid argument to `Protocol`
- mypy/typeshed/stdlib/concurrent/interpreters/__init__.pyi:67:43 error[invalid-type-form] The first argument to `Callable` must be either a list of types, ParamSpec, Concatenate, or `...`
- mypy/typeshed/stdlib/concurrent/interpreters/__init__.pyi:68:53 error[invalid-type-form] The first argument to `Callable` must be either a list of types, ParamSpec, Concatenate, or `...`
- mypy/typeshed/stdlib/encodings/mbcs.pyi:16:13 error[invalid-method-override] Invalid override of method `_buffer_decode`: Definition is incompatible with `BufferedIncrementalDecoder._buffer_decode`
- mypy/typeshed/stdlib/encodings/mbcs.pyi:21:13 error[invalid-method-override] Invalid override of method `encode`: Definition is incompatible with `Codec.encode`
- mypy/typeshed/stdlib/encodings/mbcs.pyi:26:13 error[invalid-method-override] Invalid override of method `decode`: Definition is incompatible with `Codec.decode`
- mypy/typeshed/stdlib/encodings/oem.pyi:16:13 error[invalid-method-override] Invalid override of method `_buffer_decode`: Definition is incompatible with `BufferedIncrementalDecoder._buffer_decode`
- mypy/typeshed/stdlib/encodings/oem.pyi:21:13 error[invalid-method-override] Invalid override of method `encode`: Definition is incompatible with `Codec.encode`
- mypy/typeshed/stdlib/encodings/oem.pyi:26:13 error[invalid-method-override] Invalid override of method `decode`: Definition is incompatible with `Codec.decode`
- mypy/typeshed/stdlib/asyncio/unix_events.pyi:106:21 error[invalid-method-override] Invalid override of method `__exit__`: Definition is incompatible with `AbstractChildWatcher.__exit__`
- mypy/typeshed/stdlib/asyncio/unix_events.pyi:117:21 error[invalid-method-override] Invalid override of method `__exit__`: Definition is incompatible with `AbstractChildWatcher.__exit__`
- mypy/typeshed/stdlib/asyncio/unix_events.pyi:199:21 error[invalid-method-override] Invalid override of method `__exit__`: Definition is incompatible with `AbstractChildWatcher.__exit__`
- mypy/typeshed/stdlib/builtins.pyi:235:68 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 2
- mypy/typeshed/stdlib/builtins.pyi:235:68 error[invalid-type-form] `...` is not allowed in this context in a type expression
- mypy/typeshed/stdlib/builtins.pyi:275:94 error[invalid-parameter-default] Default value of type `Literal[False]` is not assignable to annotated parameter type `bool`
- mypy/typeshed/stdlib/builtins.pyi:283:13 error[invalid-parameter-default] Default value of type `Literal[False]` is not assignable to annotated parameter type `bool`
- mypy/typeshed/stdlib/builtins.pyi:995:68 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 2
- mypy/typeshed/stdlib/builtins.pyi:995:68 error[invalid-type-form] `...` is not allowed in this context in a type expression
- mypy/typeshed/stdlib/builtins.pyi:1004:36 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 2
- mypy/typeshed/stdlib/builtins.pyi:1004:36 error[invalid-type-form] `...` is not allowed in this context in a type expression
- mypy/typeshed/stdlib/builtins.pyi:1005:38 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 2
- mypy/typeshed/stdlib/builtins.pyi:1386:34 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 2
- mypy/typeshed/stdlib/builtins.pyi:1386:34 error[invalid-type-form] `...` is not allowed in this context in a type expression
- mypy/typeshed/stdlib/builtins.pyi:1396:34 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 2
- mypy/typeshed/stdlib/builtins.pyi:1396:34 error[invalid-type-form] `...` is not allowed in this context in a type expression
- mypy/typeshed/stdlib/builtins.pyi:1464:54 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 2
- mypy/typeshed/stdlib/builtins.pyi:1464:54 error[invalid-type-form] `...` is not allowed in this context in a type expression
- mypy/typeshed/stdlib/builtins.pyi:1478:84 error[invalid-parameter-default] Default value of type `Literal[False]` is not assignable to annotated parameter type `bool`
- mypy/typeshed/stdlib/builtins.pyi:1481:103 error[invalid-parameter-default] Default value of type `Literal[False]` is not assignable to annotated parameter type `bool`
- mypy/typeshed/stdlib/builtins.pyi:1492:13 error[invalid-parameter-default] Default value of type `Literal[False]` is not assignable to annotated parameter type `bool`
- mypy/typeshed/stdlib/builtins.pyi:1504:13 error[invalid-parameter-default] Default value of type `Literal[False]` is not assignable to annotated parameter type `bool`
- mypy/typeshed/stdlib/builtins.pyi:1517:13 error[invalid-parameter-default] Default value of type `Literal[False]` is not assignable to annotated parameter type `bool`
- mypy/typeshed/stdlib/builtins.pyi:1531:13 error[invalid-parameter-default] Default value of type `Literal[False]` is not assignable to annotated parameter type `bool`
- mypy/typeshed/stdlib/builtins.pyi:1899:91 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 2
- mypy/typeshed/stdlib/builtins.pyi:1901:113 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 3
- mypy/typeshed/stdlib/builtins.pyi:1905:29 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 4
- mypy/typeshed/stdlib/builtins.pyi:1909:29 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 5
- mypy/typeshed/stdlib/builtins.pyi:1921:29 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 2
- mypy/typeshed/stdlib/builtins.pyi:1921:29 error[invalid-type-form] `...` is not allowed in this context in a type expression
- mypy/typeshed/stdlib/builtins.pyi:2164:45 error[invalid-argument-type] `Never` is not a valid argument to `Generic`
- mypy/typeshed/stdlib/builtins.pyi:2170:100 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 2
- mypy/typeshed/stdlib/builtins.pyi:2170:100 error[invalid-type-form] `...` is not allowed in this context in a type expression
- mypy/typeshed/stdlib/builtins.pyi:2173:79 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 2
- mypy/typeshed/stdlib/builtins.pyi:2173:79 error[invalid-type-form] `...` is not allowed in this context in a type expression
- mypy/typeshed/stdlib/builtins.pyi:2177:87 error[invalid-type-form] `...` is not allowed in this context in a type expression
- mypy/typeshed/stdlib/builtins.pyi:2185:79 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 2
- mypy/typeshed/stdlib/builtins.pyi:2185:79 error[invalid-type-form] `...` is not allowed in this context in a type expression
- mypy/typeshed/stdlib/builtins.pyi:2186:56 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 2
- mypy/typeshed/stdlib/builtins.pyi:2189:87 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 2
- mypy/typeshed/stdlib/builtins.pyi:2189:87 error[invalid-type-form] `...` is not allowed in this context in a type expression
- mypy/typeshed/stdlib/builtins.pyi:2190:64 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 2
- mypy/typeshed/stdlib/builtins.pyi:2194:67 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 2
- mypy/typeshed/stdlib/builtins.pyi:2206:88 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 2
- mypy/typeshed/stdlib/builtins.pyi:2206:88 error[invalid-type-form] `...` is not allowed in this context in a type expression
- mypy/typeshed/stdlib/builtins.pyi:2210:79 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 2
- mypy/typeshed/stdlib/builtins.pyi:2210:79 error[invalid-type-form] `...` is not allowed in this context in a type expression
- mypy/typeshed/stdlib/builtins.pyi:2218:79 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 2
- mypy/typeshed/stdlib/builtins.pyi:2218:79 error[invalid-type-form] `...` is not allowed in this context in a type expression
- mypy/typeshed/stdlib/builtins.pyi:2219:56 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 2
- mypy/typeshed/stdlib/builtins.pyi:2223:59 error[invalid-type-arguments] Too many type arguments to class `tuple`: expected 1, got 2
- mypy/typeshed/stdlib/contextlib.pyi:221:53 error[invalid-argument-type] `Never` is not a valid argument to `Generic`
- mypy/typeshed/stdlib/importlib/abc.pyi:97:26 warning[deprecated] The class `Finder` is deprecated: Deprecated since Python 3.3; removed in Python 3.12. Use `MetaPathFinder` or `PathEntryFinder` instead.
- mypy/typeshed/stdlib/importlib/abc.pyi:105:27 warning[deprecated] The class `Finder` is deprecated: Deprecated since Python 3.3; removed in Python 3.12. Use `MetaPathFinder` or `PathEntryFinder` instead.
- mypy/typeshed/stdlib/multiprocessing/managers.pyi:96:13 error[invalid-method-override] Invalid override of method `keys`: Definition is incompatible with `Mapping.keys`
- mypy/typeshed/stdlib/multiprocessing/managers.pyi:97:13 error[invalid-method-override] Invalid override of method `items`: Definition is incompatible with `Mapping.items`
- mypy/typeshed/stdlib/multiprocessing/managers.pyi:98:13 error[invalid-method-override] Invalid override of method `values`: Definition is incompatible with `Mapping.values`
- mypy/typeshed/stdlib/turtle.pyi:169:13 error[invalid-method-override] Invalid override of method `__add__`: Definition is incompatible with `tuple.__add__`
- mypy/typeshed/stdlib/turtle.pyi:174:13 error[invalid-method-override] Invalid override of method `__rmul__`: Definition is incompatible with `tuple.__rmul__`
- mypy/typeshed/stdlib/typing.pyi:415:44 error[invalid-type-form] Invalid subscript of object of type `_SpecialForm` in type expression
- mypy/typeshed/stdlib/typing.pyi:415:65 error[invalid-type-form] Invalid subscript of object of type `_SpecialForm` in type expression
- mypy/typeshed/stdlib/typing.pyi:996:29 error[invalid-type-form] Invalid subscript of object of type `_SpecialForm` in type expression
- mypy/typeshed/stdlib/typing.pyi:996:38 error[invalid-type-form] `...` is not allowed in this context in a type expression
- mypy/typeshed/stdlib/typing.pyi:996:64 error[invalid-type-form] Invalid subscript of object of type `_SpecialForm` in type expression
- mypy/typeshed/stdlib/typing.pyi:996:73 error[invalid-type-form] `...` is not allowed in this context in a type expression
- mypy/typeshed/stdlib/typing.pyi:1003:45 error[invalid-type-form] Invalid subscript of object of type `_SpecialForm` in type expression
- mypy/typeshed/stdlib/typing.pyi:1003:54 error[invalid-type-form] `...` is not allowed in this context in a type expression
- mypy/typeshed/stdlib/typing.pyi:1016:25 error[invalid-type-form] Invalid subscript of object of type `_SpecialForm` in type expression
- mypy/typeshed/stdlib/typing.pyi:1041:25 error[invalid-type-form] Invalid subscript of object of type `_SpecialForm` in type expression
- mypy/typeshed/stdlib/typing.pyi:1043:28 error[invalid-type-form] Invalid subscript of object of type `_SpecialForm` in type expression
- mypy/typeshed/stdlib/typing.pyi:1044:27 error[invalid-type-form] Invalid subscript of object of type `_SpecialForm` in type expression
mypy_primer (https://github.com/hauntsaninja/mypy_primer)
- mypy_primer/utils.py:32:16 error[invalid-assignment] Object of type `str` is not assignable to `Path`
- mypy_primer/utils.py:33:16 error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Path`
- mypy_primer/utils.py:37:16 error[unsupported-operator] Operator `+` is not supported between objects of type `Literal["\""]` and `Path`
paasta (https://github.com/yelp/paasta)
- paasta_tools/cli/cmds/spark_run.py:1183:9 error[invalid-return-type] Return type does not match returned value: expected `int`, found `None`
packaging (https://github.com/pypa/packaging)
- src/packaging/version.py:38:38 error[invalid-type-form] `[...]` is not a valid parameter list for `Callable`: Did you mean `Callable[..., object]`?
pandera (https://github.com/pandera-dev/pandera)
- tests/io/test_pandas_io.py:2142:36 warning[possibly-missing-import] Member `Series` of module `pandera.typing` may be missing
pegen (https://github.com/we-like-parsers/pegen)
- src/pegen/grammar.py:399:13 error[invalid-yield] Yield type `None` does not match annotated yield type `tuple[str, str]`
pip (https://github.com/pypa/pip)
- src/pip/_vendor/urllib3/packages/six.py:614:44 error[too-many-positional-arguments] Too many positional arguments to function `__new__`: expected 3, got 4
- src/pip/_vendor/urllib3/packages/six.py:617:45 error[too-many-positional-arguments] Too many positional arguments to function `__new__`: expected 3, got 4
psycopg (https://github.com/psycopg/psycopg)
- psycopg/psycopg/_compat.py:47:13 error[invalid-yield] Yield type `None` does not match annotated yield type `str | Interpolation`
- psycopg_pool/psycopg_pool/pool_async.py:140:13 warning[unused-awaitable] Object of type `CoroutineType[Any, Any, None]` is not awaited
- psycopg_pool/psycopg_pool/pool_async.py:140:22 error[not-iterable] Object of type `CoroutineType[Any, Any, list[Task[None]]]` is not iterable
pwndbg (https://github.com/pwndbg/pwndbg)
- pwndbg/aglib/memory.py:307:16 error[invalid-return-type] Return type does not match returned value: expected `Value`, found `None`
pydantic (https://github.com/pydantic/pydantic)
- pydantic/_internal/_config.py:156:41 error[invalid-key] TypedDict `ConfigDict` can only be subscripted with a string literal key, got key of type `str`
- pydantic/_internal/_config.py:159:44 error[invalid-key] TypedDict `ConfigDict` can only be subscripted with a string literal key, got key of type `str`
- pydantic/functional_serializers.py:457:36 error[call-non-callable] Object of type `GenericAlias` is not callable
- pydantic/functional_validators.py:781:20 error[invalid-return-type] Return type does not match returned value: expected `AnyType@__class_getitem__`, found `<special-form 'typing.Annotated[Unknown, <metadata>]'>`
- pydantic/functional_validators.py:824:36 error[call-non-callable] Object of type `GenericAlias` is not callable
- pydantic/json_schema.py:2843:20 error[invalid-return-type] Return type does not match returned value: expected `AnyType@__class_getitem__`, found `<special-form 'typing.Annotated[Unknown, <metadata>]'>`
- pydantic/main.py:1069:58 error[call-non-callable] Object of type `object` is not callable
- pydantic/main.py:1098:21 error[invalid-assignment] Cannot assign to a subscript on an object of type `None`
+ pydantic/main.py:1024:61 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
+ pydantic/main.py:1113:49 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
+ pydantic/main.py:1118:58 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
- pydantic/networks.py:1185:20 error[invalid-return-type] Return type does not match returned value: expected `IPv4Address | IPv6Address`, found `Self@_validate`
- pydantic/networks.py:1224:20 error[invalid-return-type] Return type does not match returned value: expected `IPv4Interface | IPv6Interface`, found `Self@_validate`
- pydantic/networks.py:1265:20 error[invalid-return-type] Return type does not match returned value: expected `IPv4Network | IPv6Network`, found `Self@_validate`
- pydantic/types.py:1001:20 error[invalid-return-type] Return type does not match returned value: expected `AnyType@__class_getitem__`, found `<special-form 'typing.Annotated[Unknown, <metadata>]'>`
- pydantic/types.py:1517:20 error[invalid-return-type] Return type does not match returned value: expected `AnyType@__class_getitem__`, found `<special-form 'typing.Annotated[Unknown, <metadata>]'>`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `AfterValidatorFunctionSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `ArgumentsSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `ArgumentsV3Schema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `BeforeValidatorFunctionSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `BoolSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `BytesSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `CallSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `CallableSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `ChainSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `ComplexSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `CustomErrorSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `DataclassArgsSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `DataclassSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `DecimalSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `DefinitionReferenceSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `DefinitionsSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `DictSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `EnumSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `FloatSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `GeneratorSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `IntSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `InvalidSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `IsInstanceSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `IsSubclassSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `JsonOrPythonSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `JsonSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `LaxOrStrictSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `ListSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `LiteralSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `MissingSentinelSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `ModelFieldsSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `ModelSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `MultiHostUrlSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `NoneSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `NullableSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `PlainValidatorFunctionSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `SetSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `StringSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `TaggedUnionSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `TimeSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `TimedeltaSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `TupleSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `TypedDictSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `UnionSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `UrlSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `UuidSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `WithDefaultSchema`
- pydantic/types.py:2217:24 error[invalid-key] Unknown key "now_op" for TypedDict `WrapValidatorFunctionSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `AfterValidatorFunctionSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `AnySchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `ArgumentsSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `ArgumentsV3Schema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `BeforeValidatorFunctionSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `BoolSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `BytesSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `CallSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `CallableSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `ChainSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `ComplexSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `CustomErrorSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `DataclassArgsSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `DataclassSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `DecimalSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `DefinitionReferenceSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `DefinitionsSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `DictSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `EnumSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `FloatSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `FrozenSetSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `GeneratorSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `IntSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `InvalidSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `IsInstanceSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `IsSubclassSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `JsonOrPythonSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `JsonSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `LaxOrStrictSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `ListSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `LiteralSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `MissingSentinelSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `ModelFieldsSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `ModelSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `MultiHostUrlSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `NoneSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `NullableSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `PlainValidatorFunctionSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `SetSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `StringSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `TaggedUnionSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `TimeSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `TimedeltaSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `TupleSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `TypedDictSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `UnionSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `UrlSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `UuidSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `WithDefaultSchema`
- pydantic/types.py:2236:24 error[invalid-key] Unknown key "now_op" for TypedDict `WrapValidatorFunctionSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `AfterValidatorFunctionSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `AnySchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `ArgumentsSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `ArgumentsV3Schema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `BeforeValidatorFunctionSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `BoolSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `BytesSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `CallSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `CallableSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `ChainSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `ComplexSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `CustomErrorSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `DataclassArgsSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `DataclassSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `DateSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `DecimalSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `DefinitionReferenceSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `DefinitionsSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `DictSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `EnumSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `FloatSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `FrozenSetSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `GeneratorSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `IntSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `InvalidSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `IsInstanceSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `IsSubclassSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `JsonOrPythonSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `JsonSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `LaxOrStrictSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `ListSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `LiteralSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `MissingSentinelSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `ModelFieldsSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `ModelSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `MultiHostUrlSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `NoneSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `NullableSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `PlainValidatorFunctionSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `SetSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `StringSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `TaggedUnionSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `TimedeltaSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `TupleSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `TypedDictSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `UnionSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `UrlSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `UuidSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `WithDefaultSchema`
- pydantic/types.py:2293:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `WrapValidatorFunctionSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `AfterValidatorFunctionSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `AnySchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `ArgumentsSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `ArgumentsV3Schema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `BeforeValidatorFunctionSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `BoolSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `BytesSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `CallSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `CallableSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `ChainSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `ComplexSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `CustomErrorSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `DataclassArgsSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `DataclassSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `DateSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `DecimalSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `DefinitionReferenceSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `DefinitionsSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `DictSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `EnumSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `FloatSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `FrozenSetSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `GeneratorSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `IntSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `InvalidSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `IsInstanceSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `IsSubclassSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `JsonOrPythonSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `JsonSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `LaxOrStrictSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `ListSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `LiteralSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `MissingSentinelSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `ModelFieldsSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `ModelSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `MultiHostUrlSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `NoneSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `NullableSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `PlainValidatorFunctionSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `SetSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `StringSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `TaggedUnionSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `TimedeltaSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `TupleSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `TypedDictSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `UnionSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `UrlSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `UuidSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `WithDefaultSchema`
- pydantic/types.py:2312:24 error[invalid-key] Unknown key "tz_constraint" for TypedDict `WrapValidatorFunctionSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `AfterValidatorFunctionSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `AnySchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `ArgumentsSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `ArgumentsV3Schema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `BeforeValidatorFunctionSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `BoolSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `BytesSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `CallSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `CallableSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `ChainSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `ComplexSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `CustomErrorSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `DataclassArgsSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `DataclassSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `DecimalSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `DefinitionReferenceSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `DefinitionsSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `DictSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `EnumSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `FloatSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `FrozenSetSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `GeneratorSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `IntSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `InvalidSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `IsInstanceSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `IsSubclassSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `JsonOrPythonSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `JsonSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `LaxOrStrictSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `ListSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `LiteralSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `MissingSentinelSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `ModelFieldsSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `ModelSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `MultiHostUrlSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `NoneSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `NullableSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `PlainValidatorFunctionSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `SetSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `StringSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `TaggedUnionSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `TimeSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `TimedeltaSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `TupleSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `TypedDictSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `UnionSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `UrlSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `UuidSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `WithDefaultSchema`
- pydantic/types.py:2331:24 error[invalid-key] Unknown key "now_op" for TypedDict `WrapValidatorFunctionSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `AfterValidatorFunctionSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `AnySchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `ArgumentsSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `ArgumentsV3Schema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `BoolSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `BytesSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `CallSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `CallableSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `ChainSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `ComplexSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `CustomErrorSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `DataclassArgsSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `DataclassSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `DecimalSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `DefinitionReferenceSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `DefinitionsSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `DictSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `EnumSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `FloatSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `FrozenSetSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `GeneratorSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `IntSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `InvalidSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `IsInstanceSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `IsSubclassSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `JsonOrPythonSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `JsonSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `LaxOrStrictSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `ListSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `LiteralSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `MissingSentinelSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `ModelFieldsSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `ModelSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `MultiHostUrlSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `NoneSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `NullableSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `PlainValidatorFunctionSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `SetSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `StringSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `TaggedUnionSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `TimeSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `TimedeltaSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `TupleSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `TypedDictSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `UnionSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `UrlSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `UuidSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `WithDefaultSchema`
- pydantic/types.py:2350:24 error[invalid-key] Unknown key "now_op" for TypedDict `WrapValidatorFunctionSchema`
- pydantic/v1/typing.py:296:26 error[invalid-type-arguments] No type arguments provided for required type variables `_P`, `_R_co` of class `classmethod`
pylint (https://github.com/pycqa/pylint)
- pylint/checkers/utils.py:2055:28 error[invalid-yield] Send type `Never` does not match annotated send type `None`
- pylint/checkers/utils.py:2067:28 error[invalid-yield] Send type `Never` does not match annotated send type `None`
- pylint/checkers/utils.py:2070:28 error[invalid-yield] Send type `Never` does not match annotated send type `None`
pywin32 (https://github.com/mhammond/pywin32)
- Pythonwin/pywin/idle/PyParse.py:10:9 error[unresolved-attribute] Attribute `write` is not defined on `None` in union `TextIOWrapper[_WrappedBuffer] | None`
schema_salad (https://github.com/common-workflow-language/schema_salad)
- schema_salad/ref_resolver.py:1101:20 error[invalid-return-type] Return type does not match returned value: expected `str | CommentedSeq | CommentedMap`, found `None`
schemathesis (https://github.com/schemathesis/schemathesis)
- src/schemathesis/engine/core.py:144:28 error[invalid-yield] Send type `Never` does not match annotated send type `None`
scikit-build-core (https://github.com/scikit-build/scikit-build-core)
- src/scikit_build_core/_compat/typing.py:38:20 error[invalid-legacy-type-variable] A `TypeVar` definition must be a simple variable assignment
- src/scikit_build_core/_compat/typing.py:38:35 error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `str`, found `object`
- src/scikit_build_core/_compat/typing.py:38:42 error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `bool`, found `object`
scipy (https://github.com/scipy/scipy)
- scipy/_lib/_util.py:61:34 error[unknown-argument] Argument `annotation_format` does not match any known parameter of function `signature`
spack (https://github.com/spack/spack)
- lib/spack/spack/vendor/six.py:574:44 error[too-many-positional-arguments] Too many positional arguments to function `__new__`: expected 3, got 4
- lib/spack/spack/vendor/six.py:577:45 error[too-many-positional-arguments] Too many positional arguments to function `__new__`: expected 3, got 4
sphinx (https://github.com/sphinx-doc/sphinx)
+ sphinx/domains/cpp/_parser.py:237:22 warning[unused-ignore-comment] Unused `ty: ignore` directive
+ sphinx/domains/cpp/_parser.py:326:22 warning[unused-ignore-comment] Unused `ty: ignore` directive
+ sphinx/domains/cpp/_parser.py:372:26 warning[unused-ignore-comment] Unused `ty: ignore` directive
+ sphinx/domains/cpp/_parser.py:388:26 warning[unused-ignore-comment] Unused `ty: ignore` directive
starlette (https://github.com/encode/starlette)
- tests/test_routing.py:697:9 error[invalid-yield] Yield type `None` does not match annotated yield type `Never`
sympy (https://github.com/sympy/sympy)
- sympy/external/gmpy.py:707:20 error[unresolved-attribute] Attribute `iroot` is not defined on `None` in union `ModuleType | None`
- sympy/external/gmpy.py:741:16 error[unresolved-attribute] Attribute `fmpz` is not defined on `None` in union `ModuleType | None`
- sympy/external/gmpy.py:746:16 error[unresolved-attribute] Attribute `fmpz` is not defined on `None` in union `ModuleType | None`
- sympy/external/gmpy.py:749:16 error[unresolved-attribute] Attribute `fmpz` is not defined on `None` in union `ModuleType | None`
- sympy/external/gmpy.py:752:23 error[unresolved-attribute] Attribute `fmpz` is not defined on `None` in union `ModuleType | None`
- sympy/external/gmpy.py:752:45 error[unresolved-attribute] Attribute `fmpz` is not defined on `None` in union `ModuleType | None`
- sympy/external/gmpy.py:755:23 error[unresolved-attribute] Attribute `fmpz` is not defined on `None` in union `ModuleType | None`
- sympy/external/gmpy.py:755:45 error[unresolved-attribute] Attribute `fmpz` is not defined on `None` in union `ModuleType | None`
- sympy/external/gmpy.py:764:16 error[unresolved-attribute] Attribute `fmpz` is not defined on `None` in union `ModuleType | None`
- sympy/external/gmpy.py:770:17 error[unresolved-attribute] Attribute `fmpz` is not defined on `None` in union `ModuleType | None`
trio (https://github.com/python-trio/trio)
- src/trio/_core/__init__.py:81:9 warning[possibly-missing-import] Member `current_iocp` of module `trio._core._run` may be missing
- src/trio/_core/__init__.py:82:9 warning[possibly-missing-import] Member `monitor_completion_key` of module `trio._core._run` may be missing
- src/trio/_core/__init__.py:83:9 warning[possibly-missing-import] Member `readinto_overlapped` of module `trio._core._run` may be missing
- src/trio/_core/__init__.py:84:9 warning[possibly-missing-import] Member `register_with_iocp` of module `trio._core._run` may be missing
- src/trio/_core/__init__.py:85:9 warning[possibly-missing-import] Member `wait_overlapped` of module `trio._core._run` may be missing
- src/trio/_core/__init__.py:86:9 warning[possibly-missing-import] Member `write_overlapped` of module `trio._core._run` may be missing
- src/trio/_core/__init__.py:92:23 warning[possibly-missing-import] Member `current_kqueue` of module `trio._core._run` may be missing
- src/trio/_core/__init__.py:92:39 warning[possibly-missing-import] Member `monitor_kevent` of module `trio._core._run` may be missing
- src/trio/_core/__init__.py:92:55 warning[possibly-missing-import] Member `wait_kevent` of module `trio._core._run` may be missing
- src/trio/_core/_generated_io_windows.py:112:68 error[invalid-argument-type] Argument to bound method `notify_closing` is incorrect: Expected `int | _HasFileNo`, found `Handle | int | _HasFileNo`
- src/trio/_core/_io_windows.py:322:16 error[call-non-callable] Object of type `object` is not callable
- src/trio/_core/_io_windows.py:367:24 error[call-non-callable] Object of type `object` is not callable
- src/trio/_core/_io_windows.py:711:25 error[invalid-argument-type] Argument to bound method `DeviceIoControl` is incorrect: Expected `_CDataBase`, found `CType`
- src/trio/_core/_io_windows.py:713:25 error[invalid-argument-type] Argument to bound method `DeviceIoControl` is incorrect: Expected `_CDataBase`, found `CType`
- src/trio/_core/_tests/test_windows.py:263:20 error[call-non-callable] Object of type `object` is not callable
- src/trio/_core/_tests/test_windows.py:294:20 error[call-non-callable] Object of type `object` is not callable
- src/trio/_windows_pipes.py:137:24 error[invalid-return-type] Return type does not match returned value: expected `bytes`, found `bytearray`
- src/trio/_socket.py:879:20 error[unresolved-attribute] Attribute `share` is not defined on `socket` in union `Unknown | socket`
urllib3 (https://github.com/urllib3/urllib3)
- src/urllib3/connection.py:298:37 error[unresolved-attribute] Attribute `encode` is not defined on `None` in union `str | None`
- src/urllib3/connection.py:311:48 error[invalid-argument-type] Argument to bound method `__init__` is incorrect: Expected `socket`, found `socket | Any | None`
- src/urllib3/connection.py:315:21 error[unresolved-attribute] Unresolved attribute `_raw_proxy_headers` on type `Self@_tunnel`2d904f6 to
65469b3
Compare
65469b3 to
f4e9548
Compare
f4e9548 to
a7ad623
Compare
Summary
fixes astral-sh/ty#2891
fixes astral-sh/ty#1165
Test Plan