From 5e4fd607d30b0f6892beb80a1a0825fbfcc2f078 Mon Sep 17 00:00:00 2001 From: Sylvain Laperche Date: Sun, 14 Jul 2019 19:42:54 +0200 Subject: [PATCH] build/deps: workaround a pylint bug Pylint seems to think that `name` is a method instead of a string, which is wrong. See https://github.com/PyCQA/pylint/issues/2062 Refs: #1410 Signed-off-by: Sylvain Laperche --- buildchain/buildchain/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buildchain/buildchain/config.py b/buildchain/buildchain/config.py index ff06dfc119..d7ef2b7256 100644 --- a/buildchain/buildchain/config.py +++ b/buildchain/buildchain/config.py @@ -63,6 +63,8 @@ def command_name(self) -> str: """Return the name of the command.""" if self is self.OPERATOR_SDK: return 'operator-sdk' + # See https://github.com/PyCQA/pylint/issues/2062 + # pylint: disable=no-member return self.name.lower() # }}}