mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 10:29:27 +00:00
Adjust pylint for IMPERIAL_SYSTEM deprecation (#80874)
* Adjust pylint for IMPERIAL_SYSTEM deprecation * Use correct location * Adjust components
This commit is contained in:
@@ -296,6 +296,12 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
|
||||
constant=re.compile(r"^(distance|pressure|speed|temperature|volume)$"),
|
||||
),
|
||||
],
|
||||
"homeassistant.util.unit_system": [
|
||||
ObsoleteImportMatch(
|
||||
reason="replaced by US_CUSTOMARY_SYSTEM",
|
||||
constant=re.compile(r"^IMPERIAL_SYSTEM$"),
|
||||
),
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user