-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (32 loc) · 758 Bytes
/
tox.ini
File metadata and controls
37 lines (32 loc) · 758 Bytes
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
27
28
29
30
31
32
33
34
35
36
37
[tox]
minversion = 3.6.0
envlist = py39,pep8
ignore_basepython_conflict = true
[testenv]
basepython = python3
install_command = pip install {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
passenv =
usedevelop = True
deps =
-r{toxinidir}/Requirements.txt
-r{toxinidir}/test-requirements.txt
commands = stestr run {posargs}
[testenv:pep8]
install_command = pip install {opts} {packages}
commands =
flake8 {posargs}
[testenv:venv]
deps =
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/Requirements.txt
commands = {posargs}
[flake8]
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
ignore = E123,E125,W503,H101
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,git_repos
[stestr]
test_path = ./tests