diff options
author | Ryan Harper <ryan.harper@canonical.com> | 2019-09-25 18:43:21 +0000 |
---|---|---|
committer | Server Team CI Bot <josh.powers+server-team-bot@canonical.com> | 2019-09-25 18:43:21 +0000 |
commit | 9faa8d58940f2ea1184f275943be581b79694c0f (patch) | |
tree | a75639b3f8efbcf63661de12d301ad28abcb844d | |
parent | 571f7c36e89f67f4c2d1cacfd8f9269bf864d560 (diff) | |
download | vyos-cloud-init-9faa8d58940f2ea1184f275943be581b79694c0f.tar.gz vyos-cloud-init-9faa8d58940f2ea1184f275943be581b79694c0f.zip |
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.
-rw-r--r-- | .pylintrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |