Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c876fbd

Browse files
Update Black version, test 3.11 (#62)
1 parent bd8e201 commit c876fbd

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
12+
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11"]
1313

1414
steps:
1515
- uses: actions/checkout@v1

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.black]
2-
target_version = ['py36', 'py37', 'py38', 'py39']
2+
target_version = ['py36', 'py37', 'py38', 'py39', 'py310', 'py311']
33
include = '\.pyi?$'
44
skip-magic-trailing-comma = true
55
experimental-string-processing = true

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ def find_bundled_files() -> Iterable[str]:
6060
"Programming Language :: Python :: 3.8",
6161
"Programming Language :: Python :: 3.9",
6262
"Programming Language :: Python :: 3.10",
63+
"Programming Language :: Python :: 3.11",
6364
"Topic :: Software Development",
6465
],
6566
python_requires=">=3.6",

tox.ini

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
minversion=2.3.1
3-
envlist = py36,py37,py38,py39,py310,black,mypy
3+
envlist = py36,py37,py38,py39,py310,py311,black,mypy
44
isolated_build = True
55

66
[testenv]
@@ -9,7 +9,7 @@ commands =
99

1010
[testenv:black]
1111
deps =
12-
black == 22.3.0
12+
black == 22.10.0
1313
commands =
1414
black --check .
1515

@@ -25,5 +25,6 @@ python =
2525
3.6: py36
2626
3.7: py37
2727
3.8: py38
28-
3.9: py39, black, mypy
29-
3.10: py310
28+
3.9: py39
29+
3.10: py310, black, mypy
30+
3.11: py311

0 commit comments

Comments
 (0)