← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~raharper/cloud-init:fix/pylint-no-member into cloud-init:master


Ryan Harper has proposed merging ~raharper/cloud-init:fix/pylint-no-member into cloud-init:master.

Commit message:
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). Resolve this
by adding the member attribute to the generated member list in pylintrc.
This fixes CI failures.

Requested reviews:
  cloud-init Commiters (cloud-init-dev)

For more details, see:
Your team cloud-init Commiters is requested to review the proposed merge of ~raharper/cloud-init:fix/pylint-no-member into cloud-init:master.
diff --git a/.pylintrc b/.pylintrc
index e376b48..365c8c8 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.

Follow ups