Update dependency flake8-bugbear to v23 - autoclosed #17

Closed
renovate wants to merge 1 commits from renovate/flake8-bugbear-23.x into master
Collaborator

This PR contains the following updates:

Package Update Change
flake8-bugbear (changelog) major ==22.12.6 -> ==23.7.10

Release Notes

PyCQA/flake8-bugbear (flake8-bugbear)

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)

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 | `==22.12.6` -> `==23.7.10` | --- ### Release Notes <details> <summary>PyCQA/flake8-bugbear (flake8-bugbear)</summary> ### [`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)) </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:eyJjcmVhdGVkSW5WZXIiOiIzNS40OC4yIiwidXBkYXRlZEluVmVyIjoiMzYuNi4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
renovate force-pushed renovate/flake8-bugbear-23.x from 32769c7964 to f5d5975b54 2023-05-10 08:00:51 +01:00 Compare
renovate force-pushed renovate/flake8-bugbear-23.x from f5d5975b54 to e9a222daf9 2023-06-05 18:00:45 +01:00 Compare
renovate force-pushed renovate/flake8-bugbear-23.x from e9a222daf9 to 3ad7f3e59e 2023-07-10 18:00:50 +01:00 Compare
renovate changed title from Update dependency flake8-bugbear to v23 to Update dependency flake8-bugbear to v23 - autoclosed 2023-07-15 16:00:58 +01:00
renovate closed this pull request 2023-07-15 16:00:58 +01:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: repos/website#17
No description provided.