GitHub / PyCQA/flake8-bugbear / commits
A plugin for Flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle.
SHA | Message | Author | Date | Stats |
---|---|---|---|---|
e7137ec1 | B906: ignore functions whose _fields attribute can't contain ast.AST subnodes... |
John Litborn <1****l@u****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
44355482 | Update README + version for 23.1.17 release | Cooper Lees <c****r@m****m> | over 2 years ago | |
91188aa7 | Rename B028 to B907, making it optional/opinionated. (#333) |
John Litborn <1****l@u****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
4a0db1aa | Update README + version for 23.1.14 release | Cooper Lees <c****r@m****m> | over 2 years ago | |
48a61e47 | merge Merge pull request #328 from jakkdl/suggest_r_format_specifier |
Zac Hatfield-Dodds <z****s@g****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
ef39e9a1 | Add B028 - suggests using the !r status conversion flag if a variable in an f... | jakkdl <h****b@p****e> | over 2 years ago | |
bba5ac4c |
[pre-commit.ci] pre-commit autoupdate (#327)
Co-authored-by: pre-commit-ci[bot] <6****]@u****m> |
pre-commit-ci[bot] <6****]@u****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
e1ad032a | Bring back tox-gh-actions (#325) |
Cooper Lees <m****e@c****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
6be38076 |
[pre-commit.ci] pre-commit autoupdate (#324)
Co-authored-by: pre-commit-ci[bot] <6****]@u****m> |
pre-commit-ci[bot] <6****]@u****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
83e6807d |
[pre-commit.ci] pre-commit autoupdate (#322)
Co-authored-by: pre-commit-ci[bot] <6****]@u****m>, Cooper Lees <c****r@m****m> |
pre-commit-ci[bot] <6****]@u****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
815ab984 | Add B017 support for pytest.raises (#317) |
Andrei Alexandru <i****s@u****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
fef1edc5 | Move to official 3.11 CI (#318) |
Cooper Lees <m****e@c****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
a751eade | Enable module-level checks for B018 (#315) |
Andrei Alexandru <i****s@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
38e7fd88 | add B906: visit_ function with no calls to a visit function (#316) |
John Litborn <1****l@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
71410094 | Correct version buddy ! | Cooper Ry Lees <m****e@c****m> | almost 3 years ago | |
9e9ff042 | Update README + version for 22.12.6 release | Cooper Ry Lees <m****e@c****m> | almost 3 years ago | |
0826e81a | merge Merge pull request #314 from jakkdl/zip_require_strict |
Zac Hatfield-Dodds <z****s@g****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
a54a4a3f |
Update README.rst
Co-authored-by: Cooper Lees <m****e@c****m> |
Zac Hatfield-Dodds <z****s@g****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
e4de78e2 | add b905: require strict= argument to zip() | jakkdl <h****b@p****e> | almost 3 years ago | |
356f0dce | B027 now ignores @[anything].overload to reduce false positives. (#309) |
John Litborn <1****l@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
9652dbdf | fix typo in unused comparison (B015) message (#307) |
James Lamb <j****0@g****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
e81c6363 | Update README + version for 22.10.27 release | Cooper Ry Lees <m****e@c****m> | almost 3 years ago | |
7b2af62f | merge Merge pull request #306 from jakkdl/b027_ignore_overload |
Zac Hatfield-Dodds <z****s@g****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
7a0b1e42 | merge Merge pull request #305 from jakkdl/B023-false-alarms |
Zac Hatfield-Dodds <z****s@g****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
93cd15b1 | B027 ignore @overload decorator | jakkdl <h****b@p****e> | almost 3 years ago | |
f2626f61 | also fix map in B023. update comments | jakkdl <h****b@p****e> | almost 3 years ago | |
e16ad247 |
Fix some B023 false alarms (#303)
Co-authored-by: Zac Hatfield-Dodds <z****s@g****m> |
John Litborn <1****l@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
c7c5c7ce | Update README + version for 22.10.25 release | Cooper Ry Lees <m****e@c****m> | almost 3 years ago | |
aa3c351d |
Make bugbear slightly more polite (#298)
Co-authored-by: Cooper Lees <m****e@c****m>, Cooper Lees <m****e@c****m> |
Sam Warner <s****w@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
48654e18 |
[pre-commit.ci] pre-commit autoupdate (#296)
Co-authored-by: pre-commit-ci[bot] <6****]@u****m> |
pre-commit-ci[bot] <6****]@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
e12c12b8 | add tox config (#294) |
John Litborn <1****l@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
466082c7 | merge Merge pull request #281 from jakkdl/abstract_class_empty_method_no_abstract_d... |
Zac Hatfield-Dodds <z****s@g****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
cea04996 | Fix #293, B024 now skips classes with class attribute declarations | jakkdl <h****b@p****e> | almost 3 years ago | |
0fec7e58 |
PEP 621: Migrate to pyproject.toml (#291)
Co-authored-by: Cooper Lees <m****e@c****m>, Cooper Lees <m****e@c****m> |
Christian Clauss <c****s@m****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
65c141e0 | fix B024 & B027 on python < 3.8 | jakkdl <h****b@p****e> | almost 3 years ago | |
8462c1ff | fixes #277, most of #278, and #280 | jakkdl <h****b@p****e> | almost 3 years ago | |
592b722f | Adding B025: empty method in abstract base class with no abstract decorator | jakkdl <h****b@p****e> | almost 3 years ago | |
846ba72e | Add Python 3.11 release candidate 2 to the testing (#292) |
Christian Clauss <c****s@m****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
11bc9384 | Have pypi upload just use latest python3 | Cooper Ry Lees <m****e@c****m> | almost 3 years ago | |
0dd0a35b |
Bump actions/checkout from 1 to 3 (#289)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m>, dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
c216b8d5 |
Bump actions/setup-python from 1 to 4 (#290)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m>, dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
58023c29 | Add dependabot to upgrade actions + deps | Cooper Ry Lees <m****e@c****m> | almost 3 years ago | |
8d9c4573 | Update version + Change Log for 22.9.23 release | Cooper Ry Lees <m****e@c****m> | almost 3 years ago | |
87e4d661 | Migrate metadata from setup.py to setup.cfg (#288) |
Christian Clauss <c****s@m****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
2b4c163d | B026 - Argument unpacking after keyword argument (#287) |
Philip Meier <g****r@p****e>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
3f3fd33f | Update version + Change Log for 22.9.11 release | Cooper Ry Lees <m****e@c****m> | almost 3 years ago | |
651ed801 | Add new check which finds duplicate except clauses (#284) |
kasium <1****m@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
4c34177d |
[pre-commit.ci] pre-commit autoupdate (#283)
Co-authored-by: pre-commit-ci[bot] <6****]@u****m> |
pre-commit-ci[bot] <6****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
bc46cb51 | Update version + Change Log for 22.8.23 release | Cooper Ry Lees <m****e@c****m> | about 3 years ago | |
7d1adf94 | Add missing error code to message for B024 (#276) |
Samuel Searles-Bryant <s****m@s****k>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
1007f5ce | Update version + Change Log for 22.8.22 release | Cooper Ry Lees <m****e@c****m> | about 3 years ago | |
881f0545 | merge Merge pull request #274 from jakkdl/abstract_class_no_abstract_methods |
Zac Hatfield-Dodds <z****s@g****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
4036ee10 | Add b024: abstract class with no abstract methods | jakkdl <h****b@p****e> | about 3 years ago | |
13e28827 |
[pre-commit.ci] pre-commit autoupdate (#270)
Co-authored-by: pre-commit-ci[bot] <6****]@u****m> |
pre-commit-ci[bot] <6****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
f68a2358 | Update version + Change Log for 22.7.1 release (#268) |
Cooper Lees <m****e@c****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
aaad1d6e | Implement late-binding loop check (#265) |
Zac Hatfield-Dodds <z****s@g****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
88bb9571 | Update version + Change Log for 22.6.22 release (#264) |
Cooper Lees <m****e@c****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
437c9d2e | don't crash when select / extend_select are None (#261) |
Anthony Sottile <a****e@u****u>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
b1e4ef29 |
Ignore lambda arguments for B020 (#259)
Co-authored-by: Alexey <a****n@y****u> |
Alexey Nikitin <3****d@u****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
0d54ee6d | Fix missing space typos in B021, B022 error messages (#257) |
Ganden Schaffner <g****b@x****e>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
bab0965d | Update version + Change Log for 22.4.25 release | Cooper Lees <c****r@f****m> | over 3 years ago | |
f2bf7f80 |
[pre-commit.ci] pre-commit autoupdate (#247)
Co-authored-by: pre-commit-ci[bot] <6****]@u****m>, Cooper Lees <m****e@c****m> |
pre-commit-ci[bot] <6****]@u****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
4338842b | Ignore black formatting for b013 test case (#251) |
Joe Young <8****t@u****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
d4afd147 | Fix B010 lambda flase positive (#246) |
Joe Young <8****t@u****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
e24eb106 | Black: replace --experimental-string-processing with --preview (#245) |
Joe Young <8****t@u****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
40a93817 | Fix B008 edge case with lambda functions (#243) |
Joe Young <8****t@u****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
c255c1be | Update version + Change Log for 22.3.23 release | Cooper Ry Lees <m****e@c****m> | over 3 years ago | |
f9e0f775 | B006 and B008: Cover additional test cases (#239) |
Joe Young <8****t@u****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
ea0bd481 | Remove long dead Travis Badge with Actions badge (#241) |
Cooper Lees <m****e@c****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
0e301946 | Add Pre-Commit Badge | Cooper Ry Lees <m****e@c****m> | over 3 years ago | |
a4dc2b73 | B020: Fix comprehension false postives (#238) |
Joe Young <8****t@u****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
77dc9920 | Tweak B019 desc (#237) |
Joe Young <8****t@u****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
00695321 | Update version + Change Log for 22.3.20 release (#234) |
Cooper Lees <m****e@c****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
e3892943 | B022: No arguments passed to contextlib.suppress (#231) |
Joseph Young <8****t@u****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
4a92ce5e |
Add B019 check to find cache decorators on class methods (#218)
Co-authored-by: Cooper Ry Lees <m****e@c****m>, Cooper Ry Lees <m****e@c****m> |
S. Co1 <s****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
83a82270 | Remove redundant W503 inline ignores (#233) |
Joseph Young <8****t@u****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
c5223e07 |
B021: f-string used as docstring. (#230)
Co-authored-by: Zac Hatfield-Dodds <z****s@g****m>, Zac Hatfield-Dodds <z****s@g****m> |
Joseph Young <8****t@u****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
3206da7d | Fix typo (#226) |
Kian-Meng Ang <k****g@g****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
d479f5ae | Fix crash on long empty string (#223) |
Mikhail Melnik <8****k@u****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
f1d1a531 |
Add B020 check to find for-loop control variable overiding iter set (#220)
Co-authored-by: Cooper Lees <m****e@c****m> |
Korben11 <K****1@u****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
1c47a162 | Update version + Change Log for 22.1.11 release | Cooper Ry Lees <m****e@c****m> | over 3 years ago | |
b29f204f | Update version to 22.1.2 for release | Cooper Ry Lees <m****e@c****m> | over 3 years ago | |
6fb81eef | Ignore JoinedStr for B018 (#216) |
kasium <1****m@u****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
c0a9c878 | Build universal Python 3 wheels (#214) |
johnthagen <j****n@u****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
2095bdd2 | Allow the same special cases for B950 as E501 (#176) (#213) |
Perry Vargas <p****s@g****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
49aec180 | Update version + Change Log for 21.11.29 release (#210) |
Cooper Lees <m****e@c****m>
Committed by: GitHub <n****y@g****m> |
almost 4 years ago | |
225f4e6a | Remove detection of strings in B018 (#209) |
kasium <1****m@u****m>
Committed by: GitHub <n****y@g****m> |
almost 4 years ago | |
9e311d5a | Fix 904 tests to expect on correct raise line | Cooper Ry Lees <m****e@c****m> | almost 4 years ago | |
987e539c | Update CHANGES.md, black format, update to version 21.11.28 for release | Cooper Ry Lees <m****e@c****m> | almost 4 years ago | |
9e14a8c9 |
B904: ensure the raise is in the same context with the except (#191)
Co-authored-by: Cooper Lees <m****e@c****m>, Cooper Lees <m****e@c****m> |
Batuhan Taskaya <i****l@g****m>
Committed by: GitHub <n****y@g****m> |
almost 4 years ago | |
c452048a |
Add Option to extend the list of immutable calls (#204)
Co-authored-by: Tobias Klare <k****e@d****e>, Cooper Lees <m****e@c****m> |
finswimmer <f****7@g****m>
Committed by: GitHub <n****y@g****m> |
almost 4 years ago | |
c90fa655 | B014: catch binascii.Error and ValueError redundancy + cleanup (#206) |
Richard Si <6****6@u****m>
Committed by: GitHub <n****y@g****m> |
almost 4 years ago | |
71091f93 | add simple pre-commit config (#205) |
finswimmer <f****7@g****m>
Committed by: GitHub <n****y@g****m> |
almost 4 years ago | |
98829c38 | Improve B018 further (#202) |
kasium <1****m@u****m>
Committed by: GitHub <n****y@g****m> |
almost 4 years ago | |
2ca8d79e | B018: Find more constants w/o assign (#201) |
kasium <1****m@u****m>
Committed by: GitHub <n****y@g****m> |
almost 4 years ago | |
597dbf62 | Fix hyperlink in readme (#199) |
kasium <1****m@u****m>
Committed by: GitHub <n****y@g****m> |
almost 4 years ago | |
5ecf5b03 | Add B018 check to find useless string declarations (#196) |
kasium <1****m@u****m>
Committed by: GitHub <n****y@g****m> |
almost 4 years ago | |
a29a583e | python 3.10 (#193) |
Dulmandakh <d****h@g****m>
Committed by: GitHub <n****y@g****m> |
almost 4 years ago | |
1fa4e6ad | Update setup.py (#189) |
Roger-cmd <7****d@u****m>
Committed by: GitHub <n****y@g****m> |
almost 4 years ago | |
ace91cc1 | Update setup.py + Change Log for 21.9.2 release | Cooper Ry Lees <m****e@c****m> | almost 4 years ago |