tox.ini
author Simon Chabot <simon.chabot@logilab.fr>
Wed, 13 Feb 2019 19:01:27 +0100
changeset 859 d53bc64dd4de
parent 858 787710f6cbf3
child 860 abda658fe2ae
permissions -rw-r--r--
autopep8: F841 local variable is assinged but never used

[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,E123,E226,W503,E241,W504,E126,E121}

[pytest]
python_files = *test_*.py

[flake8]
max-line-length = 100