Skip to content

Commit

Permalink
run flake8 in 3.12 now that 6.1 has been released (#782)
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile authored Jul 31, 2023
1 parent 58b94a0 commit fad8ffb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "pypy-3.9"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12-dev", "pypy-3.9"]
os: [ubuntu-latest]
# Include minimum py3 + maximum py3 + pypy3 on Windows
include:
Expand All @@ -33,13 +33,3 @@ jobs:

- name: Tox tests
run: tox -e py
# TODO: after flake8 6.1 include this in the main matrix
py312:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.12-dev'
- run: pip install --upgrade tox
- run: tox -e py312
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ skip_missing_interpreters = True
envlist = py,pypy3

[testenv]
deps = flake8==6.0.0
deps = flake8==6.1.0
setenv = PYFLAKES_ERROR_UNKNOWN=1
commands =
python --version --version
python -m unittest discover pyflakes {posargs}
# TODO: remove factor selection after flake8 6.1
!py312: flake8 pyflakes setup.py
flake8 pyflakes setup.py

[flake8]
builtins = unicode
Expand Down

0 comments on commit fad8ffb

Please sign in to comment.