mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 16:11:15 +00:00
24 lines
543 B
INI
24 lines
543 B
INI
|
[tox]
|
||
|
envlist = flake8,nose
|
||
|
skipsdist = True
|
||
|
|
||
|
[testenv]
|
||
|
base_python = python3
|
||
|
setenv = VIRTUAL_ENV={envdir}
|
||
|
PYTHONHASHSEED=0
|
||
|
usedevelop = True
|
||
|
deps = -r{toxinidir}/requirements.txt
|
||
|
-r{toxinidir}/test-requirements.txt
|
||
|
install_command = pip install {opts} {packages}
|
||
|
|
||
|
[testenv:flake8]
|
||
|
commands = flake8 {posargs}
|
||
|
|
||
|
[testenv:nose]
|
||
|
commands = nosetests -v --with-coverage --cover-package=ubuntutools {posargs:ubuntutools}
|
||
|
|
||
|
[flake8]
|
||
|
verbose = 2
|
||
|
max-line-length = 99
|
||
|
extend-exclude = ubuntu-archive-assistant,ubuntu_archive_assistant
|