rpointel 98671cbd71 import yapf, a formatter for Python code.
tested by Ljuba Nedeljkovic ljuba.bsd at gmail dot .com, ok benoit@.
2018-05-08 05:59:22 +00:00

7 lines
434 B
Plaintext

YAPF is a formatter based off of 'clang-format'. In essence, the algorithm takes
the code and reformats it to the best formatting that conforms to the style
guide, even if the original code didn't violate the style guide. If the whole
codebase of a project is simply piped through YAPF whenever modifications are
made, the style remains consistent throughout the project and there's no point
arguing about style in every code review.