mirror of
https://github.com/pallets-eco/flask-debugtoolbar.git
synced 2026-01-05 04:59:47 -06:00
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.
32 lines
555 B
INI
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
|