summaryrefslogtreecommitdiffstats
path: root/testsuite/pylintrc.conf
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-09-25 11:49:15 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-09-25 11:58:48 -0400
commiteac71fc1109f2edc6b71e62a6cff38d762bebe63 (patch)
tree203cf372e31b92dfc0cf7ea57c451c44e5e1e54b /testsuite/pylintrc.conf
parent3f16355e18cdceb37828a00a8181d9cc60815cd0 (diff)
downloadbcfg2-eac71fc1109f2edc6b71e62a6cff38d762bebe63.tar.gz
bcfg2-eac71fc1109f2edc6b71e62a6cff38d762bebe63.tar.bz2
bcfg2-eac71fc1109f2edc6b71e62a6cff38d762bebe63.zip
expanded pylint coverage
Diffstat (limited to 'testsuite/pylintrc.conf')
-rw-r--r--testsuite/pylintrc.conf16
1 files changed, 8 insertions, 8 deletions
diff --git a/testsuite/pylintrc.conf b/testsuite/pylintrc.conf
index 2c56a3e81..2e4279e75 100644
--- a/testsuite/pylintrc.conf
+++ b/testsuite/pylintrc.conf
@@ -33,7 +33,7 @@ load-plugins=
# can either give multiple identifier separated by comma (,) or put this option
# multiple time (only on the command line, not in the configuration file where
# it should appear only once).
-disable=W0142,W0511,W0603,R0201,R0901,R0902,R0903,R0904,R0921,R0922,C0302,I0011
+disable=W0142,W0511,W0603,W1201,R0201,R0901,R0902,R0903,R0904,R0921,R0922,C0302,I0011
[REPORTS]
@@ -121,7 +121,7 @@ zope=no
# List of members which are set dynamically and missed by pylint inference
# system, and so shouldn't trigger E0201 when accessed. Python regular
# expressions are accepted.
-generated-members=REQUEST,acl_users,aq_parent,objects,DoesNotExist
+generated-members=objects,DoesNotExist,isoformat
[MISCELLANEOUS]
@@ -136,7 +136,7 @@ notes=FIXME,XXX,TODO
required-attributes=
# List of builtins function names that should not be used, separated by a comma
-bad-functions=map,filter,apply,input
+bad-functions=map,apply
# Regular expression which should only match correct module names
module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
@@ -156,20 +156,20 @@ function-rgx=[a-z_][a-z0-9_]{2,30}$
method-rgx=[A-z_][A-z0-9_]{2,30}$
# Regular expression which should only match correct instance attribute names
-attr-rgx=(Entries|[a-z_][a-z0-9_]{2,30})$
+attr-rgx=(Entries|[a-z_][a-z0-9_]{2,30}(ID)?)$
# Regular expression which should only match correct argument names
-argument-rgx=[a-z_][a-z0-9_]{2,30}$
+argument-rgx=[a-z_][a-z0-9_]{2,30}(ID)?$
# Regular expression which should only match correct variable names
-variable-rgx=[a-z_][a-z0-9_]{2,30}$
+variable-rgx=[a-z_][a-z0-9_]{2,30}(ID)?$
# Regular expression which should only match correct list comprehension /
# generator expression variable names
inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
# Good variable names which should always be accepted, separated by a comma
-good-names=_,rv,el,fd,ca,re
+good-names=_,rv,el,fd,ca,re,i,j,iv
# Bad variable names which should always be refused, separated by a comma
bad-names=foo,bar,baz,toto,tutu,tata
@@ -200,7 +200,7 @@ int-import-graph=
[DESIGN]
# Maximum number of arguments for function / method
-max-args=6
+max-args=8
# Argument names that match this expression will be ignored. Default to name
# with leading underscore