File: tox.ini

package info (click to toggle)
dumb-init 1.2.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 280 kB
  • sloc: python: 653; ansic: 253; makefile: 92; sh: 50
file content (25 lines) | stat: -rw-r--r-- 494 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
[tox]
envlist = py27,py36,gcov

[testenv]
deps = -r{toxinidir}/requirements-dev.txt
commands =
    python -m pytest

[testenv:gcov]
skip_install = True
commands =
    {toxinidir}/ci/gcov-build {envbindir}
    {[testenv]commands}
    {toxinidir}/ci/gcov-report

[testenv:pre-commit]
basepython = /usr/bin/python3.6
commands = pre-commit {posargs:run --all-files}

[flake8]
max-line-length = 119

[pep8]
# autopep8 will rewrite lines to be shorter, even though we raised the length
ignore = E501