mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
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>
This commit is contained in:
1 parent
458f3c848d
commit
eba9ff6ab9
1 file changed
+2
-2
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||