tox.ini
author Simon Chabot <simon.chabot@logilab.fr>
Wed, 13 Feb 2019 18:51:26 +0100
changeset 858 787710f6cbf3
parent 857 828267b58082
child 859 d53bc64dd4de
permissions -rw-r--r--
autopep8: F401 imported but unused

[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,F403,F405,F811,F821,F841,E123,E226,W503,E241,W504,E126,E121}

[pytest]
python_files = *test_*.py

[flake8]
max-line-length = 100