Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [black](https://github.com/psf/black) ([changelog](https://github.com/psf/black/blob/main/CHANGES.md)) | `23.3.0` -> `23.12.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/black/23.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/black/23.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/black/23.3.0/23.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/black/23.3.0/23.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear#change-log) ([changelog](https://github.com/PyCQA/flake8-bugbear#change-log)) | `23.3.12` -> `23.12.2` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/flake8-bugbear/23.12.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/flake8-bugbear/23.12.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/flake8-bugbear/23.3.12/23.12.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/flake8-bugbear/23.3.12/23.12.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [flake8-builtins](https://github.com/gforcada/flake8-builtins) ([changelog](https://github.com/gforcada/flake8-builtins/blob/main/CHANGES.rst)) | `2.1.0` -> `2.5.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/flake8-builtins/2.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/flake8-builtins/2.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/flake8-builtins/2.1.0/2.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/flake8-builtins/2.1.0/2.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [flake8-comprehensions](https://github.com/adamchainz/flake8-comprehensions) ([changelog](https://github.com/adamchainz/flake8-comprehensions/blob/main/CHANGELOG.rst)) | `3.13.0` -> `3.14.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/flake8-comprehensions/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/flake8-comprehensions/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/flake8-comprehensions/3.13.0/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/flake8-comprehensions/3.13.0/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [flake8-pytest-style](https://pypi.org/project/flake8-pytest-style) ([source](https://github.com/m-burst/flake8-pytest-style)) | `1.6.0` -> `1.7.2` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/flake8-pytest-style/1.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/flake8-pytest-style/1.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/flake8-pytest-style/1.6.0/1.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/flake8-pytest-style/1.6.0/1.7.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [isort](https://pycqa.github.io/isort/) ([source](https://github.com/pycqa/isort), [changelog](https://github.com/pycqa/isort/blob/main/CHANGELOG.md)) | `5.11.5` -> `5.13.2` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/isort/5.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/isort/5.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/isort/5.11.5/5.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/isort/5.11.5/5.13.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [mypy](https://www.mypy-lang.org/) ([source](https://github.com/python/mypy), [changelog](https://mypy-lang.blogspot.com/)) | `1.4.1` -> `1.10.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/mypy/1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/mypy/1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/mypy/1.4.1/1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/mypy/1.4.1/1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [pytest-mock](https://github.com/pytest-dev/pytest-mock) ([changelog](https://pytest-mock.readthedocs.io/en/latest/changelog.html)) | `3.11.1` -> `3.14.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest-mock/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pytest-mock/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pytest-mock/3.11.1/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest-mock/3.11.1/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [responses](https://github.com/getsentry/responses) ([changelog](https://github.com/getsentry/responses/blob/master/CHANGES)) | `0.23.3` -> `0.25.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/responses/0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/responses/0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/responses/0.23.3/0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/responses/0.23.3/0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>psf/black (black)</summary> ### [`v23.12.1`](https://github.com/psf/black/blob/HEAD/CHANGES.md#23121) [Compare Source](https://github.com/psf/black/compare/23.12.0...23.12.1) ##### Packaging - Fixed a bug that included dependencies from the `d` extra by default ([#​4108](https://github.com/psf/black/issues/4108)) ### [`v23.12.0`](https://github.com/psf/black/blob/HEAD/CHANGES.md#23120) [Compare Source](https://github.com/psf/black/compare/23.11.0...23.12.0) ##### Highlights It's almost 2024, which means it's time for a new edition of *Black*'s stable style! Together with this release, we'll put out an alpha release 24.1a1 showcasing the draft 2024 stable style, which we'll finalize in the January release. Please try it out and [share your feedback](https://github.com/psf/black/issues/4042). This release (23.12.0) will still produce the 2023 style. Most but not all of the changes in `--preview` mode will be in the 2024 stable style. ##### Stable style - Fix bug where `# fmt: off` automatically dedents when used with the `--line-ranges` option, even when it is not within the specified line range. ([#​4084](https://github.com/psf/black/issues/4084)) - Fix feature detection for parenthesized context managers ([#​4104](https://github.com/psf/black/issues/4104)) ##### Preview style - Prefer more equal signs before a break when splitting chained assignments ([#​4010](https://github.com/psf/black/issues/4010)) - Standalone form feed characters at the module level are no longer removed ([#​4021](https://github.com/psf/black/issues/4021)) - Additional cases of immediately nested tuples, lists, and dictionaries are now indented less ([#​4012](https://github.com/psf/black/issues/4012)) - Allow empty lines at the beginning of all blocks, except immediately before a docstring ([#​4060](https://github.com/psf/black/issues/4060)) - Fix crash in preview mode when using a short `--line-length` ([#​4086](https://github.com/psf/black/issues/4086)) - Keep suites consisting of only an ellipsis on their own lines if they are not functions or class definitions ([#​4066](https://github.com/psf/black/issues/4066)) ([#​4103](https://github.com/psf/black/issues/4103)) ##### Configuration - `--line-ranges` now skips *Black*'s internal stability check in `--safe` mode. This avoids a crash on rare inputs that have many unformatted same-content lines. ([#​4034](https://github.com/psf/black/issues/4034)) ##### Packaging - Upgrade to mypy 1.7.1 ([#​4049](https://github.com/psf/black/issues/4049)) ([#​4069](https://github.com/psf/black/issues/4069)) - Faster compiled wheels are now available for CPython 3.12 ([#​4070](https://github.com/psf/black/issues/4070)) ##### Integrations - Enable 3.12 CI ([#​4035](https://github.com/psf/black/issues/4035)) - Build docker images in parallel ([#​4054](https://github.com/psf/black/issues/4054)) - Build docker images with 3.12 ([#​4055](https://github.com/psf/black/issues/4055)) ### [`v23.11.0`](https://github.com/psf/black/blob/HEAD/CHANGES.md#23110) [Compare Source](https://github.com/psf/black/compare/23.10.1...23.11.0) ##### Highlights - Support formatting ranges of lines with the new `--line-ranges` command-line option ([#​4020](https://github.com/psf/black/issues/4020)) ##### Stable style - Fix crash on formatting bytes strings that look like docstrings ([#​4003](https://github.com/psf/black/issues/4003)) - Fix crash when whitespace followed a backslash before newline in a docstring ([#​4008](https://github.com/psf/black/issues/4008)) - Fix standalone comments inside complex blocks crashing Black ([#​4016](https://github.com/psf/black/issues/4016)) - Fix crash on formatting code like `await (a ** b)` ([#​3994](https://github.com/psf/black/issues/3994)) - No longer treat leading f-strings as docstrings. This matches Python's behaviour and fixes a crash ([#​4019](https://github.com/psf/black/issues/4019)) ##### Preview style - Multiline dicts and lists that are the sole argument to a function are now indented less ([#​3964](https://github.com/psf/black/issues/3964)) - Multiline unpacked dicts and lists as the sole argument to a function are now also indented less ([#​3992](https://github.com/psf/black/issues/3992)) - In f-string debug expressions, quote types that are visible in the final string are now preserved ([#​4005](https://github.com/psf/black/issues/4005)) - Fix a bug where long `case` blocks were not split into multiple lines. Also enable general trailing comma rules on `case` blocks ([#​4024](https://github.com/psf/black/issues/4024)) - Keep requiring two empty lines between module-level docstring and first function or class definition ([#​4028](https://github.com/psf/black/issues/4028)) - Add support for single-line format skip with other comments on the same line ([#​3959](https://github.com/psf/black/issues/3959)) ##### Configuration - Consistently apply force exclusion logic before resolving symlinks ([#​4015](https://github.com/psf/black/issues/4015)) - Fix a bug in the matching of absolute path names in `--include` ([#​3976](https://github.com/psf/black/issues/3976)) ##### Performance - Fix mypyc builds on arm64 on macOS ([#​4017](https://github.com/psf/black/issues/4017)) ##### Integrations - Black's pre-commit integration will now run only on git hooks appropriate for a code formatter ([#​3940](https://github.com/psf/black/issues/3940)) ### [`v23.10.1`](https://github.com/psf/black/blob/HEAD/CHANGES.md#23101) [Compare Source](https://github.com/psf/black/compare/23.10.0...23.10.1) ##### Highlights - Maintenance release to get a fix out for GitHub Action edge case ([#​3957](https://github.com/psf/black/issues/3957)) ##### Preview style - Fix merging implicit multiline strings that have inline comments ([#​3956](https://github.com/psf/black/issues/3956)) - Allow empty first line after block open before a comment or compound statement ([#​3967](https://github.com/psf/black/issues/3967)) ##### Packaging - Change Dockerfile to hatch + compile black ([#​3965](https://github.com/psf/black/issues/3965)) ##### Integrations - The summary output for GitHub workflows is now suppressible using the `summary` parameter. ([#​3958](https://github.com/psf/black/issues/3958)) - Fix the action failing when Black check doesn't pass ([#​3957](https://github.com/psf/black/issues/3957)) ##### Documentation - It is known Windows documentation CI is broken [https://github.com/psf/black/issues/3968](https://github.com/psf/black/issues/3968)3968 ### [`v23.10.0`](https://github.com/psf/black/blob/HEAD/CHANGES.md#23100) [Compare Source](https://github.com/psf/black/compare/23.9.1...23.10.0) ##### Stable style - Fix comments getting removed from inside parenthesized strings ([#​3909](https://github.com/psf/black/issues/3909)) ##### Preview style - Fix long lines with power operators getting split before the line length ([#​3942](https://github.com/psf/black/issues/3942)) - Long type hints are now wrapped in parentheses and properly indented when split across multiple lines ([#​3899](https://github.com/psf/black/issues/3899)) - Magic trailing commas are now respected in return types. ([#​3916](https://github.com/psf/black/issues/3916)) - Require one empty line after module-level docstrings. ([#​3932](https://github.com/psf/black/issues/3932)) - Treat raw triple-quoted strings as docstrings ([#​3947](https://github.com/psf/black/issues/3947)) ##### Configuration - Fix cache versioning logic when `BLACK_CACHE_DIR` is set ([#​3937](https://github.com/psf/black/issues/3937)) ##### Parser - Fix bug where attributes named `type` were not acccepted inside `match` statements ([#​3950](https://github.com/psf/black/issues/3950)) - Add support for PEP 695 type aliases containing lambdas and other unusual expressions ([#​3949](https://github.com/psf/black/issues/3949)) ##### Output - Black no longer attempts to provide special errors for attempting to format Python 2 code ([#​3933](https://github.com/psf/black/issues/3933)) - Black will more consistently print stacktraces on internal errors in verbose mode ([#​3938](https://github.com/psf/black/issues/3938)) ##### Integrations - The action output displayed in the job summary is now wrapped in Markdown ([#​3914](https://github.com/psf/black/issues/3914)) ### [`v23.9.1`](https://github.com/psf/black/blob/HEAD/CHANGES.md#2391) [Compare Source](https://github.com/psf/black/compare/23.9.0...23.9.1) Due to various issues, the previous release (23.9.0) did not include compiled mypyc wheels, which make Black significantly faster. These issues have now been fixed, and this release should come with compiled wheels once again. There will be no wheels for Python 3.12 due to a bug in mypyc. We will provide 3.12 wheels in a future release as soon as the mypyc bug is fixed. ##### Packaging - Upgrade to mypy 1.5.1 ([#​3864](https://github.com/psf/black/issues/3864)) ##### Performance - Store raw tuples instead of NamedTuples in Black's cache, improving performance and decreasing the size of the cache ([#​3877](https://github.com/psf/black/issues/3877)) ### [`v23.9.0`](https://github.com/psf/black/blob/HEAD/CHANGES.md#2390) [Compare Source](https://github.com/psf/black/compare/23.7.0...23.9.0) ##### Preview style - More concise formatting for dummy implementations ([#​3796](https://github.com/psf/black/issues/3796)) - In stub files, add a blank line between a statement with a body (e.g an `if sys.version_info > (3, x):`) and a function definition on the same level ([#​3862](https://github.com/psf/black/issues/3862)) - Fix a bug whereby spaces were removed from walrus operators within subscript([#​3823](https://github.com/psf/black/issues/3823)) ##### Configuration - Black now applies exclusion and ignore logic before resolving symlinks ([#​3846](https://github.com/psf/black/issues/3846)) ##### Performance - Avoid importing `IPython` if notebook cells do not contain magics ([#​3782](https://github.com/psf/black/issues/3782)) - Improve caching by comparing file hashes as fallback for mtime and size ([#​3821](https://github.com/psf/black/issues/3821)) ##### *Blackd* - Fix an issue in `blackd` with single character input ([#​3558](https://github.com/psf/black/issues/3558)) ##### Integrations - Black now has an [official pre-commit mirror](https://github.com/psf/black-pre-commit-mirror). Swapping `https://github.com/psf/black` to `https://github.com/psf/black-pre-commit-mirror` in your `.pre-commit-config.yaml` will make Black about 2x faster ([#​3828](https://github.com/psf/black/issues/3828)) - The `.black.env` folder specified by `ENV_PATH` will now be removed on the completion of the GitHub Action ([#​3759](https://github.com/psf/black/issues/3759)) ### [`v23.7.0`](https://github.com/psf/black/blob/HEAD/CHANGES.md#2370) [Compare Source](https://github.com/psf/black/compare/23.3.0...23.7.0) ##### Highlights - Runtime support for Python 3.7 has been removed. Formatting 3.7 code will still be supported until further notice ([#​3765](https://github.com/psf/black/issues/3765)) ##### Stable style - Fix a bug where an illegal trailing comma was added to return type annotations using PEP 604 unions ([#​3735](https://github.com/psf/black/issues/3735)) - Fix several bugs and crashes where comments in stub files were removed or mishandled under some circumstances ([#​3745](https://github.com/psf/black/issues/3745)) - Fix a crash with multi-line magic comments like `type: ignore` within parentheses ([#​3740](https://github.com/psf/black/issues/3740)) - Fix error in AST validation when *Black* removes trailing whitespace in a type comment ([#​3773](https://github.com/psf/black/issues/3773)) ##### Preview style - Implicitly concatenated strings used as function args are no longer wrapped inside parentheses ([#​3640](https://github.com/psf/black/issues/3640)) - Remove blank lines between a class definition and its docstring ([#​3692](https://github.com/psf/black/issues/3692)) ##### Configuration - The `--workers` argument to *Black* can now be specified via the `BLACK_NUM_WORKERS` environment variable ([#​3743](https://github.com/psf/black/issues/3743)) - `.pytest_cache`, `.ruff_cache` and `.vscode` are now excluded by default ([#​3691](https://github.com/psf/black/issues/3691)) - Fix *Black* not honouring `pyproject.toml` settings when running `--stdin-filename` and the `pyproject.toml` found isn't in the current working directory ([#​3719](https://github.com/psf/black/issues/3719)) - *Black* will now error if `exclude` and `extend-exclude` have invalid data types in `pyproject.toml`, instead of silently doing the wrong thing ([#​3764](https://github.com/psf/black/issues/3764)) ##### Packaging - Upgrade mypyc from 0.991 to 1.3 ([#​3697](https://github.com/psf/black/issues/3697)) - Remove patching of Click that mitigated errors on Python 3.6 with `LANG=C` ([#​3768](https://github.com/psf/black/issues/3768)) ##### Parser - Add support for the new PEP 695 syntax in Python 3.12 ([#​3703](https://github.com/psf/black/issues/3703)) ##### Performance - Speed up *Black* significantly when the cache is full ([#​3751](https://github.com/psf/black/issues/3751)) - Avoid importing `IPython` in a case where we wouldn't need it ([#​3748](https://github.com/psf/black/issues/3748)) ##### Output - Use aware UTC datetimes internally, avoids deprecation warning on Python 3.12 ([#​3728](https://github.com/psf/black/issues/3728)) - Change verbose logging to exactly mirror *Black*'s logic for source discovery ([#​3749](https://github.com/psf/black/issues/3749)) ##### *Blackd* - The `blackd` argument parser now shows the default values for options in their help text ([#​3712](https://github.com/psf/black/issues/3712)) ##### Integrations - Black is now tested with [`PYTHONWARNDEFAULTENCODING = 1`](https://docs.python.org/3/library/io.html#io-encoding-warning) ([#​3763](https://github.com/psf/black/issues/3763)) - Update GitHub Action to display black output in the job summary ([#​3688](https://github.com/psf/black/issues/3688)) ##### Documentation - Add a CITATION.cff file to the root of the repository, containing metadata on how to cite this software ([#​3723](https://github.com/psf/black/issues/3723)) - Update the *classes* and *exceptions* documentation in Developer reference to match the latest code base ([#​3755](https://github.com/psf/black/issues/3755)) </details> <details> <summary>PyCQA/flake8-bugbear (flake8-bugbear)</summary> ### [`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 ([#​434](https://github.com/PyCQA/flake8-bugbear/issues/434)) - B018: Add classname to b018 useless-expression output ([#​433](https://github.com/PyCQA/flake8-bugbear/issues/433)) - B018: Include tuples in b018 useless-statement check ([#​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 ([#​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 ([#​426](https://github.com/PyCQA/flake8-bugbear/issues/426)) - B902: Add exceptions for standard library metaclasses ([#​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 ([#​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 ([#​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 ([#​405](https://github.com/PyCQA/flake8-bugbear/issues/405)) - fix name collision for node_stack on python 3.12 ([#​406](https://github.com/PyCQA/flake8-bugbear/issues/406)) - Use pypa/build to build the package ([#​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. ([#​389](https://github.com/PyCQA/flake8-bugbear/issues/389)) - Improve B033 (duplicate set items) ([#​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:`) </details> <details> <summary>gforcada/flake8-builtins (flake8-builtins)</summary> ### [`v2.5.0`](https://github.com/gforcada/flake8-builtins/blob/HEAD/CHANGES.rst#250-2024-04-09) [Compare Source](https://github.com/gforcada/flake8-builtins/compare/2.4.0...2.5.0) - Support detecting a shadowing folder as module name (as part of `A005`). \[asfaltboy] ### [`v2.4.0`](https://github.com/gforcada/flake8-builtins/blob/HEAD/CHANGES.rst#240-2024-04-01) [Compare Source](https://github.com/gforcada/flake8-builtins/compare/2.3.0...2.4.0) - Add rule for lambda argument shadowing (`A006`). \[cielavenir] ### [`v2.3.0`](https://github.com/gforcada/flake8-builtins/blob/HEAD/CHANGES.rst#230-2024-03-29) [Compare Source](https://github.com/gforcada/flake8-builtins/compare/2.2.0...2.3.0) - Add rule for builtin module name shadowing (`A005`). \[asfaltboy] ### [`v2.2.0`](https://github.com/gforcada/flake8-builtins/blob/HEAD/CHANGES.rst#220-2023-11-03) [Compare Source](https://github.com/gforcada/flake8-builtins/compare/2.1.0...2.2.0) - Use `tox` and `pre-commit` to ease project maintenance. \[gforcada] </details> <details> <summary>adamchainz/flake8-comprehensions (flake8-comprehensions)</summary> ### [`v3.14.0`](https://github.com/adamchainz/flake8-comprehensions/blob/HEAD/CHANGELOG.rst#3140-2023-07-10) [Compare Source](https://github.com/adamchainz/flake8-comprehensions/compare/3.13.0...3.14.0) - Drop Python 3.7 support. </details> <details> <summary>m-burst/flake8-pytest-style (flake8-pytest-style)</summary> ### [`v1.7.2`](https://github.com/m-burst/flake8-pytest-style/compare/v1.7.1...v1.7.2) [Compare Source](https://github.com/m-burst/flake8-pytest-style/compare/v1.7.1...v1.7.2) ### [`v1.7.1`](https://github.com/m-burst/flake8-pytest-style/compare/v1.7.0...v1.7.1) [Compare Source](https://github.com/m-burst/flake8-pytest-style/compare/v1.7.0...v1.7.1) ### [`v1.7.0`](https://github.com/m-burst/flake8-pytest-style/compare/v1.6.0...v1.7.0) [Compare Source](https://github.com/m-burst/flake8-pytest-style/compare/v1.6.0...v1.7.0) </details> <details> <summary>pycqa/isort (isort)</summary> ### [`v5.13.2`](https://github.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5132-December-13-2023) [Compare Source](https://github.com/pycqa/isort/compare/5.13.1...5.13.2) - Apply the bracket fix from issue [#​471](https://github.com/pycqa/isort/issues/471) only for use_parentheses=True ([#​2184](https://github.com/pycqa/isort/issues/2184)) [@​bp72](https://github.com/bp72) - Confine pre-commit to stages ([#​2213](https://github.com/pycqa/isort/issues/2213)) [@​davidculley](https://github.com/davidculley) - Fixed colors extras ([#​2212](https://github.com/pycqa/isort/issues/2212)) [@​staticdev](https://github.com/staticdev) ### [`v5.13.1`](https://github.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5131-December-11-2023) [Compare Source](https://github.com/pycqa/isort/compare/5.13.0...5.13.1) - Fixed integration tests ([#​2208](https://github.com/pycqa/isort/issues/2208)) [@​bp72](https://github.com/bp72) - Fixed normalizing imports from more than one level of parent modules (issue/2152) ([#​2191](https://github.com/pycqa/isort/issues/2191)) [@​bp72](https://github.com/bp72) - Remove optional dependencies without extras ([#​2207](https://github.com/pycqa/isort/issues/2207)) [@​staticdev](https://github.com/staticdev) ### [`v5.13.0`](https://github.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5130-December-9-2023) [Compare Source](https://github.com/pycqa/isort/compare/5.12.0...5.13.0) - Cleanup deprecated extras ([#​2089](https://github.com/pycqa/isort/issues/2089)) [@​staticdev](https://github.com/staticdev) - Fixed [#​1989](https://github.com/pycqa/isort/issues/1989): settings lookup when working in stream based mode - Fixed 80 line length for wemake linter ([#​2183](https://github.com/pycqa/isort/issues/2183)) [@​skatromb](https://github.com/skatromb) - Add support for Python 3.12 ([#​2175](https://github.com/pycqa/isort/issues/2175)) [@​hugovk](https://github.com/hugovk) - Fixed: add newest version to pre-commit docs ([#​2190](https://github.com/pycqa/isort/issues/2190)) [@​AzulGarza](https://github.com/AzulGarza) - Fixed assertions in test_git_hook ([#​2196](https://github.com/pycqa/isort/issues/2196)) [@​mgorny](https://github.com/mgorny) - Removed check for include_trailing_comma for the Hanging Indent wrap mode ([#​2192](https://github.com/pycqa/isort/issues/2192)) [@​bp72](https://github.com/bp72) - Use the standard library tomllib on sufficiently new python ([#​2202](https://github.com/pycqa/isort/issues/2202)) [@​eli-schwartz](https://github.com/eli-schwartz) - Update pre-commit.md version number ([#​2197](https://github.com/pycqa/isort/issues/2197)) [@​nicobako](https://github.com/nicobako) - doc: Update black_compatibility.md ([#​2177](https://github.com/pycqa/isort/issues/2177)) [@​JSS95](https://github.com/JSS95) - Fixed safety sept 2023 ([#​2178](https://github.com/pycqa/isort/issues/2178)) [@​staticdev](https://github.com/staticdev) - docs: fix black profile documentation ([#​2163](https://github.com/pycqa/isort/issues/2163)) [@​nijel](https://github.com/nijel) - Fixed typo: indended -> indented ([#​2161](https://github.com/pycqa/isort/issues/2161)) [@​vadimkerr](https://github.com/vadimkerr) - Docs(configuration/options.md): fix missing trailing spaces for hard linebreak ([#​2157](https://github.com/pycqa/isort/issues/2157)) [@​JoeyTeng](https://github.com/JoeyTeng) - Update pre-commit.md ([#​2148](https://github.com/pycqa/isort/issues/2148)) [@​godiard](https://github.com/godiard) - chore: move configurations to pyproject.toml ([#​2115](https://github.com/pycqa/isort/issues/2115)) [@​SauravMaheshkar](https://github.com/SauravMaheshkar) - Fixed typo in README ([#​2112](https://github.com/pycqa/isort/issues/2112)) [@​stefmolin](https://github.com/stefmolin) - Update version in pre-commit setup to avoid installation issue with poetry ([#​2103](https://github.com/pycqa/isort/issues/2103)) [@​stefmolin](https://github.com/stefmolin) - Skip .pytype directory by default. ([#​2098](https://github.com/pycqa/isort/issues/2098)) [@​manueljacob](https://github.com/manueljacob) - Fixed a tip block styling in the Config Files section ([#​2097](https://github.com/pycqa/isort/issues/2097)) [@​Klavionik](https://github.com/Klavionik) - Do not cache configuration files ([#​1995](https://github.com/pycqa/isort/issues/1995)) [@​kaste](https://github.com/kaste) - Derive settings_path from --filename ([#​1992](https://github.com/pycqa/isort/issues/1992)) [@​kaste](https://github.com/kaste) - Fixed year of version 5.12.0 in CHANGELOG.md ([#​2082](https://github.com/pycqa/isort/issues/2082)) [@​DjLegolas](https://github.com/DjLegolas) ### [`v5.12.0`](https://github.com/pycqa/isort/blob/HEAD/CHANGELOG.md#5120-January-28-2023) [Compare Source](https://github.com/pycqa/isort/compare/5.11.5...5.12.0) - Removed support for Python 3.7 - Fixed incompatiblity with latest poetry version - Added support for directory limitations within built in git hook </details> <details> <summary>python/mypy (mypy)</summary> ### [`v1.10.0`](https://github.com/python/mypy/compare/1.9.0...v1.10.0) [Compare Source](https://github.com/python/mypy/compare/1.9.0...v1.10.0) ### [`v1.9.0`](https://github.com/python/mypy/compare/v1.8.0...1.9.0) [Compare Source](https://github.com/python/mypy/compare/v1.8.0...1.9.0) ### [`v1.8.0`](https://github.com/python/mypy/compare/v1.7.1...v1.8.0) [Compare Source](https://github.com/python/mypy/compare/v1.7.1...v1.8.0) ### [`v1.7.1`](https://github.com/python/mypy/compare/v1.7.0...v1.7.1) [Compare Source](https://github.com/python/mypy/compare/v1.7.0...v1.7.1) ### [`v1.7.0`](https://github.com/python/mypy/compare/v1.6.1...v1.7.0) [Compare Source](https://github.com/python/mypy/compare/v1.6.1...v1.7.0) ### [`v1.6.1`](https://github.com/python/mypy/compare/v1.6.0...v1.6.1) [Compare Source](https://github.com/python/mypy/compare/v1.6.0...v1.6.1) ### [`v1.6.0`](https://github.com/python/mypy/compare/v1.5.1...v1.6.0) [Compare Source](https://github.com/python/mypy/compare/v1.5.1...v1.6.0) ### [`v1.5.1`](https://github.com/python/mypy/compare/v1.5.0...v1.5.1) [Compare Source](https://github.com/python/mypy/compare/v1.5.0...v1.5.1) ### [`v1.5.0`](https://github.com/python/mypy/compare/v1.4.1...v1.5.0) [Compare Source](https://github.com/python/mypy/compare/v1.4.1...v1.5.0) </details> <details> <summary>pytest-dev/pytest-mock (pytest-mock)</summary> ### [`v3.14.0`](https://github.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3140-2024-03-21) [Compare Source](https://github.com/pytest-dev/pytest-mock/compare/v3.13.0...v3.14.0) - `#​415 <https://github.com/pytest-dev/pytest-mock/pull/415>`\_: `MockType` and `AsyncMockType` can be imported from `pytest_mock` for type annotation purposes. - `#​420 <https://github.com/pytest-dev/pytest-mock/issues/420>`\_: Fixed a regression which would cause `mocker.patch.object` to not being properly cleared between tests. ### [`v3.13.0`](https://github.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3130-2024-03-21) [Compare Source](https://github.com/pytest-dev/pytest-mock/compare/v3.12.0...v3.13.0) - `#​417 <https://github.com/pytest-dev/pytest-mock/pull/417>`\_: `spy` now has `spy_return_list`, which is a list containing all the values returned by the spied function. - `pytest-mock` now requires `pytest>=6.2.5`. - `#​410 <https://github.com/pytest-dev/pytest-mock/pull/410>`*: pytest-mock's `setup.py` file is removed. If you relied on this file, e.g. to install pytest using `setup.py install`, please see `Why you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary>`* for alternatives. ### [`v3.12.0`](https://github.com/pytest-dev/pytest-mock/blob/HEAD/CHANGELOG.rst#3120-2023-10-19) [Compare Source](https://github.com/pytest-dev/pytest-mock/compare/v3.11.1...v3.12.0) - Added support for Python 3.12. - Dropped support for EOL Python 3.7. - `mocker.resetall()` now also resets mocks created by `mocker.create_autospec` (`#390`\_). .. \_#390:[https://github.com/pytest-dev/pytest-mock/pull/390](https://github.com/pytest-dev/pytest-mock/pull/390)0 </details> <details> <summary>getsentry/responses (responses)</summary> ### [`v0.25.0`](https://github.com/getsentry/responses/blob/HEAD/CHANGES#0250) [Compare Source](https://github.com/getsentry/responses/compare/0.24.1...0.25.0) - Added support for Python 3.12 - Fixed `matchers.header_matcher` not failing when a matched header is missing from the request. See [#​702](https://github.com/getsentry/responses/issues/702) ### [`v0.24.1`](https://github.com/getsentry/responses/blob/HEAD/CHANGES#0241) [Compare Source](https://github.com/getsentry/responses/compare/0.24.0...0.24.1) - Reverted overloads removal - Added typing to `Call` attributes. - Fix socket issues (see [#​693](https://github.com/getsentry/responses/issues/693)) ### [`v0.24.0`](https://github.com/getsentry/responses/blob/HEAD/CHANGES#0240) [Compare Source](https://github.com/getsentry/responses/compare/0.23.3...0.24.0) - Added `BaseResponse.calls` to access calls data of a separate mocked request. See [#​664](https://github.com/getsentry/responses/issues/664) - Added `real_adapter_send` parameter to `RequestsMock` that will allow users to set through which function they would like to send real requests - Added support for re.Pattern based header matching. - Added support for gzipped response bodies to `json_params_matcher`. - Fix `Content-Type` headers issue when the header was duplicated. See [#​644](https://github.com/getsentry/responses/issues/644) - Moved types-pyyaml dependency to `tests_requires` - Removed Python3.7 support </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
- Loading branch information