scour/tox.ini
Niels Thykier a15acb3e4e
Rename testX.py to test_X.py to make py.test work out of the box (#181)
This rename makes py.test/py.test-3 find the test suite out of the
box.  Example command lines:

       # Running the test suite (optionally include "-v")
       $ py.test-3
       # Running the test suite with coverage enabled (and branch
       # coverage).
       $ py.test-3 --cov=scour --cov-report=html --cov-branch

Signed-off-by: Niels Thykier <niels@thykier.net>
2020-05-17 19:55:24 +02:00

29 lines
307 B
INI

[tox]
envlist =
pypy
py27
py34
py35
py36
py37
py38
flake8
[testenv]
deps =
six
coverage
commands =
scour --version
coverage run --parallel-mode --source=scour test_scour.py
[testenv:flake8]
deps =
flake8
commands =
flake8 --max-line-length=119