chore(deps): update dependency lint/black to v24.2.0
Metadata
Current evaluation
Renovate PR #239 was merged into main, bumping lint/black from 24.1.1 to 24.2.0 in commit 31a3c48.
Resolution: closed resolved
Reason: PR #239 merged after approval by two reviewers; commit 31a3c48 records the dependency update.
Evaluated by: mr-cal-bot
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 |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Renovate PR #239 was merged into main, bumping lint/black from 24.1.1 to 24.2.0 in commit 31a3c48. | |
| stealth/space-bunny-alpha | — | closed resolved | Renovate bump of lint/black from 24.1.1 to 24.2.0 was merged into main via commit 31a3c48 (#239), a one-line tox.ini pin change approved by two reviewers. Black was later dropped entirely in #305. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged into main as #239, updating lint/black from 24.1.1 to 24.2.0; approved by two reviewers. | |
| 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. |
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 | Renovate PR merged via commit 571fbe4, bumping lint/black from 23.12.1 to 24.4.2 with a one-line dev-dependency pin change; approved by 2 reviewers with no CI failures. | |
| #169 chore(deps): update dependency lint/black to v24 | starbase | merged | Renovate updated lint/black from 23.11.0 to 24.1.0; PR #169 was merged in commit 621a105, with coverage remaining at 100%. | |
| #522 chore(deps): update dependency lint/black to v24 | craft-providers | merged | Merged Renovate PR #522 as commit 2af52e1, updating lint/black from 23.12.1 to 24.2.0. | |
| #183 chore(deps): update dependency lint/black to v24 | craft-application | closed | Renovate PR #183 bumping lint/black 23.10.1 -> 24.1.1 was closed unmerged by @lengau on 2024-01-31 as superseded by #185; black v24 landed via merged PR #185 (commit c4fa7570), which also reformatted files. | |
| #227 chore(deps): update dependency lint/black to v24 | craft-cli | merged | Renovate PR merged into main (commit bef83c6), bumping lint/black 23.12.1 -> 24.1.1 in tox.ini. Followed by #239 (24.2.0) and later black was dropped entirely (#250 ruff snap, #305). | |
| #111 chore(deps): update dependency lint/black to v24 | craft-archives | merged | Renovate PR merged as commit 90769cb, bumping lint/black from ==23.9.1 to ==24.4.2 in pyproject.toml (1 line). Later black was dropped in favor of ruff formatter (#119/#363). | |
| #176 chore(deps): update dependency black to v24 | starbase | merged | Renovate dependency bump of Black 23.3.0 -> 24.1.1 merged into main via commit 9815d93 (PR #176), a one-line change with 100% coverage retained; black was later removed in favour of ruff. | |
| #620 chore(deps): update dependency black to v24.8.0 | craft-providers | merged | Merged PR #620 updated Black from 24.4.2 to 24.8.0 via commit 5547eed. | |
| #71 chore(deps): update dependency dev-lint/black to v23.3.0 | craft-archives | merged | Merged PR #71 via commit 9e87510, updating dev-lint/black from 23.1.0 to 23.3.0. | |
| #1166 chore(deps): update dependency black to v23.7.0 | charmcraft | merged | Renovate dependency bump PR merged into main via commit fa7bbea3 (#1166), raising black from 23.3.0 to 23.7.0 in two dependency declarations (2 files, +2/-2). |