Skip to content

Commit 0c177f7

Browse files
authored
Merge pull request #13 from hugovk/add-3.11
2 parents 52b0aab + 4faef03 commit 0c177f7

5 files changed

Lines changed: 21 additions & 15 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,8 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
python-version: ["pypy-3.8", "3.7", "3.8", "3.9", "3.10"]
15-
os: [ubuntu-latest, macos-latest, windows-latest]
16-
include:
17-
# Include new variables for Codecov
18-
- { codecov-flag: GHA_Ubuntu, os: ubuntu-latest }
19-
- { codecov-flag: GHA_macOS, os: macos-latest }
20-
- { codecov-flag: GHA_Windows, os: windows-latest }
14+
python-version: ["pypy-3.8", "3.7", "3.8", "3.9", "3.10", "3.11-dev"]
15+
os: [windows-latest, macos-latest, ubuntu-latest]
2116

2217
steps:
2318
- uses: actions/checkout@v3
@@ -56,7 +51,7 @@ jobs:
5651
- name: Upload coverage
5752
uses: codecov/codecov-action@v3
5853
with:
59-
flags: ${{ matrix.codecov-flag }}
54+
flags: ${{ matrix.os }}
6055
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
6156

6257
success:

.pre-commit-config.yaml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,21 @@ repos:
5656
args: ["--convention", "google"]
5757
files: "src/"
5858

59-
- repo: https://github.com/tox-dev/tox-ini-fmt
60-
rev: 0.5.2
61-
hooks:
62-
- id: tox-ini-fmt
63-
6459
- repo: https://github.com/asottile/setup-cfg-fmt
6560
rev: v1.20.1
6661
hooks:
6762
- id: setup-cfg-fmt
63+
args: [--max-py-version=3.11]
64+
65+
- repo: https://github.com/tox-dev/pyproject-fmt
66+
rev: 0.3.3
67+
hooks:
68+
- id: pyproject-fmt
69+
70+
- repo: https://github.com/tox-dev/tox-ini-fmt
71+
rev: 0.5.2
72+
hooks:
73+
- id: tox-ini-fmt
6874

6975
ci:
7076
autoupdate_schedule: quarterly

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
[build-system]
2-
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"]
32
build-backend = "setuptools.build_meta"
3+
requires = [
4+
"setuptools>=42",
5+
"setuptools_scm[toml]>=3.4",
6+
"wheel",
7+
]
48

59
[tool.black]
610
target_version = ["py37"]

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ classifiers =
2121
Programming Language :: Python :: 3.8
2222
Programming Language :: Python :: 3.9
2323
Programming Language :: Python :: 3.10
24+
Programming Language :: Python :: 3.11
2425
Programming Language :: Python :: Implementation :: CPython
2526
Programming Language :: Python :: Implementation :: PyPy
2627
Topic :: Text Processing

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{py3, 310, 39, 38, 37}
3+
py{py3, 311, 310, 39, 38, 37}
44

55
[testenv]
66
passenv =

0 commit comments

Comments
 (0)