File: tox.ini

package info (click to toggle)
python-pygerrit2 2.0.4-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 204 kB
  • sloc: python: 532; makefile: 75
file content (25 lines) | stat: -rw-r--r-- 594 bytes parent folder | download | duplicates (3)
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]
minversion = 2.1.1
envlist = pep8, py35, py27, py26

[testenv]
setenv = VIRTUAL_ENV={envdir}
         SUBUNIT_FORMATTER=tee testr_subunit_log
         OS_STDOUT_NOCAPTURE=False
         LANG=en_US.UTF-8
usedevelop = True
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/test_requirements.txt
commands = python unittests.py

[testenv:pep8]
commands = flake8

[testenv:pyflakes]
deps = pyflakes
commands = pyflakes pygerrit2 unittests.py example.py setup.py

[flake8]
max-line-length = 80
show-source = True
exclude = .venv,.tox,dist,docs,build,*.egg,.test,pygerrit2env