Prepare release 24.2.0 (#4226)
This commit is contained in:
parent
8af439407c
commit
6fdf8a4af2
35
CHANGES.md
35
CHANGES.md
@ -1,22 +1,14 @@
|
||||
# Change Log
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Highlights
|
||||
|
||||
<!-- Include any especially major or disruptive changes here -->
|
||||
## 24.2.0
|
||||
|
||||
### Stable style
|
||||
|
||||
<!-- Changes that affect Black's stable style -->
|
||||
|
||||
- Fixed a bug where comments where mistakenly removed along with redundant parentheses
|
||||
(#4218)
|
||||
|
||||
### Preview style
|
||||
|
||||
<!-- Changes that affect Black's 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)
|
||||
- Fixed a bug where base expressions caused inconsistent formatting of \*\* in tenary
|
||||
@ -35,40 +27,15 @@
|
||||
simply add an empty `[tool.black]` to the previously discovered `pyproject.toml`
|
||||
(#4204)
|
||||
|
||||
### Packaging
|
||||
|
||||
<!-- Changes to how Black is packaged, such as dependency requirements -->
|
||||
|
||||
### Parser
|
||||
|
||||
<!-- Changes to the parser or to version autodetection -->
|
||||
|
||||
### Performance
|
||||
|
||||
<!-- Changes that improve Black's performance. -->
|
||||
|
||||
### Output
|
||||
|
||||
<!-- Changes to Black's terminal output and error messages -->
|
||||
|
||||
- Black will swallow any `SyntaxWarning`s or `DeprecationWarning`s produced by the `ast`
|
||||
module when performing equivalence checks (#4189)
|
||||
|
||||
### _Blackd_
|
||||
|
||||
<!-- Changes to blackd -->
|
||||
|
||||
### Integrations
|
||||
|
||||
<!-- For example, Docker, GitHub Actions, pre-commit, editors -->
|
||||
|
||||
- Add a JSONSchema and provide a validate-pyproject entry-point (#4181)
|
||||
|
||||
### Documentation
|
||||
|
||||
<!-- Major changes to documentation and policies. Small docs changes
|
||||
don't need a changelog entry. -->
|
||||
|
||||
## 24.1.1
|
||||
|
||||
Bugfix release to fix a bug that made Black unusable on certain file systems with strict
|
||||
|
@ -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.1.1
|
||||
rev: 24.2.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.1.1
|
||||
rev: 24.2.0
|
||||
hooks:
|
||||
- id: black-jupyter
|
||||
# It is recommended to specify the latest version of Python
|
||||
|
@ -266,8 +266,8 @@ configuration file for consistent results across environments.
|
||||
|
||||
```console
|
||||
$ black --version
|
||||
black, 24.1.1 (compiled: yes)
|
||||
$ black --required-version 24.1.1 -c "format = 'this'"
|
||||
black, 24.2.0 (compiled: yes)
|
||||
$ black --required-version 24.2.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!
|
||||
@ -363,7 +363,7 @@ You can check the version of _Black_ you have installed using the `--version` fl
|
||||
|
||||
```console
|
||||
$ black --version
|
||||
black, 24.1.1
|
||||
black, 24.2.0
|
||||
```
|
||||
|
||||
#### `--config`
|
||||
|
Loading…
Reference in New Issue
Block a user