From 0ff002287763fdeaa55a9d23e5a9f6510a45bab2 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Tue, 18 Jun 2024 12:00:24 +0200 Subject: [PATCH] Ignore use-implicit-booleaness-not-comparison pylint warnings in tests (#119876) --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cf41b415a91..bbb5b742dab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -402,9 +402,10 @@ enable = [ "use-symbolic-message-instead", ] per-file-ignores = [ - # hass-component-root-import: Tests test non-public APIs # redefined-outer-name: Tests reference fixtures in the test function - "/tests/:hass-component-root-import,redefined-outer-name", + # use-implicit-booleaness-not-comparison: Tests need to validate that a list + # or a dict is returned + "/tests/:redefined-outer-name,use-implicit-booleaness-not-comparison", ] [tool.pylint.REPORTS]