[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Added _1, .._5 to dummy-variables, so that we can specify multiple unused



# HG changeset patch
# User emellor@ewan
# Node ID b6ee902f83f4d6f80a69e8b7947b96a39efbb8b9
# Parent  8bc44f7187141d9427bf313f97e8d863552a239d
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@xxxxxxxxxxxxx>

diff -r 8bc44f718714 -r b6ee902f83f4 tools/python/pylintrc
--- a/tools/python/pylintrc     Sat Sep 17 08:26:11 2005
+++ b/tools/python/pylintrc     Sat Sep 17 09:22:42 2005
@@ -74,7 +74,7 @@
 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 @@
 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
 
 
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.