pep8ify icon indicating copy to clipboard operation
pep8ify copied to clipboard

--help implies user should invoke 2to3, not pep8ify

Open brainwane opened this issue 11 years ago • 2 comments

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

I have searched around in the repo and cannot figure out where the help message is being generated (so I can give you a pull request to change '2to3' to 'pep8ify'). Help?

brainwane avatar Oct 31 '13 16:10 brainwane

I'm using pep8ify version 0.0.8, or so pip freeze tells me.

brainwane avatar Oct 31 '13 16:10 brainwane

Hi Sumana,

pep8ify is a sublass of the python builtin 2to3 command. You can look in the 2to3 main command (http://hg.python.org/cpython/file/123804a72a8f/Lib/lib2to3/main.py) too see what is being called in pep8ify. You would probably need to recreate (/call) the main command and overwrite the necessary options.

It would definitely take some work, but any time you donate would be greatly appreciated.

spulec avatar Nov 02 '13 03:11 spulec