From 16275d24e3c2ad88d953d67e7d8795fd7f73f7cb Mon Sep 17 00:00:00 2001 From: Richard Si <63936253+ichard26@users.noreply.github.com> Date: Sun, 29 Aug 2021 14:56:22 -0400 Subject: [PATCH] Prepare CHANGES.md for release 21.8b0 (#2458) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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. --- CHANGES.md | 5 +++-- docs/integrations/source_version_control.md | 2 +- docs/usage_and_configuration/the_basics.md | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 6c542f4..6e2721b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,6 @@ # Change Log -## Unreleased +## 21.8b0 ### _Black_ @@ -17,7 +17,8 @@ ### _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 diff --git a/docs/integrations/source_version_control.md b/docs/integrations/source_version_control.md index e148248..220f429 100644 --- a/docs/integrations/source_version_control.md +++ b/docs/integrations/source_version_control.md @@ -7,7 +7,7 @@ Use [pre-commit](https://pre-commit.com/). Once you ```yaml repos: - repo: https://github.com/psf/black - rev: 21.7b0 + rev: 21.8b0 hooks: - id: black language_version: python3 # Should be a command that runs python3.6+ diff --git a/docs/usage_and_configuration/the_basics.md b/docs/usage_and_configuration/the_basics.md index 474ad66..4b68ad7 100644 --- a/docs/usage_and_configuration/the_basics.md +++ b/docs/usage_and_configuration/the_basics.md @@ -173,13 +173,13 @@ You can check the version of _Black_ you have installed using the `--version` fl ```console $ black --version -black, version 21.5b0 +black, version 21.8b0 ``` An option to require a specific version to be running is also provided. ```console -$ black --required-version 21.5b2 -c "format = 'this'" +$ black --required-version 21.8b0 -c "format = 'this'" format = "this" $ black --required-version 31.5b2 -c "still = 'beta?!'" Oh no! 💥 💔 💥 The required version does not match the running version! -- 2.39.5