tox.ini
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Wed, 06 Nov 2019 11:13:17 +0100
changeset 865 c8d7aa381fcb
parent 861 d5e1e2b627fc
child 866 40e82ee872ce
permissions -rw-r--r--
Drop rpm packaging This packaging (if it works) only work for python2 and we're going to drop python2 support. I don't have an rpm build environment and I don't known how to test this, so just drop the spec file and let someone revive this if needed.

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

[pytest]
python_files = *test_*.py

[flake8]
max-line-length = 100