Prepare CHANGES.md for release 21.8b0 (#2458)

Hopefully my first release doesn't end up in flames 🔥

Commit history before merge:

* Prepare CHANGES.md for release 21.8b0
* I need to add a check for this too.
This commit is contained in:
Richard Si 2021-08-29 14:56:22 -04:00 committed by GitHub
parent a5bb6e0a32
commit 16275d24e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# Change Log # Change Log
## Unreleased ## 21.8b0
### _Black_ ### _Black_
@ -17,7 +17,8 @@
### _Blackd_ ### _Blackd_
- Replace sys.exit(-1) with raise ImportError (#2440) - Replace sys.exit(-1) with raise ImportError as it plays more nicely with tools that
scan installed packages (#2440)
### Integrations ### Integrations

View File

@ -7,7 +7,7 @@ Use [pre-commit](https://pre-commit.com/). Once you
```yaml ```yaml
repos: repos:
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 21.7b0 rev: 21.8b0
hooks: hooks:
- id: black - id: black
language_version: python3 # Should be a command that runs python3.6+ language_version: python3 # Should be a command that runs python3.6+

View File

@ -173,13 +173,13 @@ You can check the version of _Black_ you have installed using the `--version` fl
```console ```console
$ black --version $ black --version
black, version 21.5b0 black, version 21.8b0
``` ```
An option to require a specific version to be running is also provided. An option to require a specific version to be running is also provided.
```console ```console
$ black --required-version 21.5b2 -c "format = 'this'" $ black --required-version 21.8b0 -c "format = 'this'"
format = "this" format = "this"
$ black --required-version 31.5b2 -c "still = 'beta?!'" $ black --required-version 31.5b2 -c "still = 'beta?!'"
Oh no! 💥 💔 💥 The required version does not match the running version! Oh no! 💥 💔 💥 The required version does not match the running version!