Files
flask-debugtoolbar/tox.ini
Jeff Widman 1c39a9ce47 Require Flask >= 2.2.0, Python >= 3.7
Require Flask >= `2.2.0`.

I'm comfortable going up to requiring `3.x`, but when I grep'd for
places we use older Flask constructs, this was all I found.

So for now no need to jump further.

Flask `2.2.0` requires Python >= `3.7`, so also dropped older pythons.
2023-12-11 11:25:52 -07:00

32 lines
555 B
INI

[tox]
envlist =
py3{12,11,10,9,8,7}
stylecheck
minimal
skip_missing_interpreters = True
[testenv]
deps =
pytest
Flask-SQLAlchemy
Pygments
commands =
pytest
[testenv:minimal]
deps =
.
commands =
python -c "from flask_debugtoolbar import DebugToolbarExtension"
[testenv:stylecheck]
deps =
pycodestyle
commands =
# E731: do not assign a lambda expression, use a def
# W504: line break after binary operator
pycodestyle src/flask_debugtoolbar test --ignore=E731,W504
[pycodestyle]
max-line-length = 100