Skip to content

Commit a6ea045

Browse files
committed
Update tox configuration in setup.cfg to run tests on Python 3.10
1 parent 84af567 commit a6ea045

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

setup.cfg

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ markers =
130130
# --- Tox automation configuration ---------------------------------------------
131131
132132
[tox:tox]
133-
envlist = py{27,34}{,-scandir}, py{35,36,37,38,39}, pypy{27,36,37}, typecheck, codestyle, docstyle, codeformat
133+
envlist = py{27,34}{,-scandir}, py{35,36,37,38,39,310}, pypy{27,36,37}, typecheck, codestyle, docstyle, codeformat
134134
sitepackages = false
135135
skip_missing_interpreters = true
136136
requires =
@@ -141,9 +141,9 @@ commands = python -m coverage run --rcfile {toxinidir}/setup.cfg -m pytest {posa
141141
deps =
142142
-rtests/requirements.txt
143143
coverage~=5.0
144-
py{35,36,37,38,39,py36,py37}: pytest~=6.0
144+
py{35,36,37,38,39,310,py36,py37}: pytest~=6.0
145145
py{27,34,py27}: pytest~=4.6
146-
py{35,36,37,38,39,py36,py37}: pytest-randomly~=3.5
146+
py{35,36,37,38,39,310,py36,py37}: pytest-randomly~=3.5
147147
py{27,34,py27}: pytest-randomly~=1.2
148148
scandir: .[scandir]
149149
!scandir: .
@@ -183,6 +183,7 @@ python =
183183
3.7: py37
184184
3.8: py38
185185
3.9: py39
186+
3.10: py310
186187
pypy-2.7: pypy27
187188
pypy-3.6: pypy36
188189
pypy-3.7: pypy37

0 commit comments

Comments
 (0)