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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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