summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini16
1 files changed, 10 insertions, 6 deletions
diff --git a/tox.ini b/tox.ini
index 6ca71ad..ff0ff14 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,8 +1,8 @@
[tox]
envlist =
lint,
- py27,pypy,
py35,py36,py37,py38,pypy3,
+ py39,
docs,
coverage
isolated_build = True
@@ -26,12 +26,13 @@ deps =
coverage
setenv =
COVERAGE_FILE=.coverage
-depends = py27, py38
+depends = py38
[testenv:lint]
skip_install = True
commands =
black --check --diff .
+ isort --check-only --df src/waitress tests
check-manifest
# flake8 src/waitress/ tests
# build sdist/wheel
@@ -39,12 +40,13 @@ commands =
twine check dist/*
deps =
black
- readme_renderer
check-manifest
- pep517
- twine
flake8
flake8-bugbear
+ isort
+ pep517
+ readme_renderer
+ twine
[testenv:docs]
whitelist_externals =
@@ -62,12 +64,14 @@ deps =
flake8
flake8-bugbear
-[testenv:run-black]
+[testenv:run-format]
skip_install = True
commands =
+ isort src/waitress tests
black .
deps =
black
+ isort
[testenv:build]
skip_install = true