Merge pull request #552 from stumpylog/bugfix-black

Bump version of black in CI/pre-commit
This commit is contained in:
Trenton Holmes 2022-03-29 06:14:12 -07:00 committed by GitHub
commit 9147e3a0bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -78,7 +78,7 @@ jobs:
uses: psf/black@stable uses: psf/black@stable
with: with:
options: "--check --diff" options: "--check --diff"
version: "22.1.0" version: "22.3.0"
- -
name: Run flake8 checks name: Run flake8 checks
run: | run: |

View File

@ -27,7 +27,7 @@ repos:
- id: check-case-conflict - id: check-case-conflict
- id: detect-private-key - id: detect-private-key
- repo: https://github.com/pre-commit/mirrors-prettier - repo: https://github.com/pre-commit/mirrors-prettier
rev: "v2.5.1" rev: "v2.6.1"
hooks: hooks:
- id: prettier - id: prettier
types_or: types_or:
@ -37,7 +37,7 @@ repos:
exclude: "(^Pipfile\\.lock$)" exclude: "(^Pipfile\\.lock$)"
# Python hooks # Python hooks
- repo: https://github.com/asottile/reorder_python_imports - repo: https://github.com/asottile/reorder_python_imports
rev: v2.7.1 rev: v3.0.1
hooks: hooks:
- id: reorder-python-imports - id: reorder-python-imports
exclude: "(migrations)" exclude: "(migrations)"
@ -59,7 +59,7 @@ repos:
args: args:
- "--config=./src/setup.cfg" - "--config=./src/setup.cfg"
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 22.1.0 rev: 22.3.0
hooks: hooks:
- id: black - id: black
# Dockerfile hooks # Dockerfile hooks