> Seeing that this function can return other values I prefer to be explicit and
do
> "return None". If the functions return value is not meant to be used elsewhere
I
> prefer to just return.
IMHO then we should make this part of the preferred style and change it
everywhere
My preference for readability would be to us the more explicit form (return
None)
but we need to be consistent as well
https://codereview.appspot.com/340100043/diff/1/l2tdevtools/helpers/yapf.py File l2tdevtools/helpers/yapf.py (right): https://codereview.appspot.com/340100043/diff/1/l2tdevtools/helpers/yapf.py#newcode88 l2tdevtools/helpers/yapf.py:88: return None Let's split this into a separate CL ...
Issue 340100043: [l2tdevtools] Add yapf helper #206
(Closed)
Created 6 years, 3 months ago by onager
Modified 6 years, 1 month ago
Reviewers: jberggren, Joachim Metz
Base URL:
Comments: 9