summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini14
1 files changed, 10 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index 94dfa6775..6fe61be7a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -5,6 +5,8 @@ envlist =
py38-cover,coverage,
docs
+isolated_build = true
+
[testenv]
commands =
python --version
@@ -25,14 +27,18 @@ commands =
flake8 src/pyramid tests setup.py
isort --check-only --df src/pyramid tests setup.py
black --check --diff src/pyramid tests setup.py
- python setup.py check -r -s -m
check-manifest
+ # build sdist/wheel
+ python -m build .
+ twine check dist/*
deps =
flake8~=5.0.4
- black~=22.6.0
+ black~=22.12.0
isort~=5.10
- readme_renderer
+ build
check-manifest
+ readme_renderer
+ twine
[testenv:docs]
allowlist_externals = make
@@ -66,7 +72,7 @@ commands =
isort src/pyramid tests setup.py
black src/pyramid tests setup.py
deps =
- black~=22.1.0
+ black~=22.12.0
isort~=5.10
[testenv:build]