Commit graph

14 commits

Author SHA1 Message Date
Ville Skyttä
6399d74c15
Remove unnnecessary pylint configs from core (#98704) 2023-08-22 23:12:12 +02:00
J. Nick Koston
19b0a6e7f6
Relax typing on cached_property to accept subclasses (#95407) 2023-07-23 20:47:29 -05:00
Franck Nijhof
30058297cf
Migrate backported StrEnum to built-in StrEnum (#97101) 2023-07-23 23:19:24 +02:00
Marc Mueller
77f38e33e5
Import names from typing instead of typing_extensions [3.11] (#97065) 2023-07-22 17:03:44 -05:00
J. Nick Koston
7a1f0a0b74
Remove unneeded str() in StrEnum backport (#96509) 2023-07-13 22:37:59 -10:00
Erik Montnemery
398dbed72e
Improve type annotations of cached_property backport (#95309) 2023-06-26 18:36:01 -05:00
Erik Montnemery
a568885ad2
Add backport of cached_property from CPython 3.12 (#95292) 2023-06-26 16:23:07 -05:00
Marc Mueller
342b406dc0
Add Self typing (1) [mypy 1.0] (#87598) 2023-02-06 22:29:47 -06:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 (#87347) 2023-02-03 23:08:48 +01:00
Marc Mueller
d09fff595c
Rename existing TypeVars referencing Self type (#75473) 2022-07-20 03:03:22 +02:00
Marc Mueller
911b159281
Cleanup after pylint update (#68657) 2022-03-26 00:34:12 +01:00
Marc Mueller
eae0c75620
Make TypeVars private (2) (#68206) 2022-03-17 19:09:55 +01:00
Tobias Sauerwein
2c904c0974
Bump mypy to 0.930 (#62642)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-12-27 17:55:17 +01:00
Marvin Wichmann
707fe67c00
Move StrEnum to homeassistant.backports and move Platform to homeassistant.const (#60880)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-12-03 09:31:17 +01:00