pyformat icon indicating copy to clipboard operation
pyformat copied to clipboard

Formats Python code to follow a consistent style

Results 7 pyformat issues
Sort by recently updated
recently updated
newest added

Use isort to sort imports (disabled by default to preserve backward compatibility)

There is a nice project https://github.com/asottile/add-trailing-comma. Could you add it as an additional optional formatter?

enhancement

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...

enhancement

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'] ``` ``` #...

enhancement

With newest docformatter version 1.5, pyformat fails with `AttributeError: module 'docformatter' has no attribute 'format_code'`