-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[tracker] flake8-bugbear progression #9366
Comments
Optionally i'd also like to enable |
Part of #9366 Adds in fixes for B006 and B008, both relating to mutable parameter lint errors. Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>
@ShadowJonathan Looks like a lot of this is done! 🎉 Any update on here that we should add? |
Already added all those updates, next step is "Discuss and merge making flake8 explicitly select checks", i'll make a properly-worded Process issue for that whenever i have time, currently bugbear is "there", but i'd like to also enable some of those "opinionated" checks. Additionally, I'd wanna update bugbear to the latest version, to fix the newest checks that were added, lemme add that one now... |
I think we can just use this issue. |
no, because in This is simply a tracker issue too, I dont think it is adequate or on-topic to start talking about something like this on here. |
#12600 came to the conclusion that I'll think about adding B90 lints in the future, but for now, this is done. |
This is a tracker issue for adding flake8-bugbear in short steps, and to keep track of it's progress.
The original PR was #9320, it has been split in the following PRs;
Addflake8-bugbear
dependency, putB00
in ignore list, and fix remaining violations (Add bugbear, add B00 to ignored checks, and fix 2 violation codes #9499)ignore
keys):B00
->B006,B007,B008
: Add more bugbear codes #9659B006,B007,B008
->B007
: Bugbear: Add Mutable Parameter fixes #9682B007
->""
: Fix (final) Bugbear violations #9838select
checks (issue #XXXX, PR #XXXX)B
code onselect=
(#XXXX)B90
) (#XXXX)(Some more information in #9279 about some specifics of these checks)
(#9370 was originally part of this tracker issue, but was denied, some discussion followed)
The text was updated successfully, but these errors were encountered: