Skip to content

Commit

Permalink
Update black version to 22.3.0
Browse files Browse the repository at this point in the history
CI started to fail due to an incompatibility between black 22.1.0 and click 8.1.0:
See: psf/black#2964
Use black 22.3.0 both for CI checks and for pre-commit
  • Loading branch information
Carlos Pascual committed Apr 8, 2022
1 parent 92c8c09 commit b5f58fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Expand Up @@ -44,7 +44,7 @@ flake8_and_black:
image: python:3.9-slim-bullseye
needs: []
before_script:
- pip install flake8==3.9.2 black==22.1.0
- pip install flake8==3.9.2 black==22.3.0
script:
# check with flake8
- flake8 .
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 22.1.0
rev: 22.3.0
hooks:
- id: black
# It is recommended to specify the latest version of Python
Expand Down

0 comments on commit b5f58fc

Please sign in to comment.