format python with yapf
更新日期:
文章目录
Ref: https://github.com/google/yapf
Install
$ pip install yapf
Usage
yapf --style pip8.style main.py test.py
pip8.style
[style]
based_on_style = pep8
spaces_before_comment = 4
split_before_logical_operator = true