From 2be1c0e36c9f5fffcde5847cde8ccb6b9eecddfa Mon Sep 17 00:00:00 2001 From: Jusong Yu Date: Wed, 30 Mar 2022 07:14:32 +0000 Subject: [PATCH] CI: Tempoararily workaround fix pre-commit check - Remove workaround, after problem described in https://github.com/aiidalab/aiidalab-qe/pull/206#issuecomment-1081661847 is resolved. - new psf/black version for issue https://github.com/psf/black/issues/2964#issuecomment-1080974737 --- .github/workflows/ci.yml | 2 ++ .pre-commit-config.yaml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e16fc2478..704845659 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,9 @@ jobs: python-version: 3.8 - name: Install dependencies + # TODO: Remove virtualenv after ci issue described in https://github.com/aiidalab/aiidalab-qe/pull/206#issuecomment-1081661847 fixed run: | + python -m pip install virtualenv==20.0.33 python -m pip install pre-commit==2.11.1 - name: Run pre-commit diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8f8e80038..2f37f2aaf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,7 +16,7 @@ repos: - id: yamlfmt - 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+