diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 3f35689..a122c18 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -12,13 +12,15 @@ jobs: steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 + with: + python-version: 3.x - uses: pre-commit/action@v2.0.0 test: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ["3.8", "3.9"] + python-version: ["3.8", "3.9", "3.10", "3.12"] os: [ubuntu-latest] steps: @@ -56,7 +58,7 @@ jobs: - uses: actions/checkout@v2 - name: Set up Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: python-version: 3.x diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ac57ac0..af1fe6d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,6 +16,6 @@ repos: - requirements.txt - repo: https://github.com/pycqa/flake8 - rev: 4.0.1 + rev: 7.1.1 hooks: - id: flake8 diff --git a/dev-environment.yml b/dev-environment.yml index 63e1cec..ed049ba 100644 --- a/dev-environment.yml +++ b/dev-environment.yml @@ -3,6 +3,7 @@ channels: - conda-forge - defaults dependencies: + - pre-commit - flake8 - flake8-docstrings - pytest