Support Python 3.11

This commit is contained in:
Hugo van Kemenade 2022-05-02 12:04:58 +03:00
parent 5b0c879fa0
commit fa94ed0263
4 changed files with 6 additions and 4 deletions

View file

@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["pypy-3.8", "3.7", "3.8", "3.9", "3.10"]
python-version: ["pypy-3.8", "3.7", "3.8", "3.9", "3.10", "3.11-dev"]
os: [ubuntu-latest]
steps:

View file

@ -1,6 +1,6 @@
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.31.1
rev: v2.32.0
hooks:
- id: pyupgrade
args: [--py37-plus]
@ -35,7 +35,7 @@ repos:
- id: python-check-blanket-noqa
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
rev: v4.2.0
hooks:
- id: check-merge-conflict
- id: check-yaml
@ -44,6 +44,7 @@ repos:
rev: v1.20.1
hooks:
- id: setup-cfg-fmt
args: [--max-py-version=3.11]
- repo: https://github.com/tox-dev/tox-ini-fmt
rev: 0.5.2

View file

@ -18,6 +18,7 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Topic :: Internet

View file

@ -1,7 +1,7 @@
[tox]
envlist =
lint
py{py3, 310, 39, 38, 37}
py{py3, 311, 310, 39, 38, 37}
[testenv]
passenv =