Update dependency flake8-bugbear to v24 #15

Merged
timatlee merged 1 commits from renovate/flake8-bugbear-24.x into main 2024-06-11 18:37:22 -06:00
Collaborator

This PR contains the following updates:

Package Update Change
flake8-bugbear (changelog) major ~=20.1.4 -> ~=24.4.26

Release Notes

PyCQA/flake8-bugbear (flake8-bugbear)

v24.4.26: 24.4.6

Compare Source

  • B909: Fix false positive affecting containers of mutables (#​469)

v24.4.21

Compare Source

  • B950: Add pragma comment to line length ignores (#​463)
  • B909: Add more cases to detect + more container mutating functions (#​460)

v24.2.6

Compare Source

  • B902: Remove decorators named validator and root_validator from B902 checks (#​459)
  • B038: Change B038 to B909 and make it optional (#​456)

v24.1.17

Compare Source

  • B038: Restrict rule to mutation functions only (#​453)

v24.1.16

Compare Source

  • B036: Fix crash on raise statements raising something other than

v24.1.15

Compare Source

  • B038: Add check for mutations of loop iterator (#​446)
  • B037: Add check for yielding or returning values in init() (#​442)
  • B017: make B017 also apply to BaseException (#​439)
  • B036: Add check for except BaseException without re-raising (#​438)

v23.12.2

Compare Source

  • B018: to detect useless-statements at all levels (#​434)
  • B018: Add classname to b018 useless-expression output (#​433)
  • B018: Include tuples in b018 useless-statement check (#​432)

v23.11.28

Compare Source

  • B035: Fix false positive when named expressions are used (#​430)

v23.11.26

Compare Source

  • B035: add check for static keys in dict-comprehension (#​426)
  • B902: Add exceptions for standard library metaclasses (#​415)
  • B017: Modify to no longer have a false negative when raises() is imported
    directly from pytest (#​424)
  • B026: Fix bug where the check was not triggered for calls where the caller
    is an attribute (#​420)

v23.9.16

Compare Source

  • add --classmethod-decorators (#​405)
  • fix name collision for node_stack on python 3.12 (#​406)
  • Use pypa/build to build the package (#​404)

v23.7.10

Compare Source

  • Add B034: re.sub/subn/split must pass flags/count/maxsplit as keyword arguments.
  • Fix a crash and several test failures on Python 3.12, all relating to the B907
    check.
  • Declare support for Python 3.12.

v23.6.5

Compare Source

  • Include tox.ini in MANIFEST.in for sdist. (#​389)
  • Improve B033 (duplicate set items) (#​385)

v23.5.9

Compare Source

  • Add B033: Detect duplicate items in sets
  • Add B908: Detect assertRauses like contexts only has top level statements that could throw
  • Add B028: Allow stacklevel to be explicitly assigned as a positional argument
  • Remove more < 3.8 checks / assertions

v23.3.23

Compare Source

  • flake8-bugbear is now >= 3.8.1 project like flake8>=6.0.0
    • This has allowed some more modern AST usage cleanup and less CI running etc.
  • B030: Fix crash on certain unusual except handlers (e.g. except a[0].b:)

v23.3.12

Compare Source

  • B950: now ignores 'noqa' and 'type: ignore' comments.
  • B005: Do not flag when using the strip() method on an imported module.
  • B030: Allow calls and starred expressions in except handlers.

v23.2.13

Compare Source

  • B906: Add visit_Bytes, visit_Num and visit_Str to the list of visit_*
    functions that are ignored by the B906 check. The ast.Bytes, ast.Num and
    ast.Str nodes are all deprecated, but may still be used by some codebases in
    order to maintain backwards compatibility with Python 3.7.
  • B016: Warn when raising f-strings.
  • Add B028: Check for an explicit stacklevel keyword argument on the warn method from the warnings module.
  • Add B029: Check when trying to use except with an empty tuple i.e. except: ().
  • Add B032: Check for possible unintentional type annotations instead of assignments.

v23.1.20

Compare Source

  • B024: now ignores classes without any methods. (#​336)
  • B017: Don't warn when pytest.raises() has a match argument. (#​334)
  • B906: Ignore visit_ functions with a _fields attribute that can't contain ast.AST subnodes. (#​330)

v23.1.17

Compare Source

  • Rename B028 to B907, making it optional/opinionated.

v23.1.14

Compare Source

  • Add B906: visit_ function with no further calls to a visit function. (#​313)
  • Add B028: Suggest !r when formatted value in f-string is surrounded by quotes. (#​319)

v22.12.6

Compare Source

  • Add B905: zip() without an explicit strict= parameter. (#​314)
  • B027: ignore @​overload when typing is imported with other names (#​309)

v22.10.27

Compare Source

  • B027: Ignore @​overload decorator (#​306)
  • B023: Also fix map (#​305)
  • B023: Avoid false alarms with filter, reduce, key= and return. Added tests for functools (#​303)

v22.10.25

Compare Source

  • Make B015 and B018 messages slightly more polite (#​298)
  • Add B027: Empty method in abstract base class with no abstract decorator
  • Multiple B024 false positive fixes
  • Move CI to use tox (#​294)
  • Move to using PEP621 / pyproject.toml package (#​291)
  • Tested in 3.11

v22.9.23

Compare Source

  • add B026: find argument unpacking after keyword argument (#​287)
  • Move to setup.cfg like flake8 (#​288)

v22.9.11

Compare Source

  • Add B025: Find duplicate except clauses (#​284)

v22.8.23

Compare Source

  • Add B024 error code to message for B024 (#​276)

v22.8.22

Compare Source

  • Add B024: abstract base class with no abstract methods (#​273)

v22.7.1

Compare Source

v22.6.22

Compare Source

  • Don't crash when select / extend_select are None (#​261)
  • Ignore lambda arguments for B020 (#​259)
  • Fix missing space typos in B021, B022 error messages (#​257)

v22.4.25

Compare Source

  • Ignore black formatting for b013 test case (#​251)
  • B010 Fix lambda false positive (#​246)
  • B008 Fix edge case with lambda functions (#​243)

v22.3.23

Compare Source

  • B006 and B008: Detect function calls at any level of the default expression (#​239)
  • B020: Fix comprehension false postives (#​238)
  • Tweak B019 desc (#​237)

v22.3.20

Compare Source

  • B022: No arguments passed to contextlib.suppress (#​231)
  • B021: f-string used as docstring. (#​230)
  • B020: ensure loop control variable doesn't overrides iterable it iterates (#​220)
  • B019: check to find cache decorators on class methods (#​218)
  • Fix crash on long empty string (#​223)

v22.1.11

Compare Source

  • B018: Ignore JoinedStr (#​216)
  • Build universal Python 3 wheels (#​214)
  • B950: Add same special cases as E501 (#​213)

v21.11.29

Compare Source

  • B018: Disable strings from check for now (#​209)

v21.11.28

Compare Source

  • B904: ensure the raise is in the same context with the except (#​191)
  • Add Option to extend the list of immutable calls (#​204)
  • Update B014: binascii.Error is now treated as a subclass of ValueError (#​206)
  • add simple pre-commit config (#​205)
  • Test with 3.10 official
  • Add B018 check to find useless declarations (#​196, #​202)

v21.9.2

Compare Source

  • Fix crash on call in except statement in _to_name_str (#​187)
  • Update B006: list, dictionary, and set comprehensions are now also disallowed (#​186)

v21.9.1

Compare Source

  • Update B008: Whitelist more immutable function calls (#​173)
  • Remove Python Compatibility Warnings (#​182)
  • Add B904: check for raise without from in an except clause (#​181)
  • Add Python 3.10 tests to ensure we pass (#​183)

v21.4.3

Compare Source

Verify the element in item_context.args is of type ast.Name for b017

v21.4.2

Compare Source

  • Add another hasattr() check to b017 visit for .func

v21.4.1

Compare Source

Happy April Fools! This is no joke, it's a real release.

  • Add B017: check for gotta-catch-em-all assertRaises(Exception)

Catching them all is bad!

v21.3.2

Compare Source

  • Fix crash on tuple expansion in try/except block (#​161)

v21.3.1

Compare Source

  • Fix grammar in B015 (#​150)
  • Make sure float infinity/NaN does not trigger B008 (#​155)
  • Handle positional-only args in class methods (#​158)

v20.11.1

Compare Source

  • Support exception aliases properly in B014 (#​129)
  • Add B015: Pointless comparison (#​130)
  • Remove check for # noqa comments (#​134)
  • Ignore exception classes which are not types (#​135)
  • Introduce B016 to check for raising a literal. (#​141)
  • Exclude types.MappingProxyType() from B008. (#​144)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear#change-log) ([changelog](https://github.com/PyCQA/flake8-bugbear#change-log)) | major | `~=20.1.4` -> `~=24.4.26` | --- ### Release Notes <details> <summary>PyCQA/flake8-bugbear (flake8-bugbear)</summary> ### [`v24.4.26`](https://github.com/PyCQA/flake8-bugbear/releases/tag/24.4.26): 24.4.6 [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/24.4.21...24.4.26) - B909: Fix false positive affecting containers of mutables ([#&#8203;469](https://github.com/PyCQA/flake8-bugbear/issues/469)) ### [`v24.4.21`](https://github.com/PyCQA/flake8-bugbear/releases/tag/24.4.21) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/24.2.6...24.4.21) - B950: Add pragma comment to line length ignores ([#&#8203;463](https://github.com/PyCQA/flake8-bugbear/issues/463)) - B909: Add more cases to detect + more container mutating functions ([#&#8203;460](https://github.com/PyCQA/flake8-bugbear/issues/460)) ### [`v24.2.6`](https://github.com/PyCQA/flake8-bugbear/releases/tag/24.2.6) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/24.1.17...24.2.6) - B902: Remove decorators named validator and root_validator from B902 checks ([#&#8203;459](https://github.com/PyCQA/flake8-bugbear/issues/459)) - B038: Change B038 to B909 and make it optional ([#&#8203;456](https://github.com/PyCQA/flake8-bugbear/issues/456)) ### [`v24.1.17`](https://github.com/PyCQA/flake8-bugbear/releases/tag/24.1.17) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/24.1.16...24.1.17) - B038: Restrict rule to mutation functions only ([#&#8203;453](https://github.com/PyCQA/flake8-bugbear/issues/453)) ### [`v24.1.16`](https://github.com/PyCQA/flake8-bugbear/releases/tag/24.1.16) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/24.1.15...24.1.16) - B036: Fix crash on `raise` statements raising something other than ### [`v24.1.15`](https://github.com/PyCQA/flake8-bugbear/releases/tag/24.1.15) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/23.12.2...24.1.15) - B038: Add check for mutations of loop iterator ([#&#8203;446](https://github.com/PyCQA/flake8-bugbear/issues/446)) - B037: Add check for yielding or returning values in **init**() ([#&#8203;442](https://github.com/PyCQA/flake8-bugbear/issues/442)) - B017: make B017 also apply to BaseException ([#&#8203;439](https://github.com/PyCQA/flake8-bugbear/issues/439)) - B036: Add check for except BaseException without re-raising ([#&#8203;438](https://github.com/PyCQA/flake8-bugbear/issues/438)) ### [`v23.12.2`](https://github.com/PyCQA/flake8-bugbear/releases/tag/23.12.2) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/23.11.28...23.12.2) - B018: to detect useless-statements at all levels ([#&#8203;434](https://github.com/PyCQA/flake8-bugbear/issues/434)) - B018: Add classname to b018 useless-expression output ([#&#8203;433](https://github.com/PyCQA/flake8-bugbear/issues/433)) - B018: Include tuples in b018 useless-statement check ([#&#8203;432](https://github.com/PyCQA/flake8-bugbear/issues/432)) ### [`v23.11.28`](https://github.com/PyCQA/flake8-bugbear/releases/tag/23.11.28) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/23.11.26...23.11.28) - B035: Fix false positive when named expressions are used ([#&#8203;430](https://github.com/PyCQA/flake8-bugbear/issues/430)) ### [`v23.11.26`](https://github.com/PyCQA/flake8-bugbear/releases/tag/23.11.26) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/23.9.16...23.11.26) - B035: add check for static keys in dict-comprehension ([#&#8203;426](https://github.com/PyCQA/flake8-bugbear/issues/426)) - B902: Add exceptions for standard library metaclasses ([#&#8203;415](https://github.com/PyCQA/flake8-bugbear/issues/415)) - B017: Modify to no longer have a false negative when raises() is imported directly from pytest ([#&#8203;424](https://github.com/PyCQA/flake8-bugbear/issues/424)) - B026: Fix bug where the check was not triggered for calls where the caller is an attribute ([#&#8203;420](https://github.com/PyCQA/flake8-bugbear/issues/420)) ### [`v23.9.16`](https://github.com/PyCQA/flake8-bugbear/releases/tag/23.9.16) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/23.7.10...23.9.16) - add --classmethod-decorators ([#&#8203;405](https://github.com/PyCQA/flake8-bugbear/issues/405)) - fix name collision for node_stack on python 3.12 ([#&#8203;406](https://github.com/PyCQA/flake8-bugbear/issues/406)) - Use pypa/build to build the package ([#&#8203;404](https://github.com/PyCQA/flake8-bugbear/issues/404)) ### [`v23.7.10`](https://github.com/PyCQA/flake8-bugbear/releases/tag/23.7.10) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/23.6.5...23.7.10) - Add B034: re.sub/subn/split must pass flags/count/maxsplit as keyword arguments. - Fix a crash and several test failures on Python 3.12, all relating to the B907 check. - Declare support for Python 3.12. ### [`v23.6.5`](https://github.com/PyCQA/flake8-bugbear/releases/tag/23.6.5) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/23.5.9...23.6.5) - Include tox.ini in MANIFEST.in for sdist. ([#&#8203;389](https://github.com/PyCQA/flake8-bugbear/issues/389)) - Improve B033 (duplicate set items) ([#&#8203;385](https://github.com/PyCQA/flake8-bugbear/issues/385)) ### [`v23.5.9`](https://github.com/PyCQA/flake8-bugbear/releases/tag/23.5.9) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/23.3.23...23.5.9) - Add B033: Detect duplicate items in sets - Add B908: Detect assertRauses like contexts only has top level statements that could throw - Add B028: Allow stacklevel to be explicitly assigned as a positional argument - Remove more < 3.8 checks / assertions ### [`v23.3.23`](https://github.com/PyCQA/flake8-bugbear/releases/tag/23.3.23) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/23.3.12...23.3.23) - flake8-bugbear is now >= 3.8.1 project like flake8>=6.0.0 - This has allowed some more modern AST usage cleanup and less CI running etc. - B030: Fix crash on certain unusual except handlers (e.g. `except a[0].b:`) ### [`v23.3.12`](https://github.com/PyCQA/flake8-bugbear/releases/tag/23.3.12) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/23.2.13...23.3.12) - B950: now ignores 'noqa' and 'type: ignore' comments. - B005: Do not flag when using the `strip()` method on an imported module. - B030: Allow calls and starred expressions in except handlers. ### [`v23.2.13`](https://github.com/PyCQA/flake8-bugbear/releases/tag/23.2.13) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/23.1.20...23.2.13) - B906: Add `visit_Bytes`, `visit_Num` and `visit_Str` to the list of `visit_*` functions that are ignored by the B906 check. The `ast.Bytes`, `ast.Num` and `ast.Str` nodes are all deprecated, but may still be used by some codebases in order to maintain backwards compatibility with Python 3.7. - B016: Warn when raising f-strings. - Add B028: Check for an explicit stacklevel keyword argument on the warn method from the warnings module. - Add B029: Check when trying to use `except` with an empty tuple i.e. `except: ()`. - Add B032: Check for possible unintentional type annotations instead of assignments. ### [`v23.1.20`](https://github.com/PyCQA/flake8-bugbear/releases/tag/23.1.20) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/23.1.17...23.1.20) - B024: now ignores classes without any methods. ([#&#8203;336](https://github.com/PyCQA/flake8-bugbear/issues/336)) - B017: Don't warn when `pytest.raises()` has a `match` argument. ([#&#8203;334](https://github.com/PyCQA/flake8-bugbear/issues/334)) - B906: Ignore `visit_` functions with a `_fields` attribute that can't contain ast.AST subnodes. ([#&#8203;330](https://github.com/PyCQA/flake8-bugbear/issues/330)) ### [`v23.1.17`](https://github.com/PyCQA/flake8-bugbear/releases/tag/23.1.17) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/23.1.14...23.1.17) - Rename B028 to B907, making it optional/opinionated. ### [`v23.1.14`](https://github.com/PyCQA/flake8-bugbear/releases/tag/23.1.14) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/22.12.6...23.1.14) - Add B906: `visit_` function with no further calls to a `visit` function. ([#&#8203;313](https://github.com/PyCQA/flake8-bugbear/issues/313)) - Add B028: Suggest `!r` when formatted value in f-string is surrounded by quotes. ([#&#8203;319](https://github.com/PyCQA/flake8-bugbear/issues/319)) ### [`v22.12.6`](https://github.com/PyCQA/flake8-bugbear/releases/tag/22.12.6) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/22.10.27...22.12.6) - Add B905: `zip()` without an explicit `strict=` parameter. ([#&#8203;314](https://github.com/PyCQA/flake8-bugbear/issues/314)) - B027: ignore [@&#8203;overload](https://github.com/overload) when typing is imported with other names ([#&#8203;309](https://github.com/PyCQA/flake8-bugbear/issues/309)) ### [`v22.10.27`](https://github.com/PyCQA/flake8-bugbear/releases/tag/22.10.27) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/22.10.25...22.10.27) - B027: Ignore [@&#8203;overload](https://github.com/overload) decorator ([#&#8203;306](https://github.com/PyCQA/flake8-bugbear/issues/306)) - B023: Also fix map ([#&#8203;305](https://github.com/PyCQA/flake8-bugbear/issues/305)) - B023: Avoid false alarms with filter, reduce, key= and return. Added tests for functools ([#&#8203;303](https://github.com/PyCQA/flake8-bugbear/issues/303)) ### [`v22.10.25`](https://github.com/PyCQA/flake8-bugbear/releases/tag/22.10.25) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/22.9.23...22.10.25) - Make B015 and B018 messages slightly more polite ([#&#8203;298](https://github.com/PyCQA/flake8-bugbear/issues/298)) - Add B027: Empty method in abstract base class with no abstract decorator - Multiple B024 false positive fixes - Move CI to use `tox` ([#&#8203;294](https://github.com/PyCQA/flake8-bugbear/issues/294)) - Move to using PEP621 / `pyproject.toml` package ([#&#8203;291](https://github.com/PyCQA/flake8-bugbear/issues/291)) - Tested in 3.11 ### [`v22.9.23`](https://github.com/PyCQA/flake8-bugbear/releases/tag/22.9.23) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/22.9.11...22.9.23) - add B026: find argument unpacking after keyword argument ([#&#8203;287](https://github.com/PyCQA/flake8-bugbear/issues/287)) - Move to setup.cfg like flake8 ([#&#8203;288](https://github.com/PyCQA/flake8-bugbear/issues/288)) ### [`v22.9.11`](https://github.com/PyCQA/flake8-bugbear/releases/tag/22.9.11) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/22.8.23...22.9.11) - Add B025: Find duplicate except clauses ([#&#8203;284](https://github.com/PyCQA/flake8-bugbear/issues/284)) ### [`v22.8.23`](https://github.com/PyCQA/flake8-bugbear/releases/tag/22.8.23) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/22.8.22...22.8.23) - Add B024 error code to message for B024 ([#&#8203;276](https://github.com/PyCQA/flake8-bugbear/issues/276)) ### [`v22.8.22`](https://github.com/PyCQA/flake8-bugbear/releases/tag/22.8.22) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/22.7.1...22.8.22) - Add B024: abstract base class with no abstract methods ([#&#8203;273](https://github.com/PyCQA/flake8-bugbear/issues/273)) ### [`v22.7.1`](https://github.com/PyCQA/flake8-bugbear/releases/tag/22.7.1) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/22.6.22...22.7.1) - Implement late-binding loop check ([#&#8203;265](https://github.com/PyCQA/flake8-bugbear/issues/265)) - [late-binding closures are a classic gotcha](https://docs.python-guide.org/writing/gotchas/#late-binding-closures>). ### [`v22.6.22`](https://github.com/PyCQA/flake8-bugbear/releases/tag/22.6.22) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/22.4.25...22.6.22) - Don't crash when select / extend_select are None ([#&#8203;261](https://github.com/PyCQA/flake8-bugbear/issues/261)) - Unlocks new flake8 release - Thanks [@&#8203;asottile](https://github.com/asottile) - Ignore lambda arguments for B020 ([#&#8203;259](https://github.com/PyCQA/flake8-bugbear/issues/259)) - Fix missing space typos in B021, B022 error messages ([#&#8203;257](https://github.com/PyCQA/flake8-bugbear/issues/257)) ### [`v22.4.25`](https://github.com/PyCQA/flake8-bugbear/releases/tag/22.4.25) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/22.3.23...22.4.25) - Ignore black formatting for b013 test case ([#&#8203;251](https://github.com/PyCQA/flake8-bugbear/issues/251)) - B010 Fix lambda false positive ([#&#8203;246](https://github.com/PyCQA/flake8-bugbear/issues/246)) - B008 Fix edge case with lambda functions ([#&#8203;243](https://github.com/PyCQA/flake8-bugbear/issues/243)) ### [`v22.3.23`](https://github.com/PyCQA/flake8-bugbear/releases/tag/22.3.23) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/22.3.20...22.3.23) - B006 and B008: Detect function calls at any level of the default expression ([#&#8203;239](https://github.com/PyCQA/flake8-bugbear/issues/239)) - B020: Fix comprehension false postives ([#&#8203;238](https://github.com/PyCQA/flake8-bugbear/issues/238)) - Tweak B019 desc ([#&#8203;237](https://github.com/PyCQA/flake8-bugbear/issues/237)) ### [`v22.3.20`](https://github.com/PyCQA/flake8-bugbear/releases/tag/22.3.20) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/22.1.11...22.3.20) - B022: No arguments passed to contextlib.suppress ([#&#8203;231](https://github.com/PyCQA/flake8-bugbear/issues/231)) - B021: f-string used as docstring. ([#&#8203;230](https://github.com/PyCQA/flake8-bugbear/issues/230)) - B020: ensure loop control variable doesn't overrides iterable it iterates ([#&#8203;220](https://github.com/PyCQA/flake8-bugbear/issues/220)) - B019: check to find cache decorators on class methods ([#&#8203;218](https://github.com/PyCQA/flake8-bugbear/issues/218)) - Fix crash on long empty string ([#&#8203;223](https://github.com/PyCQA/flake8-bugbear/issues/223)) ### [`v22.1.11`](https://github.com/PyCQA/flake8-bugbear/releases/tag/22.1.11) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/21.11.29...22.1.11) - B018: Ignore JoinedStr ([#&#8203;216](https://github.com/PyCQA/flake8-bugbear/issues/216)) - Build universal Python 3 wheels ([#&#8203;214](https://github.com/PyCQA/flake8-bugbear/issues/214)) - B950: Add same special cases as E501 ([#&#8203;213](https://github.com/PyCQA/flake8-bugbear/issues/213)) ### [`v21.11.29`](https://github.com/PyCQA/flake8-bugbear/releases/tag/21.11.29) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/21.11.28...21.11.29) - B018: Disable strings from check for now ([#&#8203;209](https://github.com/PyCQA/flake8-bugbear/issues/209)) ### [`v21.11.28`](https://github.com/PyCQA/flake8-bugbear/releases/tag/21.11.28) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/21.9.2...21.11.28) - B904: ensure the raise is in the same context with the except ([#&#8203;191](https://github.com/PyCQA/flake8-bugbear/issues/191)) - Add Option to extend the list of immutable calls ([#&#8203;204](https://github.com/PyCQA/flake8-bugbear/issues/204)) - Update B014: `binascii.Error` is now treated as a subclass of `ValueError` ([#&#8203;206](https://github.com/PyCQA/flake8-bugbear/issues/206)) - add simple pre-commit config ([#&#8203;205](https://github.com/PyCQA/flake8-bugbear/issues/205)) - Test with 3.10 official - Add B018 check to find useless declarations ([#&#8203;196](https://github.com/PyCQA/flake8-bugbear/issues/196), [#&#8203;202](https://github.com/PyCQA/flake8-bugbear/issues/202)) ### [`v21.9.2`](https://github.com/PyCQA/flake8-bugbear/releases/tag/21.9.2) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/21.9.1...21.9.2) - Fix crash on call in except statement in \_to_name_str ([#&#8203;187](https://github.com/PyCQA/flake8-bugbear/issues/187)) - Update B006: list, dictionary, and set comprehensions are now also disallowed ([#&#8203;186](https://github.com/PyCQA/flake8-bugbear/issues/186)) ### [`v21.9.1`](https://github.com/PyCQA/flake8-bugbear/releases/tag/21.9.1) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/21.4.3...21.9.1) - Update B008: Whitelist more immutable function calls ([#&#8203;173](https://github.com/PyCQA/flake8-bugbear/issues/173)) - Remove Python Compatibility Warnings ([#&#8203;182](https://github.com/PyCQA/flake8-bugbear/issues/182)) - Add B904: check for `raise` without `from` in an `except` clause ([#&#8203;181](https://github.com/PyCQA/flake8-bugbear/issues/181)) - Add Python 3.10 tests to ensure we pass ([#&#8203;183](https://github.com/PyCQA/flake8-bugbear/issues/183)) ### [`v21.4.3`](https://github.com/PyCQA/flake8-bugbear/releases/tag/21.4.3) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/21.4.2...21.4.3) Verify the element in item_context.args is of type ast.Name for b017 ### [`v21.4.2`](https://github.com/PyCQA/flake8-bugbear/releases/tag/21.4.2) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/21.4.1...21.4.2) - Add another hasattr() check to b017 visit for .func ### [`v21.4.1`](https://github.com/PyCQA/flake8-bugbear/releases/tag/21.4.1) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/21.3.2...21.4.1) Happy April Fools! This is no joke, it's a real release. - Add B017: check for gotta-catch-em-all assertRaises(Exception) Catching them all is bad! ### [`v21.3.2`](https://github.com/PyCQA/flake8-bugbear/releases/tag/21.3.2) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/21.3.1...21.3.2) - Fix crash on tuple expansion in try/except block ([#&#8203;161](https://github.com/PyCQA/flake8-bugbear/issues/161)) ### [`v21.3.1`](https://github.com/PyCQA/flake8-bugbear/releases/tag/21.3.1) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/20.11.1...21.3.1) - Fix grammar in B015 ([#&#8203;150](https://github.com/PyCQA/flake8-bugbear/issues/150)) - Make sure float infinity/NaN does not trigger B008 ([#&#8203;155](https://github.com/PyCQA/flake8-bugbear/issues/155)) - Handle positional-only args in class methods ([#&#8203;158](https://github.com/PyCQA/flake8-bugbear/issues/158)) ### [`v20.11.1`](https://github.com/PyCQA/flake8-bugbear/releases/tag/20.11.1) [Compare Source](https://github.com/PyCQA/flake8-bugbear/compare/20.1.4...20.11.1) - Support exception aliases properly in B014 ([#&#8203;129](https://github.com/PyCQA/flake8-bugbear/issues/129)) - Add B015: Pointless comparison ([#&#8203;130](https://github.com/PyCQA/flake8-bugbear/issues/130)) - Remove check for # noqa comments ([#&#8203;134](https://github.com/PyCQA/flake8-bugbear/issues/134)) - Ignore exception classes which are not types ([#&#8203;135](https://github.com/PyCQA/flake8-bugbear/issues/135)) - Introduce B016 to check for raising a literal. ([#&#8203;141](https://github.com/PyCQA/flake8-bugbear/issues/141)) - Exclude types.MappingProxyType() from B008. ([#&#8203;144](https://github.com/PyCQA/flake8-bugbear/issues/144)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MDIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQwMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
renovate-bot added 1 commit 2024-06-11 08:41:25 -06:00
timatlee merged commit ce76fa87ed into main 2024-06-11 18:37:22 -06:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: timatlee/cloudflare-ddns-docker-updated#15
No description provided.