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+