From 9faa8d58940f2ea1184f275943be581b79694c0f Mon Sep 17 00:00:00 2001 From: Ryan Harper Date: Wed, 25 Sep 2019 18:43:21 +0000 Subject: pylintrc: add 'enter_context' to generated-members list On Bionic (python 3.6.8) we now see no-member errors on untouched code. This does not reproduce on Xenial (3.5) nor on Eoan (3.7.4). The source of the failure was the release of astroid 2.3.0 vs. 2.2.5. Resolve this by adding the member attribute to the generated member list in pylintrc. This fixes CI failures. --- .pylintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.pylintrc') diff --git a/.pylintrc b/.pylintrc index e376b48b..365c8c8b 100644 --- a/.pylintrc +++ b/.pylintrc @@ -67,5 +67,5 @@ ignored-classes=argparse.Namespace,optparse.Values,thread._local # List of members which are set dynamically and missed by pylint inference # system, and so shouldn't trigger E1101 when accessed. Python regular # expressions are accepted. -generated-members=types,http.client,command_handlers,m_.* +generated-members=types,http.client,command_handlers,m_.*,enter_context -- cgit v1.2.3