Skip to content

Commit

Permalink
Upgrade black to 22.3.0 (#702)
Browse files Browse the repository at this point in the history
This release fixes the issues that required pinning click, so we can drop that
pin again.
  • Loading branch information
mjpieters committed Mar 28, 2022
1 parent 8c49920 commit ff9f159
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .pre-commit-config.yaml
Expand Up @@ -12,13 +12,10 @@ repos:
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: '22.1.0'
rev: '22.3.0'
hooks:
- id: black
language_version: python3 # Should be a command that runs python3.6+
# Black misbehaved and broke when click 8.1.0 was released with an internal
# module removed. See https://github.com/psf/black/issues/2964
additional_dependencies: ['click<8.1.0']
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 'v4.0.1'
hooks:
Expand Down
2 changes: 2 additions & 0 deletions CHANGES/702.misc.rst
@@ -0,0 +1,2 @@
Updated pre-commit-hooks black to a newer release with a fix for black#2964,
dropping the need for a work-around.

0 comments on commit ff9f159

Please sign in to comment.