Commit graph

18 commits

Author SHA1 Message Date
Marc Mueller
0b2b486754
Update mypy to 1.6.0 () 2023-10-11 13:25:11 +02:00
Erik Montnemery
716a10e556
Add Python copyright and Python license to backports package () 2023-10-05 19:57:46 +02:00
Erik Montnemery
d1afcd773f
Revert "Cache entity properties that are never expected to change in the base class" ()
Revert "Cache entity properties that are never expected to change in the base class ()"

This reverts commit 042776ebb8.
2023-09-15 11:25:24 +02:00
J. Nick Koston
042776ebb8
Cache entity properties that are never expected to change in the base class () 2023-09-14 17:48:48 -05:00
Ville Skyttä
6399d74c15
Remove unnnecessary pylint configs from core () 2023-08-22 23:12:12 +02:00
J. Nick Koston
19b0a6e7f6
Relax typing on cached_property to accept subclasses () 2023-07-23 20:47:29 -05:00
Franck Nijhof
30058297cf
Migrate backported StrEnum to built-in StrEnum () 2023-07-23 23:19:24 +02:00
Marc Mueller
77f38e33e5
Import names from typing instead of typing_extensions [3.11] () 2023-07-22 17:03:44 -05:00
J. Nick Koston
7a1f0a0b74
Remove unneeded str() in StrEnum backport () 2023-07-13 22:37:59 -10:00
Erik Montnemery
398dbed72e
Improve type annotations of cached_property backport () 2023-06-26 18:36:01 -05:00
Erik Montnemery
a568885ad2
Add backport of cached_property from CPython 3.12 () 2023-06-26 16:23:07 -05:00
Marc Mueller
342b406dc0
Add Self typing (1) [mypy 1.0] () 2023-02-06 22:29:47 -06:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 () 2023-02-03 23:08:48 +01:00
Marc Mueller
d09fff595c
Rename existing TypeVars referencing Self type () 2022-07-20 03:03:22 +02:00
Marc Mueller
911b159281
Cleanup after pylint update () 2022-03-26 00:34:12 +01:00
Marc Mueller
eae0c75620
Make TypeVars private (2) () 2022-03-17 19:09:55 +01:00
Tobias Sauerwein
2c904c0974
Bump mypy to 0.930 ()
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 ()
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