[ACCEPTED]-Python Formatter Tool-formatter

Accepted answer
Score: 15

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

Score: 3

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

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

Score: 3

You can also try yapf:

A formatter for Python 1 files

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

Score: 1

PyLint has some formatting checks.

0

Score: 1

Have you looked at pindent?

0

Score: 1

black is another recent option.

It provides deliberate 3 and fast code formatting and is used by 2 many projects such as pytest, SQLAlchemy and Pillow to name a 1 few.

More Related questions