Skip to content

Commit

Permalink
Update tox.ini for Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Preinstorfer committed May 10, 2022
1 parent f56affc commit 7486ae8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Internet :: WWW/HTTP",
],
)
10 changes: 7 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py37,py38,py39
envlist = py37,py38,py39,py310

[testenv]
description = Run tests
Expand All @@ -9,35 +9,39 @@ commands =

[testenv:fix-style]
description = Fix coding style
basepython = python3.9
basepython = python3.10
skip_install = true
deps =
black
isort
pycln
pyupgrade
allowlist_externals =
pyupgrade
commands =
black feeds tests
pycln src tests
isort feeds tests
{toxinidir}/bin/pyupgrade --exit-zero-even-if-changed

[testenv:check-style]
description = Check coding style
basepython = python3.9
basepython = python3.10
skip_install = true
deps =
black
doc8
flake8
isort
pycln
pyupgrade
restructuredtext_lint
allowlist_externals =
pyupgrade
commands =
black --check feeds tests
flake8 feeds tests
pycln --check src tests
isort --check-only feeds tests
{toxinidir}/bin/pyupgrade
rst-lint README.rst
Expand Down

0 comments on commit 7486ae8

Please sign in to comment.