1
0
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:
Franck Nijhof
2021-03-20 01:27:04 +01:00
committed by GitHub
parent 26bceae99d
commit fb849b81b5
17 changed files with 31 additions and 31 deletions

View File

@@ -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