413-autopep8

自动美化 python 格式的工具(auto python code style)

A tool that automatically formats Python code to conform to the PEP 8 style guide.

1
2
3
4
pip install --upgrade autopep8

autopep8 --in-place --aggressive --aggressive <filename>
autopep8 --in-place --aggressive ./docs/**/*.py

参考链接:

https://blog.csdn.net/viny262/article/details/125917231