Skip to content

Commit e970d40

Browse files
authored
Officially support Python 3.11 (#212)
1 parent af89472 commit e970d40

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python-version: [3.7, 3.8, 3.9, "3.10", pypy-3.7]
16+
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", pypy-3.7]
1717
steps:
1818
- uses: actions/checkout@v2
1919
- name: Set up Python ${{ matrix.python-version }}

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def run_tests(self):
6363
'Programming Language :: Python :: 3.8',
6464
'Programming Language :: Python :: 3.9',
6565
'Programming Language :: Python :: 3.10',
66+
'Programming Language :: Python :: 3.11',
6667
'Programming Language :: Python :: 3 :: Only',
6768
'Topic :: Software Development :: Libraries :: Python Modules',
6869
'Topic :: Software Development :: Quality Assurance',

tox.ini

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,17 @@ envlist =
44
py38-flake8-{v5,v6,latest},
55
py39-flake8-{v5,v6,latest},
66
py310-flake8-{v5,v6,latest},
7-
py310-flake8,
7+
py311-flake8-{v5,v6,latest},
8+
py311-flake8,
89
pypy3
910

1011
[gh-actions]
1112
python =
1213
3.7: py37
1314
3.8: py38
1415
3.9: py39
15-
3.10: py310, py310-flake8
16+
3.10: py310
17+
3.11: py311, py311-flake8
1618
pypy-3.7: pypy3
1719

1820
[testenv]
@@ -22,8 +24,8 @@ deps =
2224
flake8-v6: flake8 >= 6.0.0, < 7.0.0
2325
flake8-latest: flake8
2426

25-
[testenv:py310-flake8]
26-
basepython = python3.10
27+
[testenv:py311-flake8]
28+
basepython = python3.11
2729
commands =
2830
flake8 {posargs} src/pep8ext_naming.py
2931
python setup.py check --restructuredtext

0 commit comments

Comments
 (0)