Skip to content

Commit ff9f159

Browse files
authored
Upgrade black to 22.3.0 (#702)
This release fixes the issues that required pinning click, so we can drop that pin again.
1 parent 8c49920 commit ff9f159

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,10 @@ repos:
1212
hooks:
1313
- id: isort
1414
- repo: https://github.com/psf/black
15-
rev: '22.1.0'
15+
rev: '22.3.0'
1616
hooks:
1717
- id: black
1818
language_version: python3 # Should be a command that runs python3.6+
19-
# Black misbehaved and broke when click 8.1.0 was released with an internal
20-
# module removed. See https://github.com/psf/black/issues/2964
21-
additional_dependencies: ['click<8.1.0']
2219
- repo: https://github.com/pre-commit/pre-commit-hooks
2320
rev: 'v4.0.1'
2421
hooks:

CHANGES/702.misc.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Updated pre-commit-hooks black to a newer release with a fix for black#2964,
2+
dropping the need for a work-around.

0 commit comments

Comments
 (0)