pyformat
pyformat copied to clipboard
Formats Python code to follow a consistent style
Use isort to sort imports (disabled by default to preserve backward compatibility)
Fixes #7
There is a nice project https://github.com/asottile/add-trailing-comma. Could you add it as an additional optional formatter?
The current behavior of `pyformat` is different from `autopep8`, which returns diff only when --diff option is specified and otherwise returns the whole file content. It would be nice if...
`yapf` has very similar command line interface as `pyformat` but provides one additional one: pass a code via stdin and print result on stdout. Such a feature makes it very...
When `pyformat` is used, an existing pep8 configuration is not applied. Example: ``` # test.py l = ['a', 'really', 'really', 'really', 'long', 'line', 'that', 'violates', 'max-line', 'limit'] ``` ``` #...
With newest docformatter version 1.5, pyformat fails with `AttributeError: module 'docformatter' has no attribute 'format_code'`