pytest-mock/tox.ini

27 lines
489 B
INI
Raw Permalink Normal View History

2016-11-01 20:01:57 +01:00
[tox]
2019-08-24 18:33:04 +02:00
envlist = py{27,34,35,36,37}, linting, norewrite
2016-11-01 20:01:57 +01:00
[testenv]
passenv = USER USERNAME
deps =
coverage
commands =
coverage run --append --source=pytest_mock.py -m pytest test_pytest_mock.py
2018-03-05 23:30:36 +01:00
[testenv:norewrite]
commands =
pytest test_pytest_mock.py --assert=plain -ra
2016-11-01 20:01:57 +01:00
[testenv:linting]
2019-08-24 18:33:04 +02:00
skipsdist = True
usedevelop = True
extras = dev
basepython = python3.6
commands = pre-commit run --all-files --show-diff-on-failure
[pytest]
addopts = -ra
[flake8]
max-line-length = 88