[tox]
# Test with the version in Debian Stable and the latest Python version
envlist = py37,py38
recreate = True

[testenv]
commands = pytest --cov=src --cov-report=term --cov-report=html:{envlogdir}/htmlcov --basetemp={envtmpdir} {posargs} tests
deps = pytest
       pytest-cov
       psycopg2-binary


# Yep, this really is a place to put config for pycodestyle
[pycodestyle]
show-source = True
exclude = migrations, Keccak.py
# Relax whitespace rules around operators
ignore = E226, E251, W504
max-line-length = 109

[tox]
# Test with the version in Debian Stable and the latest Python version
envlist = py39,py310
recreate = True

[testenv]
commands = pytest --cov=src --cov-report=term --cov-report=html:{envlogdir}/htmlcov --basetemp={envtmpdir} {posargs} tests
deps = pytest
       pytest-cov
       psycopg2-binary


# Yep, this really is a place to put config for pycodestyle
[pycodestyle]
show-source = True
exclude = migrations, Keccak.py
# Relax whitespace rules around operators
ignore = E226, E251, W504
max-line-length = 109

Adjust Tox Python versions for Debian Bullseye
Adjust Tox Python versions for Debian Bullseye

Co-authored-by: Simon Ruderich <088e16a1019277b15d58faf0541e11910eb756f6@ruderich.org>
