mirror of
https://github.com/home-assistant/core.git
synced 2025-12-20 10:59:24 +00:00
Rewrite of not a == b occurances (#48132)
This commit is contained in:
@@ -106,8 +106,8 @@ def validate(integrations: dict[str, Integration], config: Config):
|
||||
|
||||
if (
|
||||
not line.startswith("homeassistant/components/")
|
||||
or not len(path.parts) == 4
|
||||
or not path.parts[-1] == "*"
|
||||
or len(path.parts) != 4
|
||||
or path.parts[-1] != "*"
|
||||
):
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user