Skip to content

Commit

Permalink
Upgrade black to 22.3.0
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 c4aa192
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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 c4aa192

Please sign in to comment.