Rewrite of not a == b occurances (#48132)
This commit is contained in:
parent
26bceae99d
commit
fb849b81b5
17 changed files with 31 additions and 31 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue