Skip to content

Commit fad8ffb

Browse files
authored
run flake8 in 3.12 now that 6.1 has been released (#782)
1 parent 58b94a0 commit fad8ffb

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed

.github/workflows/test.yml

+1-11
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
python-version: ["3.8", "3.9", "3.10", "3.11", "pypy-3.9"]
15+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12-dev", "pypy-3.9"]
1616
os: [ubuntu-latest]
1717
# Include minimum py3 + maximum py3 + pypy3 on Windows
1818
include:
@@ -33,13 +33,3 @@ jobs:
3333

3434
- name: Tox tests
3535
run: tox -e py
36-
# TODO: after flake8 6.1 include this in the main matrix
37-
py312:
38-
runs-on: ubuntu-latest
39-
steps:
40-
- uses: actions/checkout@v3
41-
- uses: actions/setup-python@v4
42-
with:
43-
python-version: '3.12-dev'
44-
- run: pip install --upgrade tox
45-
- run: tox -e py312

tox.ini

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ skip_missing_interpreters = True
33
envlist = py,pypy3
44

55
[testenv]
6-
deps = flake8==6.0.0
6+
deps = flake8==6.1.0
77
setenv = PYFLAKES_ERROR_UNKNOWN=1
88
commands =
99
python --version --version
1010
python -m unittest discover pyflakes {posargs}
11-
# TODO: remove factor selection after flake8 6.1
12-
!py312: flake8 pyflakes setup.py
11+
flake8 pyflakes setup.py
1312

1413
[flake8]
1514
builtins = unicode

0 commit comments

Comments
 (0)