Skip to content

Commit

Permalink
Officially support Python 3.11 (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
jparise committed Dec 19, 2022
1 parent af89472 commit e970d40
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", pypy-3.7]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", pypy-3.7]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -63,6 +63,7 @@ def run_tests(self):
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Quality Assurance',
Expand Down
10 changes: 6 additions & 4 deletions tox.ini
Expand Up @@ -4,15 +4,17 @@ envlist =
py38-flake8-{v5,v6,latest},
py39-flake8-{v5,v6,latest},
py310-flake8-{v5,v6,latest},
py310-flake8,
py311-flake8-{v5,v6,latest},
py311-flake8,
pypy3

[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310, py310-flake8
3.10: py310
3.11: py311, py311-flake8
pypy-3.7: pypy3

[testenv]
Expand All @@ -22,8 +24,8 @@ deps =
flake8-v6: flake8 >= 6.0.0, < 7.0.0
flake8-latest: flake8

[testenv:py310-flake8]
basepython = python3.10
[testenv:py311-flake8]
basepython = python3.11
commands =
flake8 {posargs} src/pep8ext_naming.py
python setup.py check --restructuredtext
Expand Down

0 comments on commit e970d40

Please sign in to comment.