Skip to content

Commit

Permalink
Fix latest flake8 incompatibility with py 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-bagerard committed Jan 25, 2023
1 parent 5f988d1 commit 2037a8f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.7
uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.9
- run: bash .github/workflows/install_ci_python_dep.sh
- run: pre-commit run -a

Expand All @@ -32,7 +31,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9, 'pypy3.9']
python-version: [3.7, 3.8, 3.9, '3.10', 'pypy3.9']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -59,10 +58,9 @@ jobs:
if: github.event_name == 'create' && startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.7
uses: actions/setup-python@v1
- uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.9
- name: build wheel
run: |
pip install wheel
Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ MAKEFLAGS += --silent

.PHONY: setup-venv test

PYTHON_VERSION = "3.8.6"
PYTHON_VERSION = "3.9.15"
VENV_NAME := $(shell cat .python-version)


Expand Down

0 comments on commit 2037a8f

Please sign in to comment.