forked from change-metrics/monocle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
41 lines (36 loc) · 1.04 KB
/
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
33
34
35
36
37
38
39
40
41
[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 =
black --check .
flake8 monocle
mypy --ignore-missing-imports monocle
[flake8]
# E501: line too long (80 chars)
# W503: line break before binary operator
exclude = .tox,.eggs,alembic
show-source = true
ignore = E501, W503
max-line-length = 99
application-import-names = monocle