Skip to content

Commit

Permalink
fix(deps): Update dependency black to v24.3.0 (#144)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [black](https://togithub.com/psf/black) ([changelog](https://togithub.com/psf/black/blob/main/CHANGES.md)) | minor | `==24.2.0` -> `==24.3.0` |

---

### Release Notes

<details>
<summary>psf/black (black)</summary>

### [`v24.3.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2430)

[Compare Source](https://togithub.com/psf/black/compare/24.2.0...24.3.0)

##### Highlights

This release is a milestone: it fixes Black's first CVE security vulnerability. If you
run Black on untrusted input, or if you habitually put thousands of leading tab
characters in your docstrings, you are strongly encouraged to upgrade immediately to fix
[CVE-2024-21503](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503).

This release also fixes a bug in Black's AST safety check that allowed Black to make
incorrect changes to certain f-strings that are valid in Python 3.12 and higher.

##### Stable style

-   Don't move comments along with delimiters, which could cause crashes ([#&#8203;4248](https://togithub.com/psf/black/issues/4248))
-   Strengthen AST safety check to catch more unsafe changes to strings. Previous versions
    of Black would incorrectly format the contents of certain unusual f-strings containing
    nested strings with the same quote type. Now, Black will crash on such strings until
    support for the new f-string syntax is implemented. ([#&#8203;4270](https://togithub.com/psf/black/issues/4270))
-   Fix a bug where line-ranges exceeding the last code line would not work as expected
    ([#&#8203;4273](https://togithub.com/psf/black/issues/4273))

##### Performance

-   Fix catastrophic performance on docstrings that contain large numbers of leading tab
    characters. This fixes
    [CVE-2024-21503](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503).
    ([#&#8203;4278](https://togithub.com/psf/black/issues/4278))

##### Documentation

-   Note what happens when `--check` is used with `--quiet` ([#&#8203;4236](https://togithub.com/psf/black/issues/4236))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), 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://togithub.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjIuMSIsInVwZGF0ZWRJblZlciI6IjM3LjI2Mi4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
  • Loading branch information
cq-bot committed Mar 20, 2024
1 parent 5935c48 commit 6dd4cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
dependencies = [
"cloudquery-plugin-pb==0.0.24",
"exceptiongroup==1.2.0",
"black==24.2.0",
"black==24.3.0",
"grpcio==1.62.0",
"grpcio-tools==1.62.0",
"iniconfig==2.0.0",
Expand Down

0 comments on commit 6dd4cd1

Please sign in to comment.