Files
flask-debugtoolbar/tox.ini
Grey Li 62ce443f8b Fix lint issues and lint config (#219)
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.
2023-11-20 10:59:24 -08:00

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