python pep8 格式化工具

2015-12-20  籽藤 

https://pypi.python.org/pypi/autopep8/#usage

格式化当前文件夹中的python文件,mac 下亲测可用:

find ./ -name "*.py" -exec autopep8 —in-place —aggressive —aggressive {} \;

比 pycharm 自带的 re-format code 功能好用~

394°/3943 人阅读/0 条评论 发表评论

登录 后发表评论