forked from change-metrics/monocle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
32 lines (28 loc) · 866 Bytes
/
tox.ini
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
[tox]
minversion = 3.9
skipsdist = True
envlist = linters,py3
[testenv]
basepython = python3
deps =
-r requirements.txt
-r test-requirements.txt
[testenv:py3]
commands = nosetests -v monocle/tests
passenv =
ELASTIC_USER ELASTIC_PASSWORD ELASTIC_USE_SSL
ELASTIC_INSECURE ELASTIC_SSL_SHOW_WARN
setenv =
PYTHONPATH = {toxinidir}
[testenv:standalone-clients]
commands =
python ./monocle/gerrit/review.py --base-url https://gerrit-review.googlesource.com --repository gerrit --id 246332 --output-dir /tmp
python ./monocle/gerrit/review.py --base-url https://review.rdoproject.org/r/ --repository openstack/scciclient-distgit --id 31697 --output-dir /tmp --prefix /rdo
setenv =
PYTHONPATH = {toxinidir}
[testenv:linters]
skip_install = true
commands =
mypy monocle
flake8 monocle
black --force-exclude /dist-newstyle/ --check .