File: tox.ini

package info (click to toggle)
dumb-init 1.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 268 kB
  • sloc: python: 677; ansic: 260; makefile: 86; sh: 49
file content (26 lines) | stat: -rw-r--r-- 511 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 = py37,gcov

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

[testenv:gcov]
skip_install = True
basepython = /usr/bin/python3.7
commands =
    {toxinidir}/ci/gcov-build {envbindir}
    {[testenv]commands}
    {toxinidir}/ci/gcov-report

[testenv:pre-commit]
basepython = /usr/bin/python3.7
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