Skip to content

Commit

Permalink
CI: Revert black 22.1.0 -> 21.12b0
Browse files Browse the repository at this point in the history
Support for Python 2.7 was dropped in release 22.1.0.
  • Loading branch information
scottclowe committed Mar 21, 2022
1 parent b45b500 commit f6f2c8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
args: ["--profile=black"]

- repo: https://github.com/psf/black
rev: 22.1.0
rev: 21.12b0
hooks:
- id: black
args:
Expand All @@ -28,7 +28,7 @@ repos:
rev: v1.12.1
hooks:
- id: blacken-docs
additional_dependencies: [black==22.1.0]
additional_dependencies: [black==21.12b0]

- repo: https://github.com/kynan/nbstripout
rev: 0.5.0
Expand All @@ -48,7 +48,7 @@ repos:
- "--target-version=py38"
- "--target-version=py39"
- "--target-version=py310"
additional_dependencies: [black==22.1.0]
additional_dependencies: [black==21.12b0]
- id: nbqa-flake8

- repo: https://github.com/pre-commit/pygrep-hooks
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
black==22.1.0; python_version>='3.6'
black==21.12b0; python_version>='3.6'
pre-commit

0 comments on commit f6f2c8b

Please sign in to comment.