From ab3c832f5ef27baeed8bb900bc5bb724fffabe55 Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Wed, 27 Apr 2022 21:15:08 +0300 Subject: [PATCH] Pylint fix --- platformio/commands/check/tools/pvsstudio.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/platformio/commands/check/tools/pvsstudio.py b/platformio/commands/check/tools/pvsstudio.py index e671773e..0479d91e 100644 --- a/platformio/commands/check/tools/pvsstudio.py +++ b/platformio/commands/check/tools/pvsstudio.py @@ -54,13 +54,11 @@ class PvsStudioCheckTool(CheckToolBase): # pylint: disable=too-many-instance-at def tool_output_filter(self, line): # pylint: disable=arguments-differ if any( - [ - err_msg in line.lower() - for err_msg in ( - "license was not entered", - "license information is incorrect", - ) - ] + err_msg in line.lower() + for err_msg in ( + "license was not entered", + "license information is incorrect", + ) ): self._bad_input = True return line