diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 82d906872..7b0e05c81 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: diff --git a/CHANGES/702.misc.rst b/CHANGES/702.misc.rst new file mode 100644 index 000000000..bb84ada4e --- /dev/null +++ b/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.