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

pep8 renamed to pycodestyle #66

Open
bernarduh opened this issue Nov 6, 2022 · 3 comments
Open

pep8 renamed to pycodestyle #66

bernarduh opened this issue Nov 6, 2022 · 3 comments

Comments

@bernarduh
Copy link

During a fresh install of Ubuntu, I noticed that the pep8 command is now distributed as pycodestyle. It would be nice to support this in the bin/pycheckers.py scripts.

This package used to be called pep8 but was renamed to pycodestyle to reduce confusion. Further discussion can be found in the issue where Guido requested this change, or in the lightning talk at PyCon 2016 by @IanLee1521: slides video.

Quote from https://pypi.org/project/pycodestyle/

I can make the change if you want but what would be the best approach:

  • Consider it a new linter class based on pep8.
  • Adapt pep8 class to detect which binary is installed in the system.
@msherry
Copy link
Owner

msherry commented Nov 7, 2022

Thanks for submitting the issue! I would prefer that users who are using old tools/versions for whatever reason (their employer hasn't yet completed migrating to py3 yet, for example) still be able to use this tool, so as long as this doesn't break existing compatibility, I would be ok with either of those approaches. Thank you for the offer!

@bernarduh
Copy link
Author

Yes, I agree. Can I push a branch and open a PR with a suggestion?

@msherry
Copy link
Owner

msherry commented Nov 7, 2022

By all means :)

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