chore(deps): update dependency lint/black to v24.2.0
Metadata
Current evaluation
Automated dependency update for lint/black from v24.1.1 to v24.2.0 passed CI checks, received two approvals, and was successfully merged into the main branch.
Suggested action: —
No scores available.
Issue body
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [lint/black](https://togithub.com/psf/black) ([changelog](https://togithub.com/psf/black/blob/main/CHANGES.md)) | `==24.1.1` -> `==24.2.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/) |
---
### Release Notes
<details>
<summary>psf/black (lint/black)</summary>
### [`v24.2.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2420)
[Compare Source](https://togithub.com/psf/black/compare/24.1.1...24.2.0)
##### Stable style
- Fixed a bug where comments where mistakenly removed along with redundant parentheses
([#​4218](https://togithub.com/psf/black/issues/4218))
##### Preview style
- Move the `hug_parens_with_braces_and_square_brackets` feature to the unstable style
due to an outstanding crash and proposed formatting tweaks ([#​4198](https://togithub.com/psf/black/issues/4198))
- Fixed a bug where base expressions caused inconsistent formatting of \*\* in tenary
expression ([#​4154](https://togithub.com/psf/black/issues/4154))
- Checking for newline before adding one on docstring that is almost at the line limit
([#​4185](https://togithub.com/psf/black/issues/4185))
- Remove redundant parentheses in `case` statement `if` guards ([#​4214](https://togithub.com/psf/black/issues/4214)).
##### Configuration
- Fix issue where *Black* would ignore input files in the presence of symlinks ([#​4222](https://togithub.com/psf/black/issues/4222))
- *Black* now ignores `pyproject.toml` that is missing a `tool.black` section when
discovering project root and configuration. Since *Black* continues to use version
control as an indicator of project root, this is expected to primarily change behavior
for users in a monorepo setup (desirably). If you wish to preserve previous behavior,
simply add an empty `[tool.black]` to the previously discovered `pyproject.toml`
([#​4204](https://togithub.com/psf/black/issues/4204))
##### Output
- Black will swallow any `SyntaxWarning`s or `DeprecationWarning`s produced by the `ast`
module when performing equivalence checks ([#​4189](https://togithub.com/psf/black/issues/4189))
##### Integrations
- Add a JSONSchema and provide a validate-pyproject entry-point ([#​4181](https://togithub.com/psf/black/issues/4181))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - "every weekend" in timezone Etc/UTC.
🚦 **Automerge**: Enabled.
♻ **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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/canonical/craft-cli).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Automated dependency update for lint/black from v24.1.1 to v24.2.0 passed CI checks, received two approvals, and was successfully merged into the main branch. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged automated dependency update for lint/black from v24.1.1 to v24.2.0 via Renovate bot. Automerged without conflicts, applying Black's formatting fixes, configuration improvements, and symlink handling updates. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #180 chore(deps): update dependency lint/black to v24 | craft-store | merged | Merged automated dependency update upgrading lint/black from v23.12.1 to v24.4.2. Approved by two reviewers, passed CI, and merged with a single-line change. | |
| #227 chore(deps): update dependency lint/black to v24 | craft-cli | merged | Merged an automated dependency update for black from v23.12.1 to v24.1.1. The pull request passed CI checks, received two approvals, and maintained existing code coverage before being merged to main. | |
| #111 chore(deps): update dependency lint/black to v24 | craft-archives | merged | Merged automated dependency update upgrading lint/black from v23.9.1 to v24.4.2. The PR passed CI checks, received approval, and successfully updated the project's code formatter. | |
| #169 chore(deps): update dependency lint/black to v24 | starbase | merged | Merged automated dependency update for lint/black from v23.11.0 to v24.1.0 via Renovate bot. Approved by reviewer, passed CI checks, and maintained 100% test coverage. | |
| #176 chore(deps): update dependency black to v24 | starbase | merged | Merged automated dependency update upgrading black from v23.3.0 to v24.1.1. The change passed CI, maintained 100% test coverage, received reviewer approval, and was successfully merged. | |
| #183 chore(deps): update dependency lint/black to v24 | craft-application | closed | Closed without merging and superseded by PR #185. The automated lint/black v24.1.1 update passed CI checks but was replaced. Renovate will ignore future 24.x updates for this branch. | |
| #1017 chore(deps): update dependency black to v23 | charmcraft | merged | Automated dependency update upgraded black from 22.12.0 to 23.1.0. The request passed CI checks, received approval, and was merged to keep the project's code formatter current. | |
| #1443 chore(deps): update dependency black to v23.12.1 | charmcraft | merged | Merged automated dependency update for black from v23.11.0 to v23.12.1. Approved by two reviewers, passed CI checks, and successfully merged. | |
| #71 chore(deps): update dependency dev-lint/black to v23.3.0 | craft-archives | merged | Merged an automated Renovate update upgrading dev-lint/black from v23.1.0 to v23.3.0. The change received reviewer approval, passed CI checks, and was successfully merged into the main branch. | |
| #1166 chore(deps): update dependency black to v23.7.0 | charmcraft | merged | Merged automated dependency update upgrading black from v23.3.0 to v23.7.0. The change passed CI checks and received reviewer approval before being merged into the main branch. |