-
Notifications
You must be signed in to change notification settings - Fork 31
fix(flake8): Flake8 does not support 4 letter codes anymore. #119
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
Conversation
Damn >.< Thank you for taking care of it. Do you know a relevant discussion for the change in flake8? I'd like to see what motivated them to break plugins again. I'm going to take some time and think about the best error code to use now (1773-style Also, looks like we need an integration test with flake8, since they like breaking things. But don't worry, I can take care of it. |
What do you think about using a heterograph, like |
That seems to work. I think I like DEL more though. DEA1 is also good |
PyCQA/flake8#325 seems to be the source of our troubles. Still not sure why they chose to restrict to 3 characters. |
Integration test for flake8
Merged your integration test in to see if everything works |
Make it DEL, please, and I'll be happy to merge. Meanwhile, I'll have a look if I can patch the Checker to recognize the old |
Looks like I have to take it from there 👀 |
Thank you :) |
See https://github.com/PyCQA/flake8/blob/main/src/flake8/plugins/finder.py#L25 for flake8 code.
I think DEL might also work