diff options
author | emellor@ewan <emellor@ewan> | 2005-09-17 10:22:42 +0100 |
---|---|---|
committer | emellor@ewan <emellor@ewan> | 2005-09-17 10:22:42 +0100 |
commit | eba9ff6ab9dfbdba2eae3c4aadaf3e5746d76d9f (patch) | |
tree | 98ba02df63fdc924ce8b5ab6a203d73a0b61d5e2 /tools/python/pylintrc | |
parent | 458f3c848de32de505c40ae5f7065c0903e7e68f (diff) | |
download | xen-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/pylintrc | 4 |
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 |