tox.ini
author Simon Chabot <simon.chabot@logilab.fr>
Wed, 13 Feb 2019 18:41:43 +0100
changeset 857 828267b58082
parent 856 269164a1371a
child 858 787710f6cbf3
permissions -rw-r--r--
autopep8: E731 do not assign a lambda expression, use a def

[tox]
envlist=py27,py3,flake8

[testenv]
deps =
  pytest
  py27: unittest2 >= 0.7
commands = {envpython} -m pytest {posargs:test}

[testenv:flake8]
basepython = python3
deps =
  flake8
commands = flake8 {posargs:--ignore=E501,E741,F401,F401,F403,F405,F811,F821,F841,E123,E226,W503,E241,W504,E126,E121}

[pytest]
python_files = *test_*.py

[flake8]
max-line-length = 100