From b1ed75aa48e180ef0c919e5c26dbc3321720edd6 Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Wed, 6 Apr 2022 11:43:07 -0400 Subject: [PATCH] Tests: Add alembic to pylint ignores Add alembic.context and alembic.op to pylint ignore list. These are dynamic modules that pylint can't process, generating many false positive pylint errors. Change-Id: Icb4c0b5cbba02c42e9e2ee381dc9152f1c1de22c --- .pylintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pylintrc b/.pylintrc index 7ed85503b4e..c31d30cbcf2 100644 --- a/.pylintrc +++ b/.pylintrc @@ -221,7 +221,7 @@ additional-builtins=_ [TYPECHECK] # List of module names for which member attributes should not be checked -ignored-modules=six.moves,_MovedItems +ignored-modules=six.moves,_MovedItems,alembic.context,alembic.op signature-mutators=unittest.mock.patch,unittest.mock.patch.object,sqlalchemy.util._preloaded.dependencies # This is for cinder.objects.*, and requests.packages.*, but due to