Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Officially support Python 3.11 #212

Merged
merged 1 commit into from Dec 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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