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
{{ message }}
Repository navigation
Seems to not filter on flake8-simplify class errors #45
This action currently only supports error/warnings classes of a single letter. As that was what everyone was doing ... but of course it was waiting for someone to come along and break that rule :P And simplify is that one :)
Fixing this is non-trivial, as currently we do some magic to make the matching work .. I will put it on my todo list to look into it!
Activity
TrueBrain commentedon Jul 23, 2022
This action currently only supports error/warnings classes of a single letter. As that was what everyone was doing ... but of course it was waiting for someone to come along and break that rule :P And simplify is that one :)
Fixing this is non-trivial, as currently we do some magic to make the matching work .. I will put it on my todo list to look into it!
peternewman commentedon Feb 16, 2023
From a quick look, it seems it's currently a character group that gets substituted into the regex.
I think if you just used a non-capturing group it should work:
https://www.regular-expressions.info/brackets.html
So e.g.:
E,F,SIMGets translated to:
(?:E|F|SIM)Assuming they're supported...
TrueBrain commentedon Nov 21, 2026
Sorry it took so long to actually fix this. But now more than 3 years later: fixed!