Commit Graph

278 Commits (c773d57d392dc1062948a5cd935b419587896575)

Author SHA1 Message Date
Marc Mueller 0b2b486754
Update mypy to 1.6.0 (#101780) 2023-10-11 13:25:11 +02:00
Marc Mueller fb66ceb302
Update mypy to 1.5.0 (#98179) 2023-08-11 13:13:04 +02:00
Ruslan Sayfutdinov 0d832c0a5a
Cleanup mypy ignore list feature (#88451) 2023-02-19 19:29:06 +01:00
Marc Mueller 67499e0204
Enable pydantic mypy plugin (#87415) 2023-02-09 13:33:10 +01:00
Marc Mueller fb4c0b4b7a
Enable error-code `redundant-self` [mypy 1.0] (#87602) 2023-02-07 14:02:38 +01:00
Marc Mueller 42008c50f3
Enable error-code `truthy-iterable` [mypy 1.0] (#87596) 2023-02-07 11:16:22 +01:00
Marc Mueller af59623601
Enable `local_partial_types` for strict typing [mypy] (#86409) 2023-02-06 20:41:39 -06:00
Franck Nijhof ca1a12898c
Enable Ruff D212 (#87347) 2023-02-03 23:08:48 +01:00
Aarni Koskela 727dcd6df6
Keep mypy.ini and strict-typing files sorted with hassfest (#81331)
hassfest: keep mypy.ini and .strict-typing sorted
2022-11-14 06:37:47 +01:00
Marc Mueller 0c8eeaa643
Update mypy to 0.990 (#81783)
* Update mypy to 0.990

* Remove type ignore - overriding attr with property (13475)

* Remove type ignores - hasattr (13544)

* Adjust type ignore - assignment (13549)

* New error code - type-abstract (13785)

* Disable annotation-unchecked (13851)
2022-11-08 14:41:39 +01:00
Robert Hillis 73ba7a989b
Make Sonos typing more complete (#68072) 2022-09-05 13:12:37 -05:00
Marc Mueller bac44cf473
Enable no_implicit_optional globally [mypy] (#76723) 2022-08-13 19:33:57 +02:00
epenet 911402e747
Remove cloud from mypy ignore list (#74449) 2022-07-15 10:47:30 +02:00
epenet e7ae2fada7
Remove evohome from mypy ignore list (#75175) 2022-07-14 21:40:39 +02:00
epenet 5287980f48
Remove template from mypy ignore list (#74426) 2022-07-14 21:15:37 +02:00
epenet 1725948d4a
Use instance attributes in minecraft_server (#75157)
* Remove minecraft_server from mypy ignore list

* Use new entity naming style
2022-07-14 18:06:33 +02:00
epenet e16bd1e471
Remove evohome climate from mypy ignore list (#75169)
* Remove evohome climate from mypy ignore list

* Raise error
2022-07-14 13:46:37 +02:00
epenet c260413e2a
Remove lovelace from mypy ignore list (#75167)
* Remove lovelace from mypy ignore list

* Raise error on failed config
2022-07-14 13:08:50 +02:00
epenet debd475a6d
Remove onvif from mypy ignore list (#75162) 2022-07-14 11:55:43 +02:00
epenet 51c17197c5
Remove nzbget from mypy ignore list (#75158) 2022-07-14 11:40:10 +02:00
epenet 14baaf4b67
Remove plex from mypy ignore list (#74984) 2022-07-11 20:02:44 +02:00
epenet 28a34a1f89
Remove withings from mypy ignore list (#74966) 2022-07-11 19:14:23 +02:00
epenet ba18e11308
Remove profiler from mypy ignore list (#74453) 2022-07-11 18:34:27 +02:00
epenet 7e0515b119
Remove conversation from mypy ignore list (#74991) 2022-07-11 17:47:33 +02:00
epenet 63706d2f67
Remove blueprint from mypy ignore list (#74990) 2022-07-11 17:46:32 +02:00
epenet 6ac05784a6
Remove icloud from mypy ignore list (#75007) 2022-07-11 17:33:20 +02:00
epenet fa51a39f1d
Use instance attributes in evohome (#74996) 2022-07-11 17:24:35 +02:00
epenet 73a8ae35c2
Remove izone from mypy ignore list (#75005) 2022-07-11 16:53:14 +02:00
epenet 06a4c226fd
Remove konnected from mypy ignore list (#75003) 2022-07-11 16:44:44 +02:00
epenet 5f4713a200
Remove solaredge from mypy ignore list (#74983) 2022-07-11 15:07:54 +02:00
epenet ab9950621b
Remove toon from mypy ignore list (#74968) 2022-07-11 13:40:54 +02:00
epenet 36bb34f391
Remove kostal_plenticore from mypy ignore list (#74433) 2022-07-09 23:18:53 +02:00
epenet 3922141f5c
Remove omnilogic from mypy ignore list (#74452) 2022-07-09 23:11:55 +02:00
epenet da133a7f05
Remove xbox from mypy ignore list (#74504) 2022-07-09 23:09:15 +02:00
epenet 0b1f29b2b9
Remove nilu from mypy ignore list (#74412) 2022-07-09 20:01:39 +02:00
epenet 5360e56d09
Remove xiaomi_miio from mypy ignore list (#74669) 2022-07-09 19:59:11 +02:00
epenet 0f33c08dca
Remove telegram_bot from mypy ignore list (#74661) 2022-07-09 19:52:26 +02:00
epenet c6bff8ae18
Remove philips_js from mypy ignore list (#74659)
* Remove philips_js from mypy ignore list

* Use class attribute
2022-07-07 22:00:19 +02:00
epenet bd43f0393c
Remove influxdb from mypy ignore list (#74612) 2022-07-07 20:51:38 +03:00
epenet dc0c41982f
Remove meteo_france from mypy ignore list (#74613) 2022-07-07 20:50:08 +03:00
epenet 6540ba6239
Remove hassio from mypy ignore list (#74603)
* Remove hassio from mypy ignore list

* Avoid if TYPE_CHECKING
2022-07-07 15:14:36 +02:00
epenet f19c542d6d
Remove denonavr from mypy ignore list (#74580) 2022-07-07 12:14:46 +02:00
epenet 5ae593672e
Remove google_assistant from mypy ignore list (#74587) 2022-07-07 11:35:45 +02:00
epenet 5e63a44e71
Remove home_plus_control from mypy ignore list (#74448) 2022-07-06 22:45:54 +03:00
epenet 8fb9b45e42
Remove input_datetime from mypy ignore list (#74447)
* Remove input_datetime from mypy ignore list

* Use assert

* Use cast

* Use common logic for initial parsing
2022-07-06 10:26:24 +02:00
epenet a27d483009
Remove unifi from mypy ignore list (#74456)
* Remove unifi diagnostics from mypy ignore list

* Remove unifi init from mypy ignore list

* Remove unifi device tracker from mypy ignore list

* Adjust doc string

* Adjust doc string

* Remove unifi entity base from mypy ignore list

* Keep comprehension

* Remove unifi config flow from mypy ignore list

* Fix circular import
2022-07-06 10:25:53 +02:00
epenet cbe9eda0a8
Remove lyric from mypy ignore list (#74451) 2022-07-05 13:24:18 -05:00
epenet 110d9232cd
Remove melcloud from mypy ignore list (#74410) 2022-07-04 23:05:53 -07:00
epenet 560fbd1a0e
Remove lutron_caseta from mypy ignore list (#74427) 2022-07-04 14:10:26 -05:00
epenet 1536936177
Remove harmony from mypy ignore list (#74425) 2022-07-04 13:39:14 -05:00