diff options
author | Bert JW Regeer <bertjw@regeer.org> | 2022-01-17 00:15:19 -0700 |
---|---|---|
committer | Bert JW Regeer <bertjw@regeer.org> | 2022-01-17 00:15:19 -0700 |
commit | e0f9374accef77b2ff90a8d5fe5bc5433a5d3516 (patch) | |
tree | 276c73d65fc34d1ddb0cb14004af475ac995356b /tox.ini | |
parent | 97c45c5d75be5bad669b17b289d4a50c1742aea7 (diff) | |
download | waitress-garden/update-supported-python-versions.tar.gz |
Update supported Python versions for Waitressgarden/update-supported-python-versions
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 50 |
1 files changed, 20 insertions, 30 deletions
@@ -1,15 +1,14 @@ [tox] envlist = lint, - py36,py37,py38,py39,pypy3, - docs, - coverage -isolated_build = True + py37,py38,py39,py310,pypy3, + coverage, + docs [testenv] commands = python --version - pytest {posargs:} + pytest --cov {posargs:} extras = testing setenv = @@ -25,46 +24,37 @@ deps = coverage setenv = COVERAGE_FILE=.coverage -depends = py38 + +[testenv:docs] +whitelist_externals = + make +commands = + make -C docs html BUILDDIR={envdir} "SPHINXOPTS=-W -E -D suppress_warnings=ref.term" +extras = + docs [testenv:lint] skip_install = True commands = - black --check --diff . isort --check-only --df src/waitress tests + black --check --diff . check-manifest # flake8 src/waitress/ tests # build sdist/wheel - python -m pep517.build . + python -m build . twine check dist/* deps = black + build check-manifest flake8 flake8-bugbear isort - pep517 readme_renderer twine -[testenv:docs] -whitelist_externals = - make -commands = - make -C docs html BUILDDIR={envdir} SPHINXOPTS="-W -E" -extras = - docs - -[testenv:run-flake8] -skip_install = True -commands = - flake8 src/waitress/ tests -deps = - flake8 - flake8-bugbear - -[testenv:run-format] -skip_install = True +[testenv:format] +skip_install = true commands = isort src/waitress tests black . @@ -80,12 +70,12 @@ commands = # Make sure we aren't forgetting anything check-manifest # build sdist/wheel - python -m pep517.build . + python -m build . # Verify all is well twine check dist/* deps = - readme_renderer + build check-manifest - pep517 + readme_renderer twine |