tox.ini
author Simon Chabot <simon.chabot@logilab.fr>
Wed, 13 Feb 2019 18:36:40 +0100
changeset 856 269164a1371a
parent 855 c313ddea4a3e
child 857 828267b58082
permissions -rw-r--r--
autopep8: E402 module level import not at top of file Fixing E402 implied running autopep8 for : - E404 from __future__ imports must occur at the beginning of the file - E303 too many blank lines

[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,E731,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