Skip to content

Commit

Permalink
Update to current meta/config.
Browse files Browse the repository at this point in the history
Remove preliminary Python 3.13 support as it requires a cffi release first.
  • Loading branch information
icemac committed Nov 17, 2023
1 parent 12b1593 commit 615faf5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .meta.toml
Expand Up @@ -2,13 +2,13 @@
# https://github.com/zopefoundation/meta/tree/master/config/c-code
[meta]
template = "c-code"
commit-id = "a361e1fd"
commit-id = "cb0568c7"

[python]
with-appveyor = true
with-windows = false
with-pypy = false
with-future-python = true
with-future-python = false
with-sphinx-doctests = false
with-macos = false

Expand Down
26 changes: 18 additions & 8 deletions tox.ini
Expand Up @@ -38,21 +38,31 @@ commands =
coverage run -m zope.testrunner --test-path=src {posargs:-vc}
coverage html -i
coverage report -i -m --fail-under=80

[testenv:lint]
[testenv:release-check]
description = ensure that the distribution is ready to release
basepython = python3
skip_install = true
deps =
twine
build
check-manifest
check-python-versions >= 0.20.0
wheel
commands =
isort --check-only --diff {toxinidir}/src {toxinidir}/setup.py
flake8 src setup.py
check-manifest
check-python-versions
python -m build --sdist --no-isolation
twine check dist/*

[testenv:lint]
basepython = python3
skip_install = true
deps =
check-manifest
check-python-versions >= 0.19.1
wheel
flake8
isort
flake8
commands =
isort --check-only --diff {toxinidir}/src {toxinidir}/setup.py
flake8 src setup.py

[testenv:isort-apply]
basepython = python3
Expand Down

0 comments on commit 615faf5

Please sign in to comment.