Skip to content

[ty] Infer public types as unions of all reachable bindings #18750

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

sharkdp
Copy link
Contributor

@sharkdp sharkdp commented Jun 18, 2025

Summary

closes astral-sh/ty#210
closes astral-sh/ty#607

Test Plan

New Markdown tests

@sharkdp sharkdp added the ty Multi-file analysis & type inference label Jun 18, 2025
@sharkdp sharkdp changed the title David/public types [ty] Infer public types as unions of all reachable bindings Jun 18, 2025
Copy link
Contributor

github-actions bot commented Jun 18, 2025

mypy_primer results

Changes were detected when running on open source projects
pytest-robotframework (https://github.com/detachhead/pytest-robotframework)
- warning[unused-ignore-comment] pytest_robotframework/__init__.py:569:19: Unused `ty: ignore` directive: 'no-matching-overload'
+ error[invalid-argument-type] pytest_robotframework/__init__.py:503:46: Argument to function `keyword` is incorrect: Expected `Literal[True]`, found `bool | None`
+ error[invalid-argument-type] pytest_robotframework/__init__.py:570:50: Argument to function `keyword` is incorrect: Expected `Literal[True]`, found `bool`
+ warning[unused-ignore-comment] pytest_robotframework/_internal/robot/listeners_and_suite_visitors.py:673:33: Unused `ty: ignore` directive: 'possibly-unresolved-reference'
+ warning[unused-ignore-comment] pytest_robotframework/_internal/robot/listeners_and_suite_visitors.py:690:40: Unused `ty: ignore` directive: 'possibly-unresolved-reference'
- Found 186 diagnostics
+ Found 189 diagnostics

mypy_primer (https://github.com/hauntsaninja/mypy_primer)
- error[unresolved-reference] mypy_primer/main.py:175:67: Name `shard_costs` used when not defined
- Found 10 diagnostics
+ Found 9 diagnostics

parso (https://github.com/davidhalter/parso)
- warning[possibly-unresolved-reference] parso/python/errors.py:323:36: Name `base_name` used when possibly not defined
- warning[possibly-unresolved-reference] parso/python/errors.py:323:58: Name `base_name` used when possibly not defined
- warning[possibly-unresolved-reference] parso/python/tokenize.py:385:43: Name `spos` used when possibly not defined
- warning[possibly-unresolved-reference] parso/python/tree.py:422:31: Name `dct` used when possibly not defined
- warning[possibly-unresolved-reference] parso/python/tree.py:426:25: Name `recurse` used when possibly not defined
- Found 80 diagnostics
+ Found 75 diagnostics

paroxython (https://github.com/laowantong/paroxython)
- warning[possibly-unresolved-reference] paroxython/__init__.py:36:33: Name `ParoxythonMagics` used when possibly not defined
- warning[possibly-unresolved-reference] paroxython/__init__.py:55:26: Name `main` used when possibly not defined
- warning[possibly-unresolved-reference] paroxython/__init__.py:62:21: Name `display` used when possibly not defined
- warning[possibly-unresolved-reference] paroxython/__init__.py:62:29: Name `Markdown` used when possibly not defined
- Found 15 diagnostics
+ Found 11 diagnostics

beartype (https://github.com/beartype/beartype)
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep484604.py:47:33: Name `HintPep604ItemTypes` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep484604.py:112:33: Name `HintPep604Type` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:141:9: Name `_MODULE_NAME_TO_ANNOTATIONS` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:142:9: Name `_MODULE_NAME_TO_HINTABLE_BASENAME_TO_ANNOTATIONS` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:161:33: Name `CallableOrClassTypes` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:165:27: Name `get_object_module_name_or_none` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:174:21: Name `_MODULE_NAME_TO_HINTABLE_BASENAME_TO_ANNOTATIONS` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:175:38: Name `SENTINEL` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:178:56: Name `SENTINEL` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:182:25: Name `_MODULE_NAME_TO_HINTABLE_BASENAME_TO_ANNOTATIONS` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:190:37: Name `get_object_basename_scoped` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:197:40: Name `SENTINEL` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:200:48: Name `SENTINEL` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:206:21: Name `_get_pep649_hintable_annotations_or_none_uncached` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:221:35: Name `ModuleType` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:223:27: Name `get_module_name` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:229:34: Name `_MODULE_NAME_TO_ANNOTATIONS` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:230:30: Name `SENTINEL` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:233:42: Name `SENTINEL` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:239:17: Name `_get_pep649_hintable_annotations_or_none_uncached` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:242:13: Name `_MODULE_NAME_TO_ANNOTATIONS` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:253:16: Name `_get_pep649_hintable_annotations_or_none_uncached` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:293:36: Name `Format` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:379:35: Name `_ANNOTATE_FORMATS_VALUELIKE` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:387:36: Name `Format` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:738:20: Name `get_annotations` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/_util/hint/pep/proposal/pep649.py:738:53: Name `Format` used when possibly not defined
- warning[possibly-unresolved-reference] beartype/typing/_typingpep544.py:690:16: Name `_generic_class_getitem_old` used when possibly not defined
- Found 578 diagnostics
+ Found 550 diagnostics

python-chess (https://github.com/niklasf/python-chess)
- warning[possibly-unresolved-reference] chess/engine.py:962:25: Name `cmd` used when possibly not defined
+ error[invalid-return-type] chess/pgn.py:1850:12: Return type does not match returned value: expected `Headers | None`, found `Game | None | Unknown`
+ error[no-matching-overload] chess/pgn.py:1850:12: No overload of function `read_game` matches arguments
+ error[no-matching-overload] chess/pgn.py:1850:12: No overload of function `read_game` matches arguments
+ error[unknown-argument] chess/pgn.py:1850:30: Argument `Visitor` does not match any known parameter of function `read_game`
+ error[no-matching-overload] chess/pgn.py:1857:17: No overload of function `read_game` matches arguments
+ error[unknown-argument] chess/pgn.py:1857:35: Argument `Visitor` does not match any known parameter of function `read_game`
- Found 20 diagnostics
+ Found 25 diagnostics

more-itertools (https://github.com/more-itertools/more-itertools)
- warning[possibly-unresolved-reference] more_itertools/more.py:184:24: Name `dl_split` used when possibly not defined
- warning[possibly-unresolved-reference] more_itertools/more.py:184:24: Name `dl_split` used when possibly not defined
- warning[possibly-unresolved-reference] more_itertools/more.py:184:24: Name `dl_split` used when possibly not defined
- warning[possibly-unresolved-reference] more_itertools/more.py:185:24: Name `dl_split` used when possibly not defined
- warning[possibly-unresolved-reference] more_itertools/more.py:185:24: Name `dl_split` used when possibly not defined
- warning[possibly-unresolved-reference] more_itertools/more.py:185:24: Name `dl_split` used when possibly not defined
- warning[possibly-unresolved-reference] more_itertools/more.py:193:45: Name `dl_mul` used when possibly not defined
- warning[possibly-unresolved-reference] more_itertools/more.py:823:22: Name `equivalent_items` used when possibly not defined
+ warning[possibly-unbound-implicit-call] more_itertools/more.py:1266:36: Method `__getitem__` of type `Unknown | None` is possibly unbound
+ error[unsupported-operator] more_itertools/more.py:1691:52: Operator `-` is unsupported between objects of type `Unknown | None` and `Literal[1]`
- warning[possibly-unresolved-reference] more_itertools/more.py:1921:66: Name `key_offset` used when possibly not defined
- warning[possibly-unresolved-reference] more_itertools/more.py:1927:18: Name `get_key_items` used when possibly not defined
+ error[unsupported-operator] more_itertools/more.py:3425:31: Operator `<=` is not supported for types `None` and `int`, in comparing `Unknown | None | (Unknown & ~None) | Literal[0]` with `int`
+ error[unsupported-operator] more_itertools/more.py:3425:43: Operator `<=` is not supported for types `int` and `None`, in comparing `int` with `Unknown | None | (Unknown & ~None) | int`
+ error[unsupported-operator] more_itertools/more.py:3430:27: Operator `<=` is not supported for types `None` and `int`, in comparing `Unknown | None | (Unknown & ~None) | Literal[0]` with `int`
+ error[unsupported-operator] more_itertools/more.py:3430:39: Operator `<=` is not supported for types `int` and `None`, in comparing `int` with `Unknown | None | (Unknown & ~None) | int`
- warning[possibly-unresolved-reference] more_itertools/recipes.py:349:16: Name `itertools_pairwise` used when possibly not defined
- warning[possibly-unresolved-reference] more_itertools/recipes.py:1007:16: Name `itertools_batched` used when possibly not defined
- error[missing-argument] more_itertools/recipes.py:1136:12: No arguments provided for required parameters `x`, `y`
- Found 51 diagnostics
+ Found 44 diagnostics

pyp (https://github.com/hauntsaninja/pyp)
- error[unresolved-reference] pyp.py:652:24: Name `line_to_node` used when not defined
- Found 9 diagnostics
+ Found 8 diagnostics

git-revise (https://github.com/mystor/git-revise)
- warning[possibly-unresolved-reference] gitrevise/utils.py:102:34: Name `pat_is_comment_line` used when possibly not defined
- Found 3 diagnostics
+ Found 2 diagnostics

pyinstrument (https://github.com/joerick/pyinstrument)
+ error[unresolved-attribute] pyinstrument/context_manager.py:56:54: Type `((...) -> Unknown) | None` has no attribute `__qualname__`
+ error[unresolved-attribute] pyinstrument/context_manager.py:56:77: Type `((...) -> Unknown) | None` has no attribute `__code__`
+ error[unresolved-attribute] pyinstrument/context_manager.py:56:105: Type `((...) -> Unknown) | None` has no attribute `__code__`
+ error[call-non-callable] pyinstrument/context_manager.py:59:28: Object of type `None` is not callable
- error[unresolved-reference] pyinstrument/magic/magic.py:258:31: Name `old_custom_tb` used when not defined
- error[unresolved-reference] pyinstrument/magic/magic.py:259:40: Name `old_custom_exceptions` used when not defined
- error[unresolved-reference] pyinstrument/vendor/appdirs.py:99:33: Name `_get_win_folder` used when not defined
- error[unresolved-reference] pyinstrument/vendor/appdirs.py:152:33: Name `_get_win_folder` used when not defined
- error[unresolved-reference] pyinstrument/vendor/appdirs.py:319:33: Name `_get_win_folder` used when not defined
- warning[possibly-unresolved-reference] pyinstrument/vendor/decorator.py:57:16: Name `FullArgSpec` used when possibly not defined
- Found 54 diagnostics
+ Found 52 diagnostics

attrs (https://github.com/python-attrs/attrs)
- warning[possibly-unresolved-reference] tests/test_slots.py:94:16: Name `asizeof` used when possibly not defined
- warning[possibly-unresolved-reference] tests/test_slots.py:94:41: Name `asizeof` used when possibly not defined
- warning[possibly-unresolved-reference] tests/test_slots.py:257:16: Name `asizeof` used when possibly not defined
- warning[possibly-unresolved-reference] tests/test_slots.py:257:30: Name `asizeof` used when possibly not defined
- warning[possibly-unresolved-reference] tests/test_slots.py:401:16: Name `asizeof` used when possibly not defined
- warning[possibly-unresolved-reference] tests/test_slots.py:401:30: Name `asizeof` used when possibly not defined
- Found 608 diagnostics
+ Found 602 diagnostics

Expression (https://github.com/cognitedata/Expression)
+ error[missing-argument] expression/collections/asyncseq.py:38:25: No argument provided for required parameter `stop` of function `range`
+ error[no-matching-overload] expression/collections/asyncseq.py:38:25: No overload of function `range` matches arguments
+ error[no-matching-overload] expression/collections/asyncseq.py:38:25: No overload of function `range` matches arguments
+ error[missing-argument] expression/collections/block.py:347:16: No argument provided for required parameter `stop` of function `range`
+ error[no-matching-overload] expression/collections/block.py:347:16: No overload of function `range` matches arguments
+ error[no-matching-overload] expression/collections/block.py:347:16: No overload of function `range` matches arguments
+ error[missing-argument] expression/collections/seq.py:260:16: No argument provided for required parameter `stop` of function `range`
+ error[no-matching-overload] expression/collections/seq.py:260:16: No overload of function `range` matches arguments
+ error[no-matching-overload] expression/collections/seq.py:260:16: No overload of function `range` matches arguments
+ error[no-matching-overload] expression/collections/seq.py:725:12: No overload of function `starmap` matches arguments
+ error[no-matching-overload] expression/collections/seq.py:725:12: No overload of function `starmap` matches arguments
+ error[no-matching-overload] expression/collections/seq.py:725:12: No overload of function `starmap` matches arguments
+ error[invalid-argument-type] expression/collections/seq.py:725:20: Argument to function `starmap` is incorrect: Expected `(Unknown, Unknown, /) -> Unknown`, found `(Unknown, Unknown, _T3, /) -> Unknown`
- error[unresolved-reference] expression/core/result.py:121:56: Name `value` used when not defined
- Found 252 diagnostics
+ Found 264 diagnostics

anyio (https://github.com/agronholm/anyio)
+ error[missing-argument] src/anyio/_core/_sockets.py:852:26: No argument provided for required parameter `tls_hostname` of function `connect_tcp`
+ error[no-matching-overload] src/anyio/_core/_sockets.py:852:26: No overload of function `connect_tcp` matches arguments
+ error[no-matching-overload] src/anyio/_core/_sockets.py:852:26: No overload of function `connect_tcp` matches arguments
+ error[no-matching-overload] src/anyio/_core/_sockets.py:852:26: No overload of function `connect_tcp` matches arguments
+ error[no-matching-overload] src/anyio/_core/_sockets.py:852:26: No overload of function `connect_tcp` matches arguments
+ error[no-matching-overload] src/anyio/_core/_sockets.py:852:26: No overload of function `connect_tcp` matches arguments
- warning[possibly-unresolved-reference] src/anyio/abc/_sockets.py:77:67: Name `remote_port` used when possibly not defined
- warning[possibly-unbound-attribute] src/anyio/from_thread.py:211:27: Attribute `cancel` on type `Unknown | None` is possibly unbound
+ warning[possibly-unbound-attribute] src/anyio/from_thread.py:211:27: Attribute `cancel` on type `Unknown | CancelScope | None` is possibly unbound
- error[unresolved-reference] src/anyio/pytest_plugin.py:90:12: Name `has_backend_arg` used when not defined
- error[unresolved-reference] src/anyio/pytest_plugin.py:93:12: Name `has_request_arg` used when not defined
- warning[possibly-unresolved-reference] src/anyio/pytest_plugin.py:139:25: Name `backend_name` used when possibly not defined
- warning[possibly-unresolved-reference] src/anyio/pytest_plugin.py:139:39: Name `backend_options` used when possibly not defined
- error[unresolved-reference] src/anyio/pytest_plugin.py:140:29: Name `original_func` used when not defined

starlette (https://github.com/encode/starlette)
- warning[possibly-unresolved-reference] starlette/_utils.py:80:35: Name `BaseExceptionGroup` used when possibly not defined
- warning[possibly-unresolved-reference] starlette/responses.py:275:25: Name `task_group` used when possibly not defined
- warning[possibly-unbound-attribute] starlette/templating.py:80:14: Attribute `Environment` on type `Unknown | None` is possibly unbound
- warning[possibly-unbound-attribute] starlette/templating.py:89:14: Attribute `Environment` on type `Unknown | None` is possibly unbound
- warning[possibly-unbound-attribute] starlette/templating.py:111:10: Attribute `Environment` on type `Unknown | None` is possibly unbound
- warning[possibly-unbound-attribute] starlette/templating.py:112:18: Attribute `FileSystemLoader` on type `Unknown | None` is possibly unbound
- warning[possibly-unbound-attribute] starlette/templating.py:116:16: Attribute `Environment` on type `Unknown | None` is possibly unbound
- warning[possibly-unbound-attribute] starlette/templating.py:118:40: Attribute `Environment` on type `Unknown | None` is possibly unbound
- warning[possibly-unresolved-reference] starlette/templating.py:119:10: Name `pass_context` used when possibly not defined
- warning[possibly-unbound-attribute] starlette/templating.py:131:42: Attribute `Template` on type `Unknown | None` is possibly unbound
- Found 166 diagnostics
+ Found 156 diagnostics

speedrun.com_global_scoreboard_webapp (https://github.com/Avasam/speedrun.com_global_scoreboard_webapp)
- warning[possibly-unresolved-reference] backend/models/core_models.py:242:18: Name `Schedule` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:243:13: Name `Schedule` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:243:35: Name `Schedule` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:254:24: Name `Schedule` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:266:13: Name `TimeSlot` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:289:17: Name `Schedule` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:290:17: Name `Schedule` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:292:25: Name `Schedule` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:293:25: Name `Schedule` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:319:33: Name `TimeSlot` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:341:17: Name `ScheduleGroup` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:343:29: Name `ScheduleGroup` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:344:29: Name `ScheduleGroup` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:347:17: Name `Schedule` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:348:17: Name `Schedule` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:350:25: Name `Schedule` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:351:25: Name `Schedule` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:363:34: Name `Schedule` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:365:25: Name `Schedule` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:366:25: Name `Schedule` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:377:29: Name `ScheduleGroup` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:377:86: Name `Schedule` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:378:25: Name `ScheduleGroup` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:378:73: Name `Schedule` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:380:27: Name `ScheduleGroup` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:380:42: Name `Schedule` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:396:18: Name `ScheduleGroup` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:397:13: Name `ScheduleGroup` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:397:40: Name `ScheduleGroup` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:401:30: Name `ScheduleGroup` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:415:17: Name `ScheduleGroup` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:416:17: Name `ScheduleGroup` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:418:25: Name `ScheduleGroup` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:419:25: Name `ScheduleGroup` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:432:40: Name `ScheduleGroup` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:434:25: Name `ScheduleGroup` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:435:25: Name `ScheduleGroup` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:446:17: Name `Registration` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:447:17: Name `Registration` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:449:25: Name `Registration` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:453:13: Name `Schedule` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:455:25: Name `Schedule` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:456:25: Name `Schedule` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:473:35: Name `Participant` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:489:17: Name `Registration` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:490:17: Name `Registration` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:492:25: Name `Registration` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:496:13: Name `Schedule` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:498:25: Name `Schedule` used when possibly not defined
- warning[possibly-unresolved-reference] backend/models/core_models.py:499:25: Name `Schedule` used when possibly not defined
- Found 116 diagnostics
+ Found 66 diagnostics

aioredis (https://github.com/aio-libs/aioredis)
- warning[possibly-unresolved-reference] aioredis/connection.py:455:32: Name `hiredis` used when possibly not defined
- warning[possibly-unresolved-reference] aioredis/connection.py:468:24: Name `hiredis` used when possibly not defined
+ error[no-matching-overload] aioredis/utils.py:61:16: No overload of function `str_if_bytes` matches arguments
+ error[no-matching-overload] aioredis/utils.py:61:16: No overload of function `str_if_bytes` matches arguments
+ error[invalid-argument-type] aioredis/utils.py:61:29: Argument to function `str_if_bytes` is incorrect: Expected `bytes`, found `object`
- Found 22 diagnostics
+ Found 23 diagnostics

pyjwt (https://github.com/jpadilla/pyjwt)
- warning[possibly-unresolved-reference] jwt/algorithms.py:157:26: Name `RSAAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:157:39: Name `RSAAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:158:26: Name `RSAAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:158:39: Name `RSAAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:159:26: Name `RSAAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:159:39: Name `RSAAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:160:26: Name `ECAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:160:38: Name `ECAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:161:27: Name `ECAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:161:39: Name `ECAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:162:26: Name `ECAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:162:38: Name `ECAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:163:26: Name `ECAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:163:38: Name `ECAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:164:26: Name `ECAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:165:21: Name `ECAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:167:26: Name `RSAPSSAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:167:42: Name `RSAPSSAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:168:26: Name `RSAPSSAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:168:42: Name `RSAPSSAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:169:26: Name `RSAPSSAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:169:42: Name `RSAPSSAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:170:26: Name `OKPAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:183:35: Name `AllowedKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:199:38: Name `hashes` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:201:22: Name `hashes` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:201:54: Name `default_backend` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:207:42: Name `PublicKeyTypes` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:207:59: Name `PrivateKeyTypes` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:386:31: Name `hashes` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:387:31: Name `hashes` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:388:31: Name `hashes` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:392:43: Name `hashes` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:395:36: Name `AllowedRSAKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:395:69: Name `AllowedRSAKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:406:33: Name `PublicKeyTypes` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:406:50: Name `load_ssh_public_key` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:408:33: Name `RSAPublicKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:410:34: Name `PrivateKeyTypes` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:410:52: Name `load_pem_private_key` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:414:33: Name `RSAPrivateKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:417:34: Name `load_pem_public_key` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:419:33: Name `RSAPublicKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:420:37: Name `UnsupportedAlgorithm` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:428:22: Name `AllowedRSAKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:434:22: Name `AllowedRSAKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:438:29: Name `AllowedRSAKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:477:45: Name `AllowedRSAKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:507:34: Name `RSAPublicNumbers` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:513:31: Name `RSAPrivateNumbers` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:524:28: Name `rsa_recover_prime_factors` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:524:28: Name `rsa_recover_prime_factors` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:524:28: Name `rsa_recover_prime_factors` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:528:31: Name `RSAPrivateNumbers` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:532:30: Name `rsa_crt_dmp1` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:533:30: Name `rsa_crt_dmq1` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:534:30: Name `rsa_crt_iqmp` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:541:24: Name `RSAPublicNumbers` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:548:41: Name `RSAPrivateKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:549:34: Name `padding` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:551:43: Name `RSAPublicKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:553:38: Name `padding` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:555:20: Name `InvalidSignature` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:564:31: Name `hashes` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:565:31: Name `hashes` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:566:31: Name `hashes` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:570:43: Name `hashes` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:573:36: Name `AllowedECKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:573:68: Name `AllowedECKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:587:33: Name `PublicKeyTypes` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:587:50: Name `load_ssh_public_key` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:589:34: Name `load_pem_public_key` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:593:29: Name `EllipticCurvePublicKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:595:31: Name `load_pem_private_key` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:597:29: Name `EllipticCurvePrivateKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:599:41: Name `EllipticCurvePrivateKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:600:37: Name `ECDSA` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:604:43: Name `AllowedECKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:613:40: Name `EllipticCurvePrivateKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:616:49: Name `ECDSA` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:618:20: Name `InvalidSignature` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:624:22: Name `AllowedECKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:630:22: Name `AllowedECKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:634:29: Name `AllowedECKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:635:36: Name `EllipticCurvePrivateKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:637:38: Name `EllipticCurvePublicKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:642:42: Name `SECP256R1` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:644:44: Name `SECP384R1` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:646:44: Name `SECP521R1` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:648:44: Name `SECP256K1` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:666:36: Name `EllipticCurvePrivateKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:678:45: Name `AllowedECKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:699:24: Name `EllipticCurve` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:703:33: Name `SECP256R1` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:710:33: Name `SECP384R1` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:717:33: Name `SECP521R1` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:724:33: Name `SECP256K1` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:732:30: Name `EllipticCurvePublicNumbers` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:747:20: Name `EllipticCurvePrivateNumbers` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:756:41: Name `RSAPrivateKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:759:17: Name `padding` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:760:25: Name `padding` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:766:43: Name `RSAPublicKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:771:21: Name `padding` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:772:29: Name `padding` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:778:20: Name `InvalidSignature` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:793:36: Name `AllowedOKPKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:793:69: Name `AllowedOKPKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:796:30: Name `AllowedOKPKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:801:25: Name `PublicKeyTypes` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:801:42: Name `PrivateKeyTypes` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:803:30: Name `load_pem_public_key` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:805:30: Name `load_pem_private_key` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:807:30: Name `load_ssh_public_key` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:813:26: Name `AllowedOKPKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:816:42: Name `Ed25519PrivateKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:816:62: Name `Ed448PrivateKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:829:42: Name `AllowedOKPKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:846:41: Name `Ed25519PrivateKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:846:60: Name `Ed448PrivateKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:851:20: Name `InvalidSignature` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:857:18: Name `AllowedOKPKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:863:18: Name `AllowedOKPKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:867:25: Name `AllowedOKPKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:868:33: Name `Ed25519PublicKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:868:51: Name `Ed448PublicKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:870:30: Name `Encoding` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:871:28: Name `PublicFormat` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:873:52: Name `Ed25519PublicKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:886:33: Name `Ed25519PrivateKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:886:52: Name `Ed448PrivateKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:888:30: Name `Encoding` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:889:28: Name `PrivateFormat` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:890:42: Name `NoEncryption` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:894:30: Name `Encoding` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:895:28: Name `PublicFormat` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:898:52: Name `Ed25519PrivateKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:914:45: Name `AllowedOKPKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:939:32: Name `Ed25519PublicKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:940:28: Name `Ed448PublicKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:943:28: Name `Ed25519PrivateKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/algorithms.py:944:24: Name `Ed448PrivateKey` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/api_jwt.py:289:14: Name `AllowedPublicKeys` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/utils.py:78:12: Name `decode_dss_signature` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/utils.py:78:12: Name `decode_dss_signature` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/utils.py:78:12: Name `decode_dss_signature` used when possibly not defined
- warning[possibly-unresolved-reference] jwt/utils.py:93:18: Name `encode_dss_signature` used when possibly not defined
- Found 184 diagnostics
+ Found 37 diagnostics

kornia (https://github.com/kornia/kornia)
- warning[possibly-unresolved-reference] kornia/feature/dedode/transformer/layers/attention.py:89:19: Name `unbind` used when possibly not defined
- warning[possibly-unresolved-reference] kornia/feature/dedode/transformer/layers/attention.py:89:19: Name `unbind` used when possibly not defined
- warning[possibly-unresolved-reference] kornia/feature/dedode/transformer/layers/attention.py:89:19: Name `unbind` used when possibly not defined
- warning[possibly-unresolved-reference] kornia/feature/dedode/transformer/layers/attention.py:89:19: Name `unbind` used when possibly not defined
- warning[possibly-unresolved-reference] kornia/feature/dedode/transformer/layers/attention.py:91:13: Name `memory_efficient_attention` used when possibly not defined
- warning[possibly-unresolved-reference] kornia/feature/dedode/transformer/layers/block.py:168:27: Name `scaled_index_add` used when possibly not defined
- warning[possibly-unresolved-reference] kornia/feature/dedode/transformer/layers/block.py:186:21: Name `fmha` used when possibly not defined
- warning[possibly-unresolved-reference] kornia/feature/dedode/transformer/layers/block.py:191:23: Name `index_select_cat` used when possibly not defined
- warning[possibly-unbound-attribute] kornia/feature/lightglue_onnx/lightglue.py:92:24: Attribute `InferenceSession` on type `Unknown | None` is possibly unbound
- warning[possibly-unbound-attribute] kornia/feature/lightglue_onnx/lightglue.py:169:30: Attribute `float32` on type `Unknown | None` is possibly unbound
- Found 948 diagnostics
+ Found 938 diagnostics

mypy-protobuf (https://github.com/dropbox/mypy-protobuf)
+ warning[possibly-unbound-implicit-call] test/generated/testproto/test_pb2.pyi:82:37: Method `__getitem__` of type `<class '_EnumTypeWrapper'> | Unknown` is possibly unbound
+ warning[possibly-unbound-implicit-call] test/generated/testproto/test_pb2.pyi:289:35: Method `__getitem__` of type `<class '_EnumTypeWrapper'> | Unknown` is possibly unbound
+ warning[possibly-unbound-attribute] test/generated/testproto/test_pb2.pyi:396:25: Attribute `service` on type `<module 'google.protobuf'> | Unknown` is possibly unbound
+ warning[possibly-unbound-attribute] test/generated/testproto/test_pb2.pyi:405:25: Attribute `service` on type `<module 'google.protobuf'> | Unknown` is possibly unbound
+ warning[possibly-unbound-attribute] test/generated/testproto/test_pb2.pyi:414:37: Attribute `service` on type `<module 'google.protobuf'> | Unknown` is possibly unbound
+ warning[possibly-unbound-attribute] test/generated/testproto/test_pb2.pyi:418:25: Attribute `service` on type `<module 'google.protobuf'> | Unknown` is possibly unbound
+ warning[possibly-unbound-attribute] test/generated/testproto/test_pb2.pyi:426:25: Attribute `service` on type `<module 'google.protobuf'> | Unknown` is possibly unbound
+ warning[possibly-unbound-attribute] test/generated/testproto/test_pb2.pyi:437:25: Attribute `service` on type `<module 'google.protobuf'> | Unknown` is possibly unbound
+ warning[possibly-unbound-attribute] test/generated/testproto/test_pb2.pyi:443:37: Attribute `service` on type `<module 'google.protobuf'> | Unknown` is possibly unbound
+ warning[possibly-unbound-attribute] test/generated/testproto/test_pb2.pyi:447:25: Attribute `service` on type `<module 'google.protobuf'> | Unknown` is possibly unbound
- Found 46 diagnostics
+ Found 56 diagnostics

aiortc (https://github.com/aiortc/aiortc)
- warning[possibly-unresolved-reference] src/aiortc/contrib/signaling.py:126:17: Name `connected` used when possibly not defined
- warning[possibly-unresolved-reference] src/aiortc/contrib/signaling.py:183:17: Name `connected` used when possibly not defined
- warning[possibly-unresolved-reference] src/aiortc/rtcpeerconnection.py:105:43: Name `c` used when possibly not defined
- warning[possibly-unresolved-reference] src/aiortc/rtcsctptransport.py:743:68: Name `prefix` used when possibly not defined
- Found 120 diagnostics
+ Found 116 diagnostics

comtypes (https://github.com/enthought/comtypes)
- warning[possibly-unresolved-reference] comtypes/_comobject.py:74:9: Name `_acquire` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/_comobject.py:77:9: Name `_release` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/_comobject.py:81:9: Name `_acquire` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/_comobject.py:84:9: Name `_release` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/_memberspec.py:385:32: Name `putref` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/_memberspec.py:386:28: Name `put` used when possibly not defined
- error[unresolved-reference] comtypes/_memberspec.py:588:46: Name `interface` used when not defined
- warning[possibly-unresolved-reference] comtypes/test/test_comserver.py:141:16: Name `Dispatch` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_comserver.py:162:16: Name `Dispatch` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_dispifc_records.py:24:35: Name `ComtypesCppTestSrvLib` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_dispifc_records.py:29:23: Name `ComtypesCppTestSrvLib` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_dispifc_records.py:37:23: Name `ComtypesCppTestSrvLib` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_dispifc_records.py:51:23: Name `ComtypesCppTestSrvLib` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_dispifc_records.py:68:25: Name `ComtypesCppTestSrvLib` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_dispifc_records.py:75:14: Name `ComtypesCppTestSrvLib` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_dispifc_records.py:75:14: Name `ComtypesCppTestSrvLib` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_dispifc_records.py:75:14: Name `ComtypesCppTestSrvLib` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_dispifc_records.py:75:14: Name `ComtypesCppTestSrvLib` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_dispifc_records.py:75:14: Name `ComtypesCppTestSrvLib` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_dispifc_records.py:75:14: Name `ComtypesCppTestSrvLib` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_dispifc_safearrays.py:27:35: Name `ComtypesCppTestSrvLib` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_dispifc_safearrays.py:32:23: Name `ComtypesCppTestSrvLib` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_dispinterface.py:40:13: Name `EnsureDispatch` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_dispinterface.py:67:13: Name `Dispatch` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_excel.py:71:37: Name `xlRangeValueDefault` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_midl_safearray_create.py:46:25: Name `IDispSafearrayParamTest` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_midl_safearray_create.py:50:23: Name `IDispSafearrayParamTest` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_midl_safearray_create.py:52:61: Name `IDispSafearrayParamTest` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_midl_safearray_create.py:59:57: Name `IDispSafearrayParamTest` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_midl_safearray_create.py:64:14: Name `StructRecordParamTest` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_midl_safearray_create.py:66:18: Name `StructRecordParamTest` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_midl_safearray_create.py:70:53: Name `StructRecordParamTest` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_midl_safearray_create.py:77:49: Name `StructRecordParamTest` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_recordinfo.py:19:45: Name `StructRecordParamTest` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_recordinfo.py:25:14: Name `StructRecordParamTest` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_recordinfo.py:35:19: Name `StructRecordParamTest` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_recordinfo.py:43:29: Name `StructRecordParamTest` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_recordinfo.py:43:29: Name `StructRecordParamTest` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_recordinfo.py:49:13: Name `StructRecordParamTest` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_recordinfo.py:55:20: Name `StructRecordParamTest` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_recordinfo.py:60:29: Name `StructRecordParamTest` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_recordinfo.py:60:29: Name `StructRecordParamTest` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_recordinfo.py:72:19: Name `StructRecordParamTest` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_win32com_interop.py:67:5: Name `_pack` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_win32com_interop.py:76:26: Name `unpack` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_win32com_interop.py:82:26: Name `unpack` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_win32com_interop.py:88:26: Name `unpack` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_win32com_interop.py:97:26: Name `unpack` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_win32com_interop.py:115:12: Name `_PyCom_PyObjectFromIUnknown` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_win32com_interop.py:137:16: Name `win32com` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_win32com_interop.py:153:16: Name `win32com` used when possibly not defined
- warning[possibly-unresolved-reference] comtypes/test/test_word.py:69:31: Name `Word` used when possibly not defined
+ error[invalid-return-type] comtypes/typeinfo.py:388:16: Return type does not match returned value: expected `tuple[str, str | None, int, str | None]`, found `tuple[None | Unknown, None | Unknown, Unknown, None | Unknown]`
- Found 545 diagnostics
+ Found 494 diagnostics

dedupe (https://github.com/dedupeio/dedupe)
- warning[possibly-unresolved-reference] dedupe/training.py:306:21: Name `covered_sample_matches` used when possibly not defined
- warning[possibly-unresolved-reference] dedupe/training.py:306:46: Name `sample_match_cover` used when possibly not defined
- warning[possibly-unresolved-reference] dedupe/training.py:307:25: Name `covered_comparisons` used when possibly not defined
- Found 63 diagnostics
+ Found 60 diagnostics

alerta (https://github.com/alerta/alerta)
- warning[possibly-unresolved-reference] alerta/app.py:107:14: Name `Celery` used when possibly not defined
- warning[possibly-unresolved-reference] alerta/auth/utils.py:24:16: Name `bcrypt` used when possibly not defined
- warning[possibly-unresolved-reference] alerta/auth/utils.py:24:40: Name `bcrypt` used when possibly not defined
- warning[possibly-unresolved-reference] alerta/auth/utils.py:27:16: Name `bcrypt` used when possibly not defined
+ warning[possibly-unbound-attribute] alerta/database/backends/mongodb/base.py:805:28: Attribute `where` on type `Unknown | None | (Unknown & ~AlwaysFalsy)` is possibly unbound
+ warning[possibly-unbound-attribute] alerta/database/backends/mongodb/base.py:843:28: Attribute `where` on type `Unknown | None | (Unknown & ~AlwaysFalsy)` is possibly unbound
- warning[possibly-unresolved-reference] alerta/utils/mailer.py:38:15: Name `MIMEMultipart` used when possibly not defined
- warning[possibly-unresolved-reference] alerta/utils/mailer.py:44:20: Name `MIMEText` used when possibly not defined
- warning[possibly-unresolved-reference] alerta/utils/mailer.py:49:19: Name `ssl` used when possibly not defined
- warning[possibly-unresolved-reference] alerta/utils/mailer.py:55:22: Name `smtplib` used when possibly not defined
- warning[possibly-unresolved-reference] alerta/utils/mailer.py:58:22: Name `smtplib` used when possibly not defined
- warning[possibly-unresolved-reference] alerta/utils/mailer.py:72:16: Name `smtplib` used when possibly not defined
- warning[possibly-unresolved-reference] alerta/utils/mailer.py:74:26: Name `socket` used when possibly not defined
- warning[possibly-unresolved-reference] alerta/utils/mailer.py:74:41: Name `socket` used when possibly not defined
- error[unresolved-reference] alerta/webhooks/custom.py:51:92: Name `alert` used when not defined
+ warning[unused-ignore-comment] alerta/webhooks/custom.py:50:123: Unused blanket `type: ignore` directive
- Found 477 diagnostics
+ Found 467 diagnostics

trio (https://github.com/python-trio/trio)
- error[invalid-type-form] src/trio/_core/_io_kqueue.py:150:30: List literals are not allowed in this context in a type expression
+ error[invalid-argument-type] src/trio/_core/_io_kqueue.py:287:58: Argument is incorrect: Expected `bool`, found `ClosedResourceError`
- error[invalid-type-form] src/trio/_core/_io_windows.py:931:29: List literals are not allowed in this context in a type expression
- warning[possibly-unresolved-reference] src/trio/_core/_run.py:140:25: Name `get_pretty_function_description` used when possibly not defined
- error[unresolved-reference] src/trio/_core/_tests/test_guest_mode.py:70:13: Name `todo` used when not defined
- error[unresolved-reference] src/trio/_core/_tests/test_guest_mode.py:71:9: Name `todo` used when not defined
- error[unresolved-reference] src/trio/_core/_tests/test_guest_mode.py:80:13: Name `todo` used when not defined
- error[unresolved-reference] src/trio/_core/_tests/test_guest_mode.py:81:9: Name `todo` used when not defined
- error[unresolved-reference] src/trio/_core/_tests/test_guest_mode.py:85:9: Name `todo` used when not defined
+ warning[unused-ignore-comment] src/trio/_core/_tests/test_ki.py:167:23: Unused blanket `type: ignore` directive
- error[call-non-callable] src/trio/_core/_tests/test_ki.py:171:19: Object of type `None` is not callable
+ warning[unused-ignore-comment] src/trio/_core/_tests/test_ki.py:176:23: Unused blanket `type: ignore` directive
- error[call-non-callable] src/trio/_core/_tests/test_ki.py:180:19: Object of type `None` is not callable
+ warning[unused-ignore-comment] src/trio/_core/_tests/test_ki.py:185:23: Unused blanket `type: ignore` directive
- error[call-non-callable] src/trio/_core/_tests/test_ki.py:190:19: Object of type `None` is not callable
+ warning[unused-ignore-comment] src/trio/_core/_tests/test_ki.py:194:23: Unused blanket `type: ignore` directive
- error[call-non-callable] src/trio/_core/_tests/test_ki.py:199:19: Object of type `None` is not callable
- warning[possibly-unresolved-reference] src/trio/_deprecate.py:93:17: Name `thing` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_highlevel_open_unix_stream.py:61:19: Name `AF_UNIX` used when possibly not defined
- error[unresolved-reference] src/trio/_subprocess.py:763:26: Name `killer_cscope` used when not defined
+ error[call-non-callable] src/trio/_subprocess.py:764:31: Object of type `None` is not callable
- warning[possibly-unresolved-reference] src/trio/_subprocess_platform/waitid.py:17:9: Name `waitid` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_subprocess_platform/waitid.py:57:18: Name `waitid_ffi` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_subprocess_platform/waitid.py:58:15: Name `waitid_cffi` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_subprocess_platform/waitid.py:59:25: Name `waitid_ffi` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_sync.py:99:36: Name `task` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_dtls.py:36:11: Name `SSL` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_dtls.py:36:23: Name `SSL` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_dtls.py:42:11: Name `SSL` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_dtls.py:42:23: Name `SSL` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_exports.py:306:28: Name `cache` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_highlevel_serve_listeners.py:120:19: Name `error` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_highlevel_serve_listeners.py:123:25: Name `error` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_socket.py:667:27: Name `local` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_ssl.py:208:15: Name `SSL` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_ssl.py:208:27: Name `SSL` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_ssl.py:225:28: Name `SSL` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_ssl.py:227:22: Name `SSL` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_ssl.py:277:24: Name `SSL` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_ssl.py:281:24: Name `SSL` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_ssl.py:301:28: Name `SSL` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_ssl.py:316:36: Name `SSL` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_ssl.py:325:40: Name `SSL` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_wait_for_object.py:29:15: Name `kernel32` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_wait_for_object.py:29:37: Name `ffi` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_wait_for_object.py:29:60: Name `ffi` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_wait_for_object.py:30:5: Name `kernel32` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_wait_for_object.py:31:5: Name `WaitForMultipleObjects_sync` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_wait_for_object.py:32:5: Name `kernel32` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_wait_for_object.py:36:15: Name `kernel32` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_wait_for_object.py:36:37: Name `ffi` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_wait_for_object.py:36:60: Name `ffi` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_wait_for_object.py:37:15: Name `kernel32` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_wait_for_object.py:37:37: Name `ffi` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_wait_for_object.py:37:60: Name `ffi` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_wait_for_object.py:38:5: Name `kernel32` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_wait_for_object.py:39:5: Name `WaitForMultipleObjects_sync` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_wait_for_object.py:40:5: Name `kernel32` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_wait_for_object.py:41:5: Name `kernel32` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_wait_for_object.py:45:15: Name `kernel32` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_wait_for_object.py:45:37: Name `ffi` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_wait_for_object.py:45:60: Name `ffi` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_wait_for_object.py:46:15: Name `kernel32` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_wait_for_object.py:46:37: Name `ffi` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_wait_for_object.py:46:60: Name `ffi` used when possibly not defined
- warning[possibly-unresolved-reference] src/trio/_tests/test_wait_for_object.py:47:5: Name `kernel32` used when possibly not ...*[Comment body truncated]*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ty Multi-file analysis & type inference
Projects
None yet
1 participant