Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
brainwane opened this issue Oct 31, 2013 · 2 comments
Open

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

brainwane opened this issue Oct 31, 2013 · 2 comments

Comments

@brainwane
Copy link

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
Copy link
Author

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

@spulec
Copy link
Owner

spulec commented Nov 2, 2013

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants