summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAlain Leufroy <alain.leufroy@logilab.fr>2011-07-08 15:52:04 +0200
committerAlain Leufroy <alain.leufroy@logilab.fr>2011-07-08 15:52:04 +0200
commitbc66f92a85219978eeae85afd560a4609390fb57 (patch)
treefff7a37e53bf1006410f2cbf1e073c5356748776 /examples
parent67bbca5f8bb04314a981f27d25048d26b490e91c (diff)
downloadpylint-git-bc66f92a85219978eeae85afd560a4609390fb57.tar.gz
add regular expression support for generated-members (closes #69738)
proposed: by Bruno Clermont
Diffstat (limited to 'examples')
-rw-r--r--examples/pylintrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/pylintrc b/examples/pylintrc
index a5b864156..046e133b0 100644
--- a/examples/pylintrc
+++ b/examples/pylintrc
@@ -113,8 +113,9 @@ ignored-classes=SQLObject
zope=no
# List of members which are set dynamically and missed by pylint inference
-# system, and so shouldn't trigger E0201 when accessed.
-generated-members=REQUEST,acl_users,aq_parent
+# system, and so shouldn't trigger E0201 when accessed. Note that regular
+# expressions are accepted (surrounded by quote `"` and followed by a comma `,`)
+generated-members=REQUEST,acl_users,aq_parent,"[a-zA-Z]+_set{1,2}",
[BASIC]