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

Rule E203 not supported? #1842

Closed
gabohc opened this issue Jan 13, 2023 · 6 comments
Closed

Rule E203 not supported? #1842

gabohc opened this issue Jan 13, 2023 · 6 comments

Comments

@gabohc
Copy link

gabohc commented Jan 13, 2023

When running flake8-to-ruff, it warns that 'E203' is an unsupported prefix code. The docs say that ruff supports pycodestyle rules E (https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes).

Am I missing something here?

@charliermarsh
Copy link
Member

No, that's right! We don't support some of the E-level rules that are made redundant by Black.

And here's a link to the E-level rules that we do support.

This work is being tracked in #1073.

@gabohc
Copy link
Author

gabohc commented Jan 13, 2023

Oh, thanks, I was misreading it. Sorry

@charliermarsh
Copy link
Member

No prob!

@awgymer
Copy link

awgymer commented Mar 23, 2023

I just ran into this but following the links from the README to the docs on the supported E codes I can see E203 in the list? Are the docs out of date here?

@JonathanPlasse
Copy link
Contributor

Yes, they should not be present.

@charliermarsh
Copy link
Member

Yeah, I think they accidentally got added when I moved from a feature flag to a debug assertion for the pycodestyle rules.

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

4 participants