mirror of
https://github.com/pallets-eco/flask-debugtoolbar.git
synced 2026-01-06 05:30:12 -06:00
For the two ignored rules: - E731: It's OK to use lambda - W504: W503 and W504 are conflicts with each other, we need to disable one of them.
26 lines
442 B
INI
26 lines
442 B
INI
[tox]
|
|
envlist =
|
|
py27
|
|
py3{12,11,10,9,8,7,6}
|
|
stylecheck
|
|
skip_missing_interpreters = True
|
|
|
|
[testenv]
|
|
deps =
|
|
pytest
|
|
Flask-SQLAlchemy
|
|
Pygments
|
|
commands =
|
|
pytest
|
|
|
|
[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
|