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

Skip to content

Commit 89d672e

Browse files
committed
Add 3.10 support
1 parent 3926dbb commit 89d672e

5 files changed

Lines changed: 12 additions & 8 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ repos:
2525
- id: isort
2626

2727
- repo: https://gitlab.com/pycqa/flake8
28-
rev: master
28+
rev: 4.0.1
2929
hooks:
3030
- id: flake8

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
3.10.4
12
3.9.9
23
3.8.12
34
3.7.12

dev-requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
. # <- install ourselves
22
coverage==6.3.2
33
flake8==4.0.1
4-
pre-commit==2.17.0
5-
tox==3.24.5
4+
pre-commit==2.19.0
5+
tox==3.25.0
66
tox-gh-actions==2.9.1

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"Programming Language :: Python :: 3.7",
2626
"Programming Language :: Python :: 3.8",
2727
"Programming Language :: Python :: 3.9",
28+
"Programming Language :: Python :: 3.10",
2829
"Topic :: Software Development :: Libraries :: Python Modules",
2930
],
3031
install_requires=[

tox.ini

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
[tox]
2-
envlist = py37, py38, py39, coverage
2+
envlist = py37, py38, py39, py310, coverage
33

44
[gh-actions]
55
python =
66
3.7: py37
77
3.8: py38
8-
3.9: py39, coverage
8+
3.9: py39
9+
3.10: py310, coverage
910

1011
[testenv:coverage]
1112
deps = coverage
12-
commands = coverage run setup.py test --quiet
13-
coverage report
13+
commands =
14+
coverage run -m unittest
15+
coverage report
1416

1517
[testenv]
16-
commands = python setup.py test --quiet
18+
commands = python -m unittest

0 commit comments

Comments
 (0)