From 8fe627072f15ff2e3d380887b92f7868efaf6d05 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Fri, 12 Apr 2024 13:12:22 -0700 Subject: [PATCH] Prepare release 24.4.0 (#4307) --- CHANGES.md | 41 +-------------------- docs/integrations/source_version_control.md | 4 +- docs/usage_and_configuration/the_basics.md | 6 +-- 3 files changed, 6 insertions(+), 45 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 73b9954830a..e1c14b4ea7d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,61 +1,22 @@ # Change Log -## Unreleased - -### Highlights - - +## 24.4.0 ### Stable style - - - Fix unwanted crashes caused by AST equivalency check (#4290) ### Preview style - - - `if` guards in `case` blocks are now wrapped in parentheses when the line is too long. (#4269) - Stop moving multiline strings to a new line unless inside brackets (#4289) -### Configuration - - - -### Packaging - - - -### Parser - - - -### Performance - - - -### Output - - - -### _Blackd_ - - - ### Integrations - - - Add a new option `use_pyproject` to the GitHub Action `psf/black`. This will read the Black version from `pyproject.toml`. (#4294) -### Documentation - - - ## 24.3.0 ### Highlights diff --git a/docs/integrations/source_version_control.md b/docs/integrations/source_version_control.md index 541debdc556..6243d71f1b3 100644 --- a/docs/integrations/source_version_control.md +++ b/docs/integrations/source_version_control.md @@ -8,7 +8,7 @@ Use [pre-commit](https://pre-commit.com/). Once you repos: # Using this mirror lets us use mypyc-compiled black, which is about 2x faster - repo: https://github.com/psf/black-pre-commit-mirror - rev: 24.3.0 + rev: 24.4.0 hooks: - id: black # It is recommended to specify the latest version of Python @@ -35,7 +35,7 @@ include Jupyter Notebooks. To use this hook, simply replace the hook's `id: blac repos: # Using this mirror lets us use mypyc-compiled black, which is about 2x faster - repo: https://github.com/psf/black-pre-commit-mirror - rev: 24.3.0 + rev: 24.4.0 hooks: - id: black-jupyter # It is recommended to specify the latest version of Python diff --git a/docs/usage_and_configuration/the_basics.md b/docs/usage_and_configuration/the_basics.md index 9ce72823850..333403c7668 100644 --- a/docs/usage_and_configuration/the_basics.md +++ b/docs/usage_and_configuration/the_basics.md @@ -269,8 +269,8 @@ configuration file for consistent results across environments. ```console $ black --version -black, 24.3.0 (compiled: yes) -$ black --required-version 24.3.0 -c "format = 'this'" +black, 24.4.0 (compiled: yes) +$ black --required-version 24.4.0 -c "format = 'this'" format = "this" $ black --required-version 31.5b2 -c "still = 'beta?!'" Oh no! 💥 💔 💥 The required version does not match the running version! @@ -366,7 +366,7 @@ You can check the version of _Black_ you have installed using the `--version` fl ```console $ black --version -black, 24.3.0 +black, 24.4.0 ``` #### `--config`