pep8ify
pep8ify copied to clipboard
A library that modifies python source code to conform to pep8.
Hi... Is there any way to get non-zero exit status if pep8ify detects any mismatch? I need it to use pep8ify within precommit checking. Thanks in advance...
I’m not entirely sure if this is a bug, but I don’t think this yields compliant code? # Versions pep8ify/0.0.13 on Python/2.7.11 ``` $ pep8ify -f blank_lines test.py ``` #...
See https://gist.github.com/dhermes/85c3a3a464d2cff312ea for a (super hacky) way to make this work. Currently, `pep8ify` takes ``` python def hello_func(name): """Prints hello with the name. Args: name: String, to print. """ print...
Currently `pep8ify` seems to insert a blank between the comma and the closing bracket of a singleton tuple. I consider this an error. In contradiction to what was written in...
I just installed `pep8ify` today and found it very useful; thank you! When I look for help at the command line: > $ pep8ify -h > Usage: 2to3 [options] file|dir...
ie ``` python text = "Imagine this is a string that goes over 80 chars" ``` to ``` python text = "Imagine this is a string that" " goes over...
Pep8ify should probably do something to deal with this.