Skip to content

Commit 6fdf8a4

Browse files
authored
Prepare release 24.2.0 (#4226)
1 parent 8af4394 commit 6fdf8a4

File tree

3 files changed

+6
-39
lines changed

3 files changed

+6
-39
lines changed

CHANGES.md

+1-34
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
# Change Log
22

3-
## Unreleased
4-
5-
### Highlights
6-
7-
<!-- Include any especially major or disruptive changes here -->
3+
## 24.2.0
84

95
### Stable style
106

11-
<!-- Changes that affect Black's stable style -->
12-
137
- Fixed a bug where comments where mistakenly removed along with redundant parentheses
148
(#4218)
159

1610
### Preview style
1711

18-
<!-- Changes that affect Black's preview style -->
19-
2012
- Move the `hug_parens_with_braces_and_square_brackets` feature to the unstable style
2113
due to an outstanding crash and proposed formatting tweaks (#4198)
2214
- Fixed a bug where base expressions caused inconsistent formatting of \*\* in tenary
@@ -35,40 +27,15 @@
3527
simply add an empty `[tool.black]` to the previously discovered `pyproject.toml`
3628
(#4204)
3729

38-
### Packaging
39-
40-
<!-- Changes to how Black is packaged, such as dependency requirements -->
41-
42-
### Parser
43-
44-
<!-- Changes to the parser or to version autodetection -->
45-
46-
### Performance
47-
48-
<!-- Changes that improve Black's performance. -->
49-
5030
### Output
5131

52-
<!-- Changes to Black's terminal output and error messages -->
53-
5432
- Black will swallow any `SyntaxWarning`s or `DeprecationWarning`s produced by the `ast`
5533
module when performing equivalence checks (#4189)
5634

57-
### _Blackd_
58-
59-
<!-- Changes to blackd -->
60-
6135
### Integrations
6236

63-
<!-- For example, Docker, GitHub Actions, pre-commit, editors -->
64-
6537
- Add a JSONSchema and provide a validate-pyproject entry-point (#4181)
6638

67-
### Documentation
68-
69-
<!-- Major changes to documentation and policies. Small docs changes
70-
don't need a changelog entry. -->
71-
7239
## 24.1.1
7340

7441
Bugfix release to fix a bug that made Black unusable on certain file systems with strict

docs/integrations/source_version_control.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Use [pre-commit](https://pre-commit.com/). Once you
88
repos:
99
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
1010
- repo: https://github.com/psf/black-pre-commit-mirror
11-
rev: 24.1.1
11+
rev: 24.2.0
1212
hooks:
1313
- id: black
1414
# 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
3535
repos:
3636
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
3737
- repo: https://github.com/psf/black-pre-commit-mirror
38-
rev: 24.1.1
38+
rev: 24.2.0
3939
hooks:
4040
- id: black-jupyter
4141
# It is recommended to specify the latest version of Python

docs/usage_and_configuration/the_basics.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@ configuration file for consistent results across environments.
266266

267267
```console
268268
$ black --version
269-
black, 24.1.1 (compiled: yes)
270-
$ black --required-version 24.1.1 -c "format = 'this'"
269+
black, 24.2.0 (compiled: yes)
270+
$ black --required-version 24.2.0 -c "format = 'this'"
271271
format = "this"
272272
$ black --required-version 31.5b2 -c "still = 'beta?!'"
273273
Oh no! 💥 💔 💥 The required version does not match the running version!
@@ -363,7 +363,7 @@ You can check the version of _Black_ you have installed using the `--version` fl
363363

364364
```console
365365
$ black --version
366-
black, 24.1.1
366+
black, 24.2.0
367367
```
368368

369369
#### `--config`

0 commit comments

Comments
 (0)