Python Formatter Tool

两盒软妹~` 提交于 2019-11-29 21:25:20

I am the one who asks the question. In fact, the tool the closest to my needs seems to be PythonTidy (it's a Python program of course : Python is best served by himself ;) ).

autopep8 attempts to automate making your code conform to pep8 coding standards

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

You can also try yapf:

A formatter for Python files

https://github.com/google/yapf/

PyLint has some formatting checks.

Have you looked at pindent?

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!