From: Trenton Holmes Date: Mon, 28 Mar 2022 18:12:14 +0000 (-0700) Subject: Updates black version to fix issues X-Git-Tag: beta-1.6.1~21^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F552%2Fhead;p=thirdparty%2Fpaperless-ngx.git Updates black version to fix issues --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5685610288..da3e7dfd2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,7 +78,7 @@ jobs: uses: psf/black@stable with: options: "--check --diff" - version: "22.1.0" + version: "22.3.0" - name: Run flake8 checks run: | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3758e40ba7..cdc98a35b3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,7 +27,7 @@ repos: - id: check-case-conflict - id: detect-private-key - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v2.5.1" + rev: "v2.6.1" hooks: - id: prettier types_or: @@ -37,7 +37,7 @@ repos: exclude: "(^Pipfile\\.lock$)" # Python hooks - repo: https://github.com/asottile/reorder_python_imports - rev: v2.7.1 + rev: v3.0.1 hooks: - id: reorder-python-imports exclude: "(migrations)" @@ -59,7 +59,7 @@ repos: args: - "--config=./src/setup.cfg" - repo: https://github.com/psf/black - rev: 22.1.0 + rev: 22.3.0 hooks: - id: black # Dockerfile hooks