If the variable has a default, then you should write "float, optional" at least I think the convention we've been using.