aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python/pylintrc
diff options
context:
space:
mode:
authoremellor@ewan <emellor@ewan>2005-09-17 10:22:42 +0100
committeremellor@ewan <emellor@ewan>2005-09-17 10:22:42 +0100
commiteba9ff6ab9dfbdba2eae3c4aadaf3e5746d76d9f (patch)
tree98ba02df63fdc924ce8b5ab6a203d73a0b61d5e2 /tools/python/pylintrc
parent458f3c848de32de505c40ae5f7065c0903e7e68f (diff)
downloadxen-eba9ff6ab9dfbdba2eae3c4aadaf3e5746d76d9f.tar.gz
xen-eba9ff6ab9dfbdba2eae3c4aadaf3e5746d76d9f.tar.bz2
xen-eba9ff6ab9dfbdba2eae3c4aadaf3e5746d76d9f.zip
Added _1,.._5 to dummy-variables, so that we can specify multiple unused
parameters in our code. Removed map and filter from bad-functions - I don't think that we have any problem with functional programming styles! Signed-off-by: Ewan Mellor<ewan@xensource.com>
Diffstat (limited to 'tools/python/pylintrc')
-rw-r--r--tools/python/pylintrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/python/pylintrc b/tools/python/pylintrc
index 7d207d1b95..efc4b0b3b2 100644
--- a/tools/python/pylintrc
+++ b/tools/python/pylintrc
@@ -74,7 +74,7 @@ enable-variables=yes
init-import=no
# List of variable names used for dummy variables (i.e. not used).
-dummy-variables=_,dummy
+dummy-variables=_,_1,_2,_3,_4,_5,dummy
@@ -131,7 +131,7 @@ good-names=i,j,k,ex,Run,_
bad-names=foo,bar,baz,toto,tutu,tata
# List of builtins function names that should not be used, separated by a comma
-bad-functions=map,filter,apply,input
+bad-functions=apply,input