diff --git a/README.md b/README.md index 93e85cd9..1c9cc1bf 100644 --- a/README.md +++ b/README.md @@ -53,10 +53,10 @@ py-trees-demo-blackboard-remappings py-trees-demo-eternal-guard # Run the Formatter, Tests, Linters and Mypy (docker) zen@py_trees:/workspaces/py_trees$ poetry run tox -l -py38 py310 format check mypy38 mypy310 +py310 py312 format check mypy310 mypy312 (docker) zen@py_trees:/workspaces/py_trees$ poetry run tox -e format ... -(docker) zen@py_trees:/workspaces/py_trees$ poetry run tox -e py38 +(docker) zen@py_trees:/workspaces/py_trees$ poetry run tox -e py310 ... (docker) zen@py_trees:/workspaces/py_trees$ poetry run tox -e check ... diff --git a/tests/__init__.py b/tests/__init__.py index 2d7ab53a..2ec253f3 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -3,7 +3,6 @@ class ImportTest(unittest.TestCase): - def test_import(self): """ This test serves to make the buildfarm happy in Python 3.12 and later. diff --git a/tox.ini b/tox.ini index 0b010a79..10d8a8a1 100644 --- a/tox.ini +++ b/tox.ini @@ -9,7 +9,7 @@ source_locations = # doc/examples [tox] -envlist = py38, py310, format, check, mypy38, mypy310 +envlist = py310, py312, format, check, mypy310, mypy312 ################################################################################ # PyTest @@ -74,7 +74,7 @@ commands = # Jamming docstrings into a single line looks cluttered. # # D200 One-line docstring should fit on one line with quotes -# +#f # Weakly prefer breaking before a binary operator, so suppress that warning. # See https://github.com/python/peps/commit/c59c4376ad233a62ca4b3a6060c81368bd21e85b # @@ -119,20 +119,20 @@ ignore = C901, D105, D107, W503 # Mypy ################################################################################ -[testenv:mypy38] +[testenv:mypy10] skip_install = true -description = Static type checking against python 3.8. +description = Static type checking against python 3.10. locked_deps = mypy pytest commands = - mypy --config-file {toxinidir}/tox.ini --python-version 3.8 {[constants]source_locations} + mypy --config-file {toxinidir}/tox.ini --python-version 3.10 {[constants]source_locations} -[testenv:mypy310] +[testenv:mypy312] skip_install = true -description = Static type checking against python 3.10. +description = Static type checking against python 3.12. commands = - mypy --config-file {toxinidir}/tox.ini --python-version 3.10 {[constants]source_locations} + mypy --config-file {toxinidir}/tox.ini --python-version 3.12 {[constants]source_locations} locked_deps = mypy pytest