| 1 | # Tox (http://tox.testrun.org/) is a tool for running tests |
| 2 | # in multiple virtualenvs. This configuration file will run the |
| 3 | # test suite on all supported python versions. To use it, "pip install tox" |
| 4 | # and then run "tox" from this directory. |
| 5 | |
| 6 | [tox] |
| 7 | envlist = py37, py38, py39, py310, py311, py312, pypy3, mypy |
| 8 | |
| 9 | [testenv] |
| 10 | commands = pytest --cov {posargs} |
| 11 | deps = -rrequirements.txt |
| 12 | |
| 13 | [testenv:mypy] |
| 14 | deps = |
| 15 | mypy |
| 16 | commands = mypy freezegun tests --install-types --non-interactive |