From fe480c092c25d534e7288b032f937fdc4c4c0a87 Mon Sep 17 00:00:00 2001 From: Josselin Date: Thu, 10 Feb 2022 13:56:57 +0100 Subject: [PATCH] Fix pylint 2.12.2 --- slither/tools/properties/properties/erc20.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slither/tools/properties/properties/erc20.py b/slither/tools/properties/properties/erc20.py index 911df97d0..3dfbf2e2e 100644 --- a/slither/tools/properties/properties/erc20.py +++ b/slither/tools/properties/properties/erc20.py @@ -163,7 +163,7 @@ def _initialization_recommendation(type_property: str) -> str: # TODO: move this to crytic-compile def _platform_to_output_dir(platform: AbstractPlatform) -> Path: - if platform.TYPE == PlatformType.TRUFFLE or platform.TYPE == PlatformType.BUILDER: + if platform.TYPE in [PlatformType.TRUFFLE, platform.TYPE == PlatformType.BUILDER]: return Path(platform.target, "contracts", "crytic") if platform.TYPE == PlatformType.SOLC: return Path(platform.target).parent