Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies to v7 (major) (#292)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [flake8](https://togithub.com/pycqa/flake8) ([changelog](https://flake8.pycqa.org/en/latest/release-notes/index.html)) | `5.0.4` -> `7.0.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [flake8-bugbear](https://togithub.com/PyCQA/flake8-bugbear#change-log) ([changelog](https://togithub.com/PyCQA/flake8-bugbear#change-log)) | `23.3.12` -> `24.1.17` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>pycqa/flake8 (flake8)</summary> ### [`v7.0.0`](https://togithub.com/pycqa/flake8/compare/6.1.0...7.0.0) [Compare Source](https://togithub.com/pycqa/flake8/compare/6.1.0...7.0.0) ### [`v6.1.0`](https://togithub.com/pycqa/flake8/compare/6.0.0...6.1.0) [Compare Source](https://togithub.com/pycqa/flake8/compare/6.0.0...6.1.0) ### [`v6.0.0`](https://togithub.com/pycqa/flake8/compare/5.0.4...6.0.0) [Compare Source](https://togithub.com/pycqa/flake8/compare/5.0.4...6.0.0) </details> <details> <summary>PyCQA/flake8-bugbear (flake8-bugbear)</summary> ### [`v24.1.17`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/24.1.17) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/24.1.16...24.1.17) - B038: Restrict rule to mutation functions only ([#​453](https://togithub.com/PyCQA/flake8-bugbear/issues/453)) ### [`v24.1.16`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/24.1.16) [Compare Source](https://togithub.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://togithub.com/PyCQA/flake8-bugbear/releases/tag/24.1.15) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.12.2...24.1.15) - B038: Add check for mutations of loop iterator ([#​446](https://togithub.com/PyCQA/flake8-bugbear/issues/446)) - B037: Add check for yielding or returning values in **init**() ([#​442](https://togithub.com/PyCQA/flake8-bugbear/issues/442)) - B017: make B017 also apply to BaseException ([#​439](https://togithub.com/PyCQA/flake8-bugbear/issues/439)) - B036: Add check for except BaseException without re-raising ([#​438](https://togithub.com/PyCQA/flake8-bugbear/issues/438)) ### [`v23.12.2`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.12.2) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.11.28...23.12.2) - B018: to detect useless-statements at all levels ([#​434](https://togithub.com/PyCQA/flake8-bugbear/issues/434)) - B018: Add classname to b018 useless-expression output ([#​433](https://togithub.com/PyCQA/flake8-bugbear/issues/433)) - B018: Include tuples in b018 useless-statement check ([#​432](https://togithub.com/PyCQA/flake8-bugbear/issues/432)) ### [`v23.11.28`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.11.28) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.11.26...23.11.28) - B035: Fix false positive when named expressions are used ([#​430](https://togithub.com/PyCQA/flake8-bugbear/issues/430)) ### [`v23.11.26`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.11.26) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.9.16...23.11.26) - B035: add check for static keys in dict-comprehension ([#​426](https://togithub.com/PyCQA/flake8-bugbear/issues/426)) - B902: Add exceptions for standard library metaclasses ([#​415](https://togithub.com/PyCQA/flake8-bugbear/issues/415)) - B017: Modify to no longer have a false negative when raises() is imported directly from pytest ([#​424](https://togithub.com/PyCQA/flake8-bugbear/issues/424)) - B026: Fix bug where the check was not triggered for calls where the caller is an attribute ([#​420](https://togithub.com/PyCQA/flake8-bugbear/issues/420)) ### [`v23.9.16`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.9.16) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.7.10...23.9.16) - add --classmethod-decorators ([#​405](https://togithub.com/PyCQA/flake8-bugbear/issues/405)) - fix name collision for node_stack on python 3.12 ([#​406](https://togithub.com/PyCQA/flake8-bugbear/issues/406)) - Use pypa/build to build the package ([#​404](https://togithub.com/PyCQA/flake8-bugbear/issues/404)) ### [`v23.7.10`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.7.10) [Compare Source](https://togithub.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://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.6.5) [Compare Source](https://togithub.com/PyCQA/flake8-bugbear/compare/23.5.9...23.6.5) - Include tox.ini in MANIFEST.in for sdist. ([#​389](https://togithub.com/PyCQA/flake8-bugbear/issues/389)) - Improve B033 (duplicate set items) ([#​385](https://togithub.com/PyCQA/flake8-bugbear/issues/385)) ### [`v23.5.9`](https://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.5.9) [Compare Source](https://togithub.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://togithub.com/PyCQA/flake8-bugbear/releases/tag/23.3.23) [Compare Source](https://togithub.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:`) </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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/rpdelaney/downforeveryone). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
- Loading branch information