Summary

Comparing branches/commits:
Old: main (merge base) e917d309
New: 19763/merge bee321eb
Lint Rule Removed Added Changed
Total 9 62 6
invalid-key 0 37 0
invalid-argument-type 0 13 4
unused-ignore-comment 7 0 0
possibly-unbound-attribute 2 2 2
non-subscriptable 0 3 0
invalid-assignment 0 2 0
possibly-unresolved-reference 0 2 0
unresolved-attribute 0 2 0
unsupported-operator 0 1 0

altair (https://github.com/vega/altair)

tests/vegalite/v6/test_api.py

[error] invalid-key - :558:17 - Invalid key access on TypedDict `_Value`: Unknown key "condition"
[error] invalid-key - :604:32 - Invalid key access on TypedDict `_Value`: Unknown key "condition"

cloud-init (https://github.com/canonical/cloud-init)

cloudinit/netinfo.py

[warning] possibly-unbound-attribute - :598:25 -
Old: Attribute `get` on type `str | @Todo(Support for `TypedDict`)` is possibly unbound
New: Attribute `get` on type `str | Unknown` is possibly unbound
[warning] possibly-unbound-attribute - :611:25 -
Old: Attribute `get` on type `str | @Todo(Support for `TypedDict`)` is possibly unbound
New: Attribute `get` on type `str | Unknown` is possibly unbound

cloudinit/sources/DataSourceVMware.py

[error] invalid-key - :1000:48 - TypedDict `Interface` cannot be indexed with a key of type `Literal[0]`
[error] invalid-key - :1001:26 - TypedDict `Interface` cannot be indexed with a key of type `Literal[0]`
[error] invalid-key - :1008:48 - TypedDict `Interface` cannot be indexed with a key of type `Literal[0]`
[error] invalid-key - :1009:26 - TypedDict `Interface` cannot be indexed with a key of type `Literal[0]`
[error] invalid-key - :1018:53 - TypedDict `Interface` cannot be indexed with a key of type `Literal[0]`
[error] invalid-key - :1028:53 - TypedDict `Interface` cannot be indexed with a key of type `Literal[0]`

discord.py (https://github.com/Rapptz/discord.py)

discord/soundboard.py

[warning] unused-ignore-comment - :217:70 - Unused blanket `type: ignore` directive

discord/state.py

[warning] unused-ignore-comment - :1800:34 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :1806:93 - Unused blanket `type: ignore` directive

discord/webhook/async_.py

[warning] unused-ignore-comment - :764:34 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :766:100 - Unused blanket `type: ignore` directive

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

freqtrade/optimize/optimize_reports/optimize_reports.py

[error] invalid-argument-type - :503:9 - Argument to function `generate_pair_metrics` is incorrect: Expected `DataFrame`, found `Series[Any] | Unknown`
[error] invalid-argument-type - :514:91 - Argument to function `generate_all_periodic_breakdown_stats` is incorrect: Expected `list[Unknown]`, found `DataFrame`
[error] invalid-argument-type - :552:48 - Argument to function `calculate_trade_volume` is incorrect: Expected `list[dict[str, Any]]`, found `list[dict[Hashable, Any]]`

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

mesonbuild/dependencies/dev.py

[error] invalid-argument-type - :589:75 - Argument to function `version_compare_many` is incorrect: Expected `Iterable[str]`, found `str | None`

mesonbuild/interpreter/interpreter.py

[error] invalid-argument-type - :846:65 - Argument to bound method `__init__` is incorrect: Expected `bool`, found `bool | None`
[error] invalid-key - :1779:98 - Invalid key access on TypedDict `FindProgram`: Unknown key "version_argument"
[error] invalid-key - :1820:29 - Invalid key access on TypedDict `FuncDependency`: Unknown key "include_type"
[error] invalid-key - :2286:29 - Invalid key access on TypedDict `BaseTest`: Unknown key "args"
[error] invalid-key - :2291:29 - Invalid key access on TypedDict `BaseTest`: Unknown key "protocol"
[error] invalid-key - :2293:29 - Invalid key access on TypedDict `BaseTest`: Unknown key "verbose"
[error] invalid-key - :2336:19 - Invalid key access on TypedDict `FuncInstallHeaders`: Unknown key "preserve_path"
[error] invalid-key - :2521:23 - Invalid key access on TypedDict `FuncInstallData`: Unknown key "preserve_path"
[error] invalid-key - :2527:90 - Invalid key access on TypedDict `FuncInstallData`: Unknown key "install_tag" - did you mean "install_dir"?
[error] invalid-key - :2528:60 - Invalid key access on TypedDict `FuncInstallData`: Unknown key "preserve_path"
[error] invalid-key - :2595:32 - Invalid key access on TypedDict `FuncInstallSubdir`: Unknown key "install_tag" - did you mean "install_dir"?
[error] invalid-argument-type - :2711:69 - Argument to function `do_conf_file` is incorrect: Expected `ConfigurationData`, found `(dict[str, str | int] & ~dict[Unknown, Unknown]) | ConfigurationData`
[error] invalid-argument-type - :2728:54 - Argument to function `dump_conf_header` is incorrect: Expected `ConfigurationData`, found `(dict[str, str | int] & ~dict[Unknown, Unknown]) | ConfigurationData`
[error] invalid-assignment - :2729:13 - Object of type `Literal[True]` is not assignable to attribute `used` on type `(dict[str, str | int] & ~dict[Unknown, Unknown]) | ConfigurationData`
[error] invalid-argument-type - :2741:47 - Argument to function `substitute_values` is incorrect: Expected `list[str | ExternalProgram]`, found `list[Executable | ExternalProgram | Compiler | File | str]`
[error] invalid-key - :2763:21 - Invalid key access on TypedDict `ConfigureFile`: Unknown key "copy"
[error] invalid-key - :3418:24 - Invalid key access on TypedDict `Executable`: Unknown key "language_args"
[error] invalid-key - :3418:24 - Invalid key access on TypedDict `Jar`: Unknown key "language_args"
[error] invalid-key - :3418:24 - Invalid key access on TypedDict `SharedLibrary`: Unknown key "language_args"
[error] invalid-key - :3418:24 - Invalid key access on TypedDict `SharedModule`: Unknown key "language_args"
[error] invalid-key - :3418:24 - Invalid key access on TypedDict `StaticLibrary`: Unknown key "language_args"
[error] invalid-key - :3423:24 - Invalid key access on TypedDict `Executable`: Unknown key "language_args"
[error] invalid-key - :3423:24 - Invalid key access on TypedDict `Jar`: Unknown key "language_args"
[error] invalid-key - :3423:24 - Invalid key access on TypedDict `SharedLibrary`: Unknown key "language_args"
[error] invalid-key - :3423:24 - Invalid key access on TypedDict `SharedModule`: Unknown key "language_args"
[error] invalid-key - :3423:24 - Invalid key access on TypedDict `StaticLibrary`: Unknown key "language_args"
[error] invalid-argument-type - :2704:47 -
Old: Argument to function `bold` is incorrect: Expected `str`, found `@Todo(Support for `TypedDict`) | str | ExternalProgram`
New: Argument to function `bold` is incorrect: Expected `str`, found `str | ExternalProgram`
[error] invalid-argument-type - :2742:47 -
Old: Argument to function `bold` is incorrect: Expected `str`, found `@Todo(Support for `TypedDict`) | str | ExternalProgram`
New: Argument to function `bold` is incorrect: Expected `str`, found `str | ExternalProgram`
[error] invalid-argument-type - :2756:56 -
Old: Argument to function `bold` is incorrect: Expected `str`, found `(@Todo(Support for `TypedDict`) & ~AlwaysTruthy & ~AlwaysFalsy) | (str & ~AlwaysFalsy) | (ExternalProgram & ~AlwaysTruthy & ~AlwaysFalsy)`
New: Argument to function `bold` is incorrect: Expected `str`, found `(str & ~AlwaysFalsy) | (ExternalProgram & ~AlwaysTruthy & ~AlwaysFalsy)`

mesonbuild/modules/cmake.py

[error] invalid-assignment - :409:9 - Object of type `Literal[True]` is not assignable to attribute `used` on type `ConfigurationData | (dict[Unknown, Unknown] & ~dict[Unknown, Unknown])`
[error] invalid-argument-type - :331:109 - Argument is incorrect: Expected `str`, found `str | None`

mesonbuild/modules/gnome.py

[warning] possibly-unbound-attribute - :1554:55 - Attribute `get_target_dir` on type `Unknown | Backend | None` is possibly unbound
[warning] possibly-unbound-attribute - :1600:24 - Attribute `get_executable_serialisation` on type `Unknown | Backend | None` is possibly unbound

mesonbuild/modules/pkgconfig.py

[error] invalid-argument-type - :733:103 -
Old: Argument is incorrect: Expected `str`, found `(@Todo(Support for `TypedDict`) & ~AlwaysFalsy) | None | Unknown | str`
New: Argument is incorrect: Expected `str`, found `str | None | Unknown`

mesonbuild/modules/python.py

[error] invalid-key - :291:34 - Invalid key access on TypedDict `PyInstallKw`: Unknown key "preserve_path"

openlibrary (https://github.com/internetarchive/openlibrary)

openlibrary/solr/updater/edition.py

[warning] unused-ignore-comment - :346:37 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :348:57 - Unused blanket `type: ignore` directive

openlibrary/plugins/worksearch/code.py

[error] invalid-argument-type - :406:37 - Argument to function `urlsafe` is incorrect: Expected `str`, found `str | None`
[warning] possibly-unbound-attribute - :410:13 - Attribute `split` on type `str | None` is possibly unbound
[error] invalid-key - :454:33 - TypedDict `SolrDocument` cannot be indexed with a key of type `str`

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

paasta_tools/setup_prometheus_adapter_config.py

[error] unsupported-operator - :734:8 - Operator `in` is not supported for types `str` and `None`, in comparing `Literal["seriesQuery"]` with `dict[Unknown, Unknown] | None`
[error] non-subscriptable - :737:24 - Cannot subscript object of type `None` with no `__getitem__` method
[error] non-subscriptable - :738:25 - Cannot subscript object of type `None` with no `__getitem__` method
[error] non-subscriptable - :753:22 - Cannot subscript object of type `None` with no `__getitem__` method
[warning] possibly-unbound-attribute - :772:22 - Attribute `get` on type `dict[Unknown, Unknown] | None` is possibly unbound

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

pydantic/_internal/_config.py

[error] invalid-key - :160:44 - TypedDict `ConfigDict` cannot be indexed with a key of type `str`

pydantic/deprecated/config.py

[error] invalid-key - :22:43 - TypedDict `ConfigDict` cannot be indexed with a key of type `str`

pydantic/_internal/_generate_schema.py

[error] unresolved-attribute - :2762:21 - Type `DefinitionReferenceSchema & ~None` has no attribute `clear`
[error] unresolved-attribute - :2769:21 - Type `DefinitionReferenceSchema & ~None` has no attribute `clear`

pydantic/json_schema.py

[error] invalid-key - :2054:47 - Invalid key access on TypedDict `IncExDictSerSchema`: Unknown key "schema"
[error] invalid-key - :2054:47 - Invalid key access on TypedDict `IncExSeqSerSchema`: Unknown key "schema"

rclip (https://github.com/yurijmikhalevich/rclip)

rclip/main.py

[error] invalid-key - :38:13 - TypedDict `ImageMeta` cannot be indexed with a key of type `str`
[error] invalid-key - :38:27 - TypedDict `Image` cannot be indexed with a key of type `str`

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

corporate/views/support.py

[error] invalid-argument-type - :582:35 - Argument to bound method `__init__` is incorrect: Expected `Realm | None`, found `Self@Model`
[error] invalid-argument-type - :894:52 - Argument to bound method `__init__` is incorrect: Expected `RemoteRealm`, found `Self@Model`
[warning] possibly-unresolved-reference - :894:65 - Name `remote_realm` used when possibly not defined
[error] invalid-argument-type - :902:52 - Argument to bound method `__init__` is incorrect: Expected `RemoteZulipServer`, found `Self@Model`
[warning] possibly-unresolved-reference - :902:66 - Name `remote_server` used when possibly not defined