Summary

Comparing branches/commits:
Old: main (merge base) 87dafb87
New: 21439/merge c09920d0
Lint Rule Removed Added Changed
Total 46 0 45
invalid-argument-type 20 0 13
unsupported-operator 0 0 19
type-assertion-failure 12 0 0
invalid-assignment 6 0 4
invalid-return-type 6 0 3
invalid-parameter-default 0 0 3
possibly-missing-attribute 0 0 3
no-matching-overload 1 0 0
non-subscriptable 1 0 0

Expression (https://github.com/cognitedata/Expression)

tests/test_map.py

[error] invalid-argument-type - :142:34 - Argument to bound method `try_get_value` is incorrect: Expected `list[Literal[1, 2]]`, found `list[int]`
[error] invalid-argument-type - :143:34 - Argument to bound method `try_get_value` is incorrect: Expected `list[Literal[1, 2]]`, found `list[int]`
[error] invalid-argument-type - :144:34 - Argument to bound method `try_get_value` is incorrect: Expected `list[Literal[1, 2]]`, found `list[int]`

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

altair/utils/core.py

[error] invalid-assignment - :219:1 - Object of type `frozenset[str]` is not assignable to `frozenset[Literal["field", "aggregate", "type", "timeUnit"]]`

core (https://github.com/home-assistant/core)

homeassistant/components/ukraine_alarm/coordinator.py

[error] invalid-assignment - :57:13 - Invalid subscript assignment with key of type `Unknown` and value of type `Literal[True]` on object of type `dict[Unknown | str, Literal[False]]`

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

ddtrace/appsec/_exploit_prevention/stack_traces.py

[error] unsupported-operator - :50:44 -
Old: Operator `>=` is not supported for types `int` and `EnvVariable[Literal[2]]`, in comparing `int` with `(Unknown & ~AlwaysFalsy) | (EnvVariable[Literal[2]] & ~AlwaysFalsy)`
New: Operator `>=` is not supported for types `int` and `EnvVariable[int]`, in comparing `int` with `(Unknown & ~AlwaysFalsy) | (EnvVariable[int] & ~AlwaysFalsy)`
[error] unsupported-operator - :65:8 -
Old: Operator `>` is not supported for types `int` and `EnvVariable[Literal[32]]`, in comparing `int` with `Unknown | EnvVariable[Literal[32]]`
New: Operator `>` is not supported for types `int` and `EnvVariable[int]`, in comparing `int` with `Unknown | EnvVariable[int]`
[error] unsupported-operator - :65:21 -
Old: Operator `>` is not supported for types `EnvVariable[Literal[32]]` and `int`, in comparing `Unknown | EnvVariable[Literal[32]]` with `Literal[0]`
New: Operator `>` is not supported for types `EnvVariable[int]` and `int`, in comparing `Unknown | EnvVariable[int]` with `Literal[0]`
[error] unsupported-operator - :66:25 -
Old: Operator `*` is unsupported between objects of type `Unknown | EnvVariable[Literal[32]]` and `Unknown | EnvVariable[float]`
New: Operator `*` is unsupported between objects of type `Unknown | EnvVariable[int]` and `Unknown | EnvVariable[float]`
[error] unsupported-operator - :67:24 -
Old: Operator `-` is unsupported between objects of type `Unknown | EnvVariable[Literal[32]]` and `int`
New: Operator `-` is unsupported between objects of type `Unknown | EnvVariable[int]` and `int`

ddtrace/appsec/_iast/_metrics.py

[warning] possibly-missing-attribute - :25:23 -
Old: Attribute `upper` may be missing on object of type `Unknown | EnvVariable[Literal["INFORMATION"]]`
New: Attribute `upper` may be missing on object of type `Unknown | EnvVariable[str]`

ddtrace/appsec/_iast/sampling/vulnerability_detection.py

[error] unsupported-operator - :40:8 -
Old: Operator `>=` is not supported for types `int` and `EnvVariable[Literal[2]]`, in comparing `int` with `Unknown | EnvVariable[Literal[2]]`
New: Operator `>=` is not supported for types `int` and `EnvVariable[int]`, in comparing `int` with `Unknown | EnvVariable[int]`
[error] unsupported-operator - :88:8 -
Old: Operator `>=` is not supported for types `int` and `EnvVariable[Literal[2]]`, in comparing `Unknown | int` with `Unknown | EnvVariable[Literal[2]]`
New: Operator `>=` is not supported for types `int` and `EnvVariable[int]`, in comparing `Unknown | int` with `Unknown | EnvVariable[int]`

ddtrace/appsec/_iast/secure_marks/configuration.py

[error] invalid-argument-type - :199:51 -
Old: Argument to function `parse_security_controls_config` is incorrect: Expected `str`, found `(Unknown & ~AlwaysFalsy) | (EnvVariable[Literal[""]] & ~AlwaysFalsy)`
New: Argument to function `parse_security_controls_config` is incorrect: Expected `str`, found `(Unknown & ~AlwaysFalsy) | (EnvVariable[str] & ~AlwaysFalsy)`

ddtrace/appsec/_iast/taint_sinks/_base.py

[error] unsupported-operator - :69:20 -
Old: Operator `<` is not supported for types `int` and `EnvVariable[Literal[2]]`, in comparing `int` with `Unknown | EnvVariable[Literal[2]]`
New: Operator `<` is not supported for types `int` and `EnvVariable[int]`, in comparing `int` with `Unknown | EnvVariable[int]`

ddtrace/appsec/_processor.py

[warning] possibly-missing-attribute - :106:49 -
Old: Attribute `encode` may be missing on object of type `Unknown | EnvVariable[Unknown | Literal["(?i)pass|pw(?:or)?d|secret|(?:api|private|public|access)[_-]?key|token|consumer[_-]?(?:id|key|secret)|sign(?:ed|ature)|bearer|authorization|jsessionid|phpsessid|asp\\.net[_-]sessionid|sid|jwt"]]`
New: Attribute `encode` may be missing on object of type `Unknown | EnvVariable[Unknown | str]`
[warning] possibly-missing-attribute - :107:51 -
Old: Attribute `encode` may be missing on object of type `Unknown | EnvVariable[Unknown | Literal["(?i)(?:p(?:ass)?w(?:or)?d|pass(?:[_-]?phrase)?|secret(?:[_-]?key)?|(?:(?:api|private|public|access)[_-]?)key(?:[_-]?id)?|(?:(?:auth|access|id|refresh)[_-]?)?token|consumer[_-]?(?:id|key|secret)|sign(?:ed|ature)?|auth(?:entication|orization)?|jsessionid|phpsessid|asp\\.net(?:[_-]|-)sessionid|sid|jwt)(?:\\s*=([^;&]+)|\"\\s*:\\s*(\"[^\"]+\"|\\d+))|bearer\\s+([a-z0-9\\._\\-]+)|token\\s*:\\s*([a-z0-9]{13})|gh[opsu]_([0-9a-zA-Z]{36})|ey[I-L][\\w=-]+\\.(ey[I-L][\\w=-]+(?:\\.[\\w.+\\/=-]+)?)|[\\-]{5}BEGIN[a-z\\s]+PRIVATE\\sKEY[\\-]{5}([^\\-]+)[\\-]{5}END[a-z\\s]+PRIVATE\\sKEY|ssh-rsa\\s*([a-z0-9\\/\\.+]{100,})"]]`
New: Attribute `encode` may be missing on object of type `Unknown | EnvVariable[Unknown | str]`

ddtrace/appsec/ai_guard/_api_client.py

[error] unsupported-operator - :107:25 -
Old: Operator `//` is unsupported between objects of type `Unknown | EnvVariable[Literal[10000]]` and `Literal[1000]`
New: Operator `//` is unsupported between objects of type `Unknown | EnvVariable[int]` and `Literal[1000]`
[error] unsupported-operator - :116:12 -
Old: Operator `>` is not supported for types `int` and `EnvVariable[Literal[16]]`, in comparing `int` with `Unknown | EnvVariable[Literal[16]]`
New: Operator `>` is not supported for types `int` and `EnvVariable[int]`, in comparing `int` with `Unknown | EnvVariable[int]`
[error] unsupported-operator - :120:29 -
Old: Unary operator `-` is unsupported for type `Unknown | EnvVariable[Literal[16]]`
New: Unary operator `-` is unsupported for type `Unknown | EnvVariable[int]`
[error] unsupported-operator - :128:16 -
Old: Operator `>` is not supported for types `int` and `EnvVariable[Literal[524288]]`, in comparing `int` with `Unknown | EnvVariable[Literal[524288]]`
New: Operator `>` is not supported for types `int` and `EnvVariable[int]`, in comparing `int` with `Unknown | EnvVariable[int]`

ddtrace/contrib/internal/django/user.py

[error] invalid-argument-type - :50:53 -
Old: Argument expression after ** must be a mapping with `str` key type: Found `Unknown | (EnvVariable[Literal[""]] & ~AlwaysFalsy) | str`
New: Argument expression after ** must be a mapping with `str` key type: Found `Unknown | (EnvVariable[str] & ~AlwaysFalsy) | str`

ddtrace/debugging/_exception/replay.py

[error] unsupported-operator - :332:35 -
Old: Operator `<` is not supported for types `int` and `EnvVariable[Literal[8]]`, in comparing `int` with `Unknown | EnvVariable[Literal[8]]`
New: Operator `<` is not supported for types `int` and `EnvVariable[int]`, in comparing `int` with `Unknown | EnvVariable[int]`
[error] unsupported-operator - :343:33 -
Old: Operator `>=` is not supported for types `int` and `EnvVariable[Literal[8]]`, in comparing `int` with `Unknown | EnvVariable[Literal[8]]`
New: Operator `>=` is not supported for types `int` and `EnvVariable[int]`, in comparing `int` with `Unknown | EnvVariable[int]`

ddtrace/debugging/_probe/remoteconfig.py

[error] unsupported-operator - :302:13 -
Old: Operator `+` is unsupported between objects of type `int | float` and `Unknown | EnvVariable[Literal[3600]]`
New: Operator `+` is unsupported between objects of type `int | float` and `Unknown | EnvVariable[int]`

ddtrace/internal/core/crashtracking.py

[error] invalid-argument-type - :111:9 -
Old: Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | EnvVariable[Literal[True]]`
New: Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | EnvVariable[bool]`
[error] invalid-argument-type - :112:9 -
Old: Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | EnvVariable[Literal[True]]`
New: Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | EnvVariable[bool]`

ddtrace/internal/gitmetadata.py

[error] invalid-argument-type - :52:35 -
Old: Argument to function `parse_tags_str` is incorrect: Expected `str | None`, found `Unknown | EnvVariable[Literal[""]]`
New: Argument to function `parse_tags_str` is incorrect: Expected `str | None`, found `Unknown | EnvVariable[str]`

ddtrace/internal/openfeature/writer.py

[error] invalid-assignment - :99:13 -
Old: Object of type `Unknown | EnvVariable[Literal[True]]` is not assignable to `bool | None`
New: Object of type `Unknown | EnvVariable[bool]` is not assignable to `bool | None`

ddtrace/internal/settings/_opentelemetry.py

[error] invalid-argument-type - :10:61 -
Old: Argument to function `_get_default_endpoint` is incorrect: Expected `str`, found `Unknown | EnvVariable[Literal["grpc"]]`
New: Argument to function `_get_default_endpoint` is incorrect: Expected `str`, found `Unknown | EnvVariable[str]`

ddtrace/internal/settings/asm.py

[error] invalid-assignment - :199:5 -
Old: Object of type `EnvVariable[Literal[1]]` is not assignable to `int`
New: Object of type `EnvVariable[int]` is not assignable to `int`
[error] invalid-return-type - :322:16 -
Old: Return type does not match returned value: expected `bool`, found `Unknown | Literal[False] | (EnvVariable[Literal[False]] & ~AlwaysTruthy) | EnvVariable[Literal[True]]`
New: Return type does not match returned value: expected `bool`, found `Unknown | Literal[False] | EnvVariable[bool]`
[error] invalid-return-type - :326:16 -
Old: Return type does not match returned value: expected `bool`, found `(Unknown & ~AlwaysFalsy & ~AlwaysTruthy) | (EnvVariable[Literal[False]] & ~AlwaysFalsy & ~AlwaysTruthy) | bool`
New: Return type does not match returned value: expected `bool`, found `(Unknown & ~AlwaysFalsy & ~AlwaysTruthy) | (EnvVariable[bool] & ~AlwaysFalsy & ~AlwaysTruthy) | bool`
[error] invalid-return-type - :335:20 -
Old: Return type does not match returned value: expected `str`, found `Unknown | EnvVariable[Literal["identification"]] | Literal["disabled"]`
New: Return type does not match returned value: expected `str`, found `Unknown | EnvVariable[str] | Literal["disabled"]`

ddtrace/internal/settings/profiling.py

[error] invalid-argument-type - :124:9 - Argument to bound method `v` is incorrect: Expected `((str, /) -> Literal[False]) | None`, found `def _parse_profiling_enabled(raw: str) -> bool`

ddtrace/internal/telemetry/writer.py

[error] invalid-argument-type - :68:45 -
Old: Argument to bound method `get_host` is incorrect: Expected `str`, found `Unknown | EnvVariable[Literal["datadoghq.com"]]`
New: Argument to bound method `get_host` is incorrect: Expected `str`, found `Unknown | EnvVariable[str]`
[error] invalid-assignment - :181:13 -
Old: Object of type `(Unknown & ~AlwaysFalsy) | (EnvVariable[Literal[False]] & ~AlwaysFalsy) | bool` is not assignable to `bool | None`
New: Object of type `(Unknown & ~AlwaysFalsy) | (EnvVariable[bool] & ~AlwaysFalsy) | bool` is not assignable to `bool | None`
[error] invalid-argument-type - :350:46 -
Old: Argument to bound method `flush` is incorrect: Expected `int`, found `Unknown | EnvVariable[Unknown | Literal[300]]`
New: Argument to bound method `flush` is incorrect: Expected `int`, found `Unknown | EnvVariable[Unknown | int]`

ddtrace/profiling/collector/_lock.py

[error] invalid-parameter-default - :268:9 -
Old: Default value of type `Unknown | EnvVariable[Literal[64]]` is not assignable to annotated parameter type `int`
New: Default value of type `Unknown | EnvVariable[int]` is not assignable to annotated parameter type `int`

ddtrace/profiling/profiler.py

[error] invalid-parameter-default - :129:9 -
Old: Default value of type `Unknown | EnvVariable[Literal[True]]` is not assignable to annotated parameter type `bool`
New: Default value of type `Unknown | EnvVariable[bool]` is not assignable to annotated parameter type `bool`
[error] invalid-parameter-default - :130:9 -
Old: Default value of type `Unknown | EnvVariable[Literal[True]]` is not assignable to annotated parameter type `bool`
New: Default value of type `Unknown | EnvVariable[bool]` is not assignable to annotated parameter type `bool`
[error] invalid-argument-type - :180:13 -
Old: Argument to function `config` is incorrect: Expected `int | None`, found `Unknown | EnvVariable[Literal[64]]`
New: Argument to function `config` is incorrect: Expected `int | None`, found `Unknown | EnvVariable[int]`
[error] invalid-argument-type - :181:13 -
Old: Argument to function `config` is incorrect: Expected `bool | None`, found `Unknown | EnvVariable[Literal[True]]`
New: Argument to function `config` is incorrect: Expected `bool | None`, found `Unknown | EnvVariable[bool]`
[error] invalid-argument-type - :183:13 -
Old: Argument to function `config` is incorrect: Expected `int | None`, found `Unknown | EnvVariable[Literal[4]]`
New: Argument to function `config` is incorrect: Expected `int | None`, found `Unknown | EnvVariable[int]`
[error] invalid-argument-type - :184:13 -
Old: Argument to function `config` is incorrect: Expected `int | None`, found `Unknown | EnvVariable[Literal[10000]]`
New: Argument to function `config` is incorrect: Expected `int | None`, found `Unknown | EnvVariable[int]`

tests/appsec/ai_guard/api/test_api_client.py

[error] unsupported-operator - :195:20 -
Old: Operator `+` is unsupported between objects of type `Unknown | EnvVariable[Literal[16]]` and `Literal[1]`
New: Operator `+` is unsupported between objects of type `Unknown | EnvVariable[int]` and `Literal[1]`
[error] unsupported-operator - :210:35 -
Old: Operator `+` is unsupported between objects of type `Unknown | EnvVariable[Literal[524288]]` and `Literal[1]`
New: Operator `+` is unsupported between objects of type `Unknown | EnvVariable[int]` and `Literal[1]`

tests/appsec/iast/test_overhead_control_engine.py

[error] unsupported-operator - :73:48 -
Old: Operator `+` is unsupported between objects of type `Unknown | EnvVariable[Literal[2]]` and `Literal[1]`
New: Operator `+` is unsupported between objects of type `Unknown | EnvVariable[int]` and `Literal[1]`

tests/debugging/exception/test_replay.py

[error] unsupported-operator - :347:17 -
Old: Operator `*` is unsupported between objects of type `Unknown | EnvVariable[Literal[8]]` and `Literal[2]`
New: Operator `*` is unsupported between objects of type `Unknown | EnvVariable[int]` and `Literal[2]`

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

dedupe/predicates.py

[error] invalid-return-type - :116:20 - Return type does not match returned value: expected `frozenset[Literal["0", "1"]]`, found `frozenset[str]`
[error] invalid-return-type - :118:20 - Return type does not match returned value: expected `frozenset[Literal["0", "1"]]`, found `frozenset[str]`

ibis (https://github.com/ibis-project/ibis)

ibis/backends/bigquery/tests/unit/test_compiler.py

[error] invalid-argument-type - :273:26 -
Old: Argument is incorrect: Expected `FrozenOrderedDict[str, DataType]`, found `dict[str | Unknown, Literal["string"]]`
New: Argument is incorrect: Expected `FrozenOrderedDict[str, DataType]`, found `dict[str | Unknown, str]`

ibis/backends/tests/test_udf.py

[error] invalid-return-type - :82:16 - Return type does not match returned value: expected `dict[str, int]`, found `dict[Unknown, Literal[0]]`
[error] invalid-return-type - :110:16 - Return type does not match returned value: expected `dict[str, int]`, found `dict[Unknown, Literal[0]]`
[error] invalid-return-type - :124:16 - Return type does not match returned value: expected `dict[str, int]`, found `dict[Unknown, Literal[0]]`

manticore (https://github.com/trailofbits/manticore)

manticore/core/manticore.py

[error] invalid-assignment - :1078:9 - Object of type `Literal[True]` is not assignable to attribute `value` on type `Unknown | c_bool | ValueProxy[Literal[False]]`
[error] invalid-assignment - :1156:9 - Object of type `Literal[True]` is not assignable to attribute `value` on type `Unknown | c_bool | ValueProxy[Literal[False]]`

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

mesonbuild/build.py

[error] invalid-assignment - :1293:9 -
Old: Object of type `list[Sequence[str | Literal[False]] | Literal[False]]` is not assignable to attribute `install_dir` of type `list[str | Literal[False]]`
New: Object of type `list[Sequence[str | bool] | Literal[False]]` is not assignable to attribute `install_dir` of type `list[str | Literal[False]]`

nox (https://github.com/wntrblm/nox)

nox/_resolver.py

[error] invalid-assignment - :167:13 - Invalid subscript assignment with key of type `Node@lazy_stable_topo_sort` and value of type `Literal[True]` on object of type `dict[Node@lazy_stable_topo_sort, Literal[False]]`

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

tests/scalars/test_scalars.py

[error] type-assertion-failure - :160:11 - Argument does not have asserted type `Interval[int]`
[error] type-assertion-failure - :176:11 - Argument does not have asserted type `Interval[int]`
[error] type-assertion-failure - :208:11 - Argument does not have asserted type `Interval[int]`
[error] type-assertion-failure - :225:11 - Argument does not have asserted type `Interval[int]`
[error] type-assertion-failure - :250:11 - Argument does not have asserted type `Interval[int]`
[error] type-assertion-failure - :251:11 - Argument does not have asserted type `Interval[int]`

tests/test_interval.py

[error] type-assertion-failure - :41:11 - Argument does not have asserted type `Interval[int]`
[error] type-assertion-failure - :42:11 - Argument does not have asserted type `Interval[int]`
[error] type-assertion-failure - :43:11 - Argument does not have asserted type `Interval[int]`
[error] type-assertion-failure - :45:11 - Argument does not have asserted type `Interval[int]`
[error] type-assertion-failure - :101:11 - Argument does not have asserted type `Interval[int]`
[error] type-assertion-failure - :103:11 - Argument does not have asserted type `Interval[int]`

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

psycopg/psycopg/_adapters_map.py

[error] invalid-assignment - :147:21 - Invalid subscript assignment with key of type `PyFormat` and value of type `Literal[True]` on object of type `dict[Unknown, Literal[False]]`

tests/types/test_array.py

[error] non-subscriptable - :314:12 - Cannot subscript object of type `int` with no `__getitem__` method

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

rotkehlchen/chain/ethereum/modules/yearn/decoder.py

[error] invalid-return-type - :404:13 - Return type does not match returned value: expected `dict[ChecksumAddress, str]`, found `dict[ChecksumAddress, Literal["yearn-v1", "yearn-v2"]]`

rotkehlchen/db/dbhandler.py

[error] no-matching-overload - :2576:9 - No overload of bound method `update` matches arguments

xarray (https://github.com/pydata/xarray)

xarray/computation/rolling.py

[error] invalid-argument-type - :112:45 - Argument to bound method `_mapping_to_list` is incorrect: Expected `Literal[False] | Mapping[Any, Literal[False]]`, found `bool | Mapping[Any, bool]`
[error] invalid-argument-type - :453:41 - Argument to bound method `_mapping_to_list` is incorrect: Expected `Literal[1] | Mapping[Any, Literal[1]]`, found `int | Mapping[Any, int]`
[error] invalid-argument-type - :989:41 - Argument to bound method `_mapping_to_list` is incorrect: Expected `Literal[1] | Mapping[Any, Literal[1]]`, found `int | Mapping[Any, int]`

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

zerver/tests/test_users.py

[error] invalid-argument-type - :256:25 - Method `__getitem__` of type `bound method dict[Literal["email"], Unknown].__getitem__(key: Literal["email"], /) -> Unknown` cannot be called with key of type `Literal["is_owner"]` on object of type `dict[Literal["email"], Unknown]`
[error] invalid-argument-type - :258:26 - Method `__getitem__` of type `bound method dict[Literal["email"], Unknown].__getitem__(key: Literal["email"], /) -> Unknown` cannot be called with key of type `Literal["is_owner"]` on object of type `dict[Literal["email"], Unknown]`
[error] invalid-argument-type - :315:25 - Method `__getitem__` of type `bound method dict[Literal["email"], Unknown].__getitem__(key: Literal["email"], /) -> Unknown` cannot be called with key of type `Literal["is_admin"]` on object of type `dict[Literal["email"], Unknown]`
[error] invalid-argument-type - :317:26 - Method `__getitem__` of type `bound method dict[Literal["email"], Unknown].__getitem__(key: Literal["email"], /) -> Unknown` cannot be called with key of type `Literal["is_admin"]` on object of type `dict[Literal["email"], Unknown]`
[error] invalid-argument-type - :358:26 - Method `__getitem__` of type `bound method dict[Literal["user_id"], Unknown].__getitem__(key: Literal["user_id"], /) -> Unknown` cannot be called with key of type `Literal["email"]` on object of type `dict[Literal["user_id"], Unknown]`
[error] invalid-argument-type - :359:27 - Method `__getitem__` of type `bound method dict[Literal["user_id"], Unknown].__getitem__(key: Literal["user_id"], /) -> Unknown` cannot be called with key of type `Literal["avatar_url"]` on object of type `dict[Literal["user_id"], Unknown]`
[error] invalid-argument-type - :360:26 - Method `__getitem__` of type `bound method dict[Literal["user_id"], Unknown].__getitem__(key: Literal["user_id"], /) -> Unknown` cannot be called with key of type `Literal["delivery_email"]` on object of type `dict[Literal["user_id"], Unknown]`
[error] invalid-argument-type - :384:26 - Method `__getitem__` of type `bound method dict[Literal["user_id"], Unknown].__getitem__(key: Literal["user_id"], /) -> Unknown` cannot be called with key of type `Literal["email"]` on object of type `dict[Literal["user_id"], Unknown]`
[error] invalid-argument-type - :386:13 - Method `__getitem__` of type `bound method dict[Literal["user_id"], Unknown].__getitem__(key: Literal["user_id"], /) -> Unknown` cannot be called with key of type `Literal["avatar_url"]` on object of type `dict[Literal["user_id"], Unknown]`
[error] invalid-argument-type - :399:26 - Method `__getitem__` of type `bound method dict[Literal["user_id"], Unknown].__getitem__(key: Literal["user_id"], /) -> Unknown` cannot be called with key of type `Literal["email"]` on object of type `dict[Literal["user_id"], Unknown]`
[error] invalid-argument-type - :401:13 - Method `__getitem__` of type `bound method dict[Literal["user_id"], Unknown].__getitem__(key: Literal["user_id"], /) -> Unknown` cannot be called with key of type `Literal["avatar_url"]` on object of type `dict[Literal["user_id"], Unknown]`
[error] invalid-argument-type - :403:26 - Method `__getitem__` of type `bound method dict[Literal["user_id"], Unknown].__getitem__(key: Literal["user_id"], /) -> Unknown` cannot be called with key of type `Literal["delivery_email"]` on object of type `dict[Literal["user_id"], Unknown]`

zproject/backends.py

[error] invalid-argument-type - :176:21 - Argument to function `pad_method_dict` is incorrect: Expected `dict[str, bool]`, found `dict[str, bool] | dict[str, Literal[True]]`