35c19a2ae2
Specifically, drop support for Python versions older than 3.7, including Python 2.x. All of those versions are well beyond their official end-of-life, and given this is a security-related project, it's reasonable to expect users to run it in a modern Python environment.
15 lines
314 B
INI
15 lines
314 B
INI
[tox]
|
|
envlist = py37, py38, py39, py310, flake8
|
|
|
|
[testenv]
|
|
setenv =
|
|
MOCK_REDIS = 1
|
|
commands =
|
|
pip install -r requirements.txt
|
|
pip install -r dev-requirements.txt
|
|
pytest --junitxml=junit-{envname}.xml --cov-report xml tests.py
|
|
|
|
[testenv:flake8]
|
|
commands =
|
|
pip install flake8
|
|
flake8 snappass/
|