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:
emellor@ewan committed 2005-09-17 10:22:42 +01:00
1 parent 458f3c848d
commit eba9ff6ab9
1 file changed
+2 -2
+2 -2
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.