Skip to content

Commit

Permalink
update tox -e build
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerickel committed Jan 30, 2023
1 parent 73453bf commit 7e46d78
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ envlist =
py38-cover,coverage,
docs

isolated_build = true

[testenv]
commands =
python --version
Expand All @@ -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
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit 7e46d78

Please sign in to comment.