You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interesting. It looks like a simple fix, but a little unnecessary for this plugin because this plugin doesn't actually issue error codes, it modifies flake8 internal behaviors.
This plugin fails with the latest flake8 (5.0.3) with the message
Repro
pip install -U flake8
pip install -U flake8-force
flake8
Result
flake8 fails with the error message reported above
Expected
flake8 checks Python as well as Cython files.
Analysis
PyCQA/flake8@f3443f4 introduced this new check in flake8.
I believe the error is in https://github.com/kmaehashi/flake8-force/blob/main/setup.py#L28 where you would need to change the left-hand side of the assignment to something that matches
^[A-Z]{1,3}[0-9]{0,3}$
, there are examples https://github.com/PyCQA/flake8/blob/main/example-plugin/setup.py#L14-L17 and elsewhere. I am not really sure how to best chose these values, however.The text was updated successfully, but these errors were encountered: