From c577d184f84d964e5e86d8adc96b7cd64d2ff1d4 Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Mon, 23 May 2022 11:58:51 -0400 Subject: [PATCH] pylint: skip ManageResource Mixin cinder.api.v3.resource_common_manage.ManageResource is not automatically detected as a Mixin due to its name, so manually list it here to skip no-member checks. Change-Id: I324377a93b8063f943e2751f58fc895c7113aa74 --- .pylintrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pylintrc b/.pylintrc index c31d30cbcf2..0585da9fc7d 100644 --- a/.pylintrc +++ b/.pylintrc @@ -208,6 +208,8 @@ module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+)|(neutron-[a-z0-9_-]+))$ # Don't require docstrings on tests. no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$ +mixin-class-rgx=(^(ManageResource)$|.*[Mm]ixin) + [FORMAT] # Maximum number of characters on a single line.