diff --git a/README.md b/README.md index 37599d9..22fadac 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ tox and with test coverage: ```bash -tox -e py37-cov +tox -e py311-cov ``` The easiest way to write tests, is to edit tests/fixtures.md @@ -47,7 +47,7 @@ The easiest way to write tests, is to edit tests/fixtures.md To run the code formatting and style checks: ```bash -tox -e py37-pre-commit +tox -e py311-pre-commit ``` or directly @@ -60,7 +60,7 @@ pre-commit run --all To run the pre-commit hook test: ```bash -tox -e py37-hook +tox -e py311-hook ``` ## Publish to PyPi diff --git a/tox.ini b/tox.ini index a3afef0..22d0b81 100644 --- a/tox.ini +++ b/tox.ini @@ -1,20 +1,20 @@ [tox] -envlist = py{36,37,38,39} +envlist = py{38,39,310,311,312} isolated_build = True -[testenv:py{36,37,38,39}] +[testenv:py{38,39,310,311,312}] extras = test commands = pytest {posargs} -[testenv:py{36,37,38,39}-cov] +[testenv:py{38,39,310,311,312}-cov] extras = test commands = pytest --cov={envsitepackagesdir}/mdformat_pelican {posargs} -[testenv:py{36,37,38,39}-pre-commit] +[testenv:py{38,39,310,311,312}-pre-commit] extras = dev commands = pre-commit run {posargs} -[testenv:py{36,37,38,39}-hook] +[testenv:py{38,39,310,311,312}-hook] extras = dev commands = pre-commit run --config .pre-commit-test.yaml {posargs:--all-files --verbose --show-diff-on-failure}