From 18e92b0763bc99e4d6049e3c0a9d1925b15fb81d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Pr=C3=B6schel?= Date: Wed, 18 Oct 2023 15:48:08 +0200 Subject: [PATCH] fix --- .github/workflows/test.yaml | 6 +++--- .pre-commit-config.yaml | 1 - requirements.txt | 1 - 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index aef5cd45..4cc50684 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,14 +16,14 @@ jobs: uses: actions/setup-python@v4 with: python-version: '3.9' + - uses: pre-commit/action@v3.0.0 + with: + extra_args: black --exclude version.py - name: Ensure latest pip run: | python -m pip install --upgrade pip - name: Install from repo in the test mode run: "pip install -e '.[dev]'" - - uses: pre-commit/action@v3.0.0 - with: - extra_args: black --exclude=version.py - name: Test with pytest run: | pip install pytest diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bc1c971a..704ab3c1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,6 @@ repos: hooks: - id: black language_version: python3.9 - args: [ '--exclude=version.py' ] - repo: https://github.com/pycqa/flake8 rev: '3.9.2' hooks: diff --git a/requirements.txt b/requirements.txt index 1db6ea86..0d42fe91 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,6 +16,5 @@ optax pytest wandb pytest-cov -pytest-regressions bsuite tqdm