Ecosystem report

Old: main (merge base) 742aa29c New: 24523/merge b5831a11
Lint Rule Removed Added Changed
Total 68 33 0
missing-typed-dict-key 63 0 0
invalid-argument-type 0 31 0
invalid-return-type 5 1 0
invalid-key 0 1 0
Project Removed Added Changed
Total 68 33 0
core 30 3 0
pydantic 0 29 0
cwltool 26 1 0
pyjwt 12 0 0

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

homeassistant/components/energy/data.py

[error] missing-typed-dict-key - Missing required key 'stat_energy_from' in TypedDict `BatterySourceType` constructor
[error] missing-typed-dict-key - Missing required key 'stat_energy_to' in TypedDict `BatterySourceType` constructor
[error] missing-typed-dict-key - Missing required key 'type' in TypedDict `BatterySourceType` constructor
[error] invalid-return-type - Return type does not match returned value: expected `BatterySourceType`, found `dict[str, Unknown | str]`
[error] missing-typed-dict-key - Missing required key 'stat_energy_from' in TypedDict `BatterySourceType` constructor
[error] missing-typed-dict-key - Missing required key 'stat_energy_to' in TypedDict `BatterySourceType` constructor
[error] missing-typed-dict-key - Missing required key 'type' in TypedDict `BatterySourceType` constructor
[error] invalid-return-type - Return type does not match returned value: expected `BatterySourceType`, found `dict[str, Unknown | str]`
[error] missing-typed-dict-key - Missing required key 'cost_adjustment_day' in TypedDict `GridSourceType` constructor
[error] missing-typed-dict-key - Missing required key 'entity_energy_price' in TypedDict `GridSourceType` constructor
[error] missing-typed-dict-key - Missing required key 'entity_energy_price_export' in TypedDict `GridSourceType` constructor
[error] missing-typed-dict-key - Missing required key 'number_energy_price' in TypedDict `GridSourceType` constructor
[error] missing-typed-dict-key - Missing required key 'number_energy_price_export' in TypedDict `GridSourceType` constructor
[error] missing-typed-dict-key - Missing required key 'stat_compensation' in TypedDict `GridSourceType` constructor
[error] missing-typed-dict-key - Missing required key 'stat_cost' in TypedDict `GridSourceType` constructor
[error] missing-typed-dict-key - Missing required key 'stat_energy_from' in TypedDict `GridSourceType` constructor
[error] missing-typed-dict-key - Missing required key 'stat_energy_to' in TypedDict `GridSourceType` constructor
[error] missing-typed-dict-key - Missing required key 'type' in TypedDict `GridSourceType` constructor
[error] invalid-return-type - Return type does not match returned value: expected `GridSourceType`, found `dict[str, Unknown | str]`
[error] missing-typed-dict-key - Missing required key 'cost_adjustment_day' in TypedDict `GridSourceType` constructor
[error] missing-typed-dict-key - Missing required key 'entity_energy_price' in TypedDict `GridSourceType` constructor
[error] missing-typed-dict-key - Missing required key 'entity_energy_price_export' in TypedDict `GridSourceType` constructor
[error] missing-typed-dict-key - Missing required key 'number_energy_price' in TypedDict `GridSourceType` constructor
[error] missing-typed-dict-key - Missing required key 'number_energy_price_export' in TypedDict `GridSourceType` constructor
[error] missing-typed-dict-key - Missing required key 'stat_compensation' in TypedDict `GridSourceType` constructor
[error] missing-typed-dict-key - Missing required key 'stat_cost' in TypedDict `GridSourceType` constructor
[error] missing-typed-dict-key - Missing required key 'stat_energy_from' in TypedDict `GridSourceType` constructor
[error] missing-typed-dict-key - Missing required key 'stat_energy_to' in TypedDict `GridSourceType` constructor
[error] missing-typed-dict-key - Missing required key 'type' in TypedDict `GridSourceType` constructor
[error] invalid-return-type - Return type does not match returned value: expected `GridSourceType`, found `dict[str, Unknown | str]`

homeassistant/components/recorder/statistics.py

[error] invalid-return-type - Return type does not match returned value: expected `list[StatisticsRow]`, found `list[StatisticsRow | dict[str, Any | None | int | float]]`
[error] invalid-argument-type - Invalid argument to key "end" with declared type `int | float` on TypedDict `StatisticsRow`: value of type `None | int | float`
[error] invalid-argument-type - Invalid argument to key "start" with declared type `int | float` on TypedDict `StatisticsRow`: value of type `None | int | float`

cwltool (https://github.com/common-workflow-language/cwltool)

tests/test_parallel.py

[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLFileType` constructor

tests/test_pathmapper.py

[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLFileType` constructor

cwltool/builder.py

[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLFileType` constructor

cwltool/command_line_tool.py

[error] invalid-key - Unknown key "writable" for TypedDict `CWLFileType`
[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLFileType` constructor
[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLFileType` constructor

cwltool/job.py

[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLDirectoryType` constructor

cwltool/main.py

[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLFileType` constructor

cwltool/process.py

[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLDirectoryType` constructor
[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLFileType` constructor
[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLFileType` constructor
[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLDirectoryType` constructor
[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLFileType` constructor
[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLFileType` constructor

cwltool/utils.py

[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLDirectoryType` constructor
[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLFileType` constructor

tests/test_examples.py

[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLFileType` constructor
[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLFileType` constructor
[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLFileType` constructor
[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLDirectoryType` constructor
[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLFileType` constructor
[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLDirectoryType` constructor

tests/test_http_input.py

[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLFileType` constructor
[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLFileType` constructor

tests/test_js_sandbox.py

[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLFileType` constructor
[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLFileType` constructor
[error] missing-typed-dict-key - Missing required key 'class' in TypedDict `CWLFileType` constructor

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

pydantic/_internal/_config.py

[error] invalid-argument-type - Invalid argument to key "allow_inf_nan" with declared type `bool` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "cache_strings" with declared type `bool | Literal["all", "keys", "none"]` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "coerce_numbers_to_str" with declared type `bool` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "extra_fields_behavior" with declared type `Literal["allow", "forbid", "ignore"]` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "from_attributes" with declared type `bool` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "hide_input_in_errors" with declared type `bool` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "loc_by_alias" with declared type `bool` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "polymorphic_serialization" with declared type `bool` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "regex_engine" with declared type `Literal["rust-regex", "python-re"]` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "revalidate_instances" with declared type `Literal["always", "never", "subclass-instances"]` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "ser_json_bytes" with declared type `Literal["utf8", "base64", "hex"]` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "ser_json_inf_nan" with declared type `Literal["null", "constants", "strings"]` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "ser_json_temporal" with declared type `Literal["iso8601", "seconds", "milliseconds"]` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "ser_json_timedelta" with declared type `Literal["iso8601", "float"]` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "serialize_by_alias" with declared type `bool` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "str_max_length" with declared type `int` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "str_min_length" with declared type `int` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "str_strip_whitespace" with declared type `bool` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "str_to_lower" with declared type `bool` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "str_to_upper" with declared type `bool` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "strict" with declared type `bool` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "title" with declared type `str` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "typed_dict_total" with declared type `bool` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "url_preserve_empty_path" with declared type `bool` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "val_json_bytes" with declared type `Literal["utf8", "base64", "hex"]` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "validate_by_alias" with declared type `bool` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "validate_by_name" with declared type `bool` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "validate_default" with declared type `bool` on TypedDict `CoreConfig`: value of type `str | int`
[error] invalid-argument-type - Invalid argument to key "validation_error_cause" with declared type `bool` on TypedDict `CoreConfig`: value of type `str | int`

pyjwt (https://github.com/jpadilla/pyjwt)

jwt/api_jwt.py

[error] missing-typed-dict-key - Missing required key 'enforce_minimum_key_length' in TypedDict `FullOptions` constructor
[error] missing-typed-dict-key - Missing required key 'require' in TypedDict `FullOptions` constructor
[error] missing-typed-dict-key - Missing required key 'strict_aud' in TypedDict `FullOptions` constructor
[error] missing-typed-dict-key - Missing required key 'verify_aud' in TypedDict `FullOptions` constructor
[error] missing-typed-dict-key - Missing required key 'verify_exp' in TypedDict `FullOptions` constructor
[error] missing-typed-dict-key - Missing required key 'verify_iat' in TypedDict `FullOptions` constructor
[error] missing-typed-dict-key - Missing required key 'verify_iss' in TypedDict `FullOptions` constructor
[error] missing-typed-dict-key - Missing required key 'verify_jti' in TypedDict `FullOptions` constructor
[error] missing-typed-dict-key - Missing required key 'verify_nbf' in TypedDict `FullOptions` constructor
[error] missing-typed-dict-key - Missing required key 'verify_signature' in TypedDict `FullOptions` constructor
[error] missing-typed-dict-key - Missing required key 'verify_sub' in TypedDict `FullOptions` constructor
[error] invalid-return-type - Return type does not match returned value: expected `FullOptions`, found `dict[str, Unknown]`