File: tox.ini

package info (click to toggle)
pytest-mock 1.10.4-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 268 kB
  • sloc: python: 670; makefile: 6
file content (26 lines) | stat: -rw-r--r-- 486 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[tox]
envlist = py{27,34,35,36,37}, linting, norewrite

[testenv]
passenv = USER USERNAME
deps =
    coverage
commands =
    coverage run --append --source=pytest_mock.py -m pytest test_pytest_mock.py

[testenv:norewrite]
commands =
    pytest test_pytest_mock.py --assert=plain

[testenv:linting]
skipsdist = True
usedevelop = True
extras = dev
basepython = python3.6
commands = pre-commit run --all-files --show-diff-on-failure

[pytest]
addopts = -r a

[flake8]
max-line-length = 88