-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
46 lines (37 loc) · 955 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[tox]
minversion = 2.0
envlist = pep8
skipsdist = True
[testenv]
passenv = CI TRAVIS TRAVIS_*
usedevelop = True
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
setenv = LANGUAGE=en
whitelist_externals = sh
commands =
/usr/bin/find . -type f -name "*.pyc" -delete
py.test --cov=risuclient --cov=maguiclient {posargs}
[testenv:pep8]
basepython = python2.7
commands =
flake8 citmetrics
[testenv:venv]
commands = {posargs}
[testenv:language_es]
setenv = LANGUAGE=es
commands = py.test {posargs}
[flake8]
show-source = True
ignore = E402,E501,E722
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,*/sumsos.py
[testenv:markdown]
commands = markdownlint .
[testenv:bashate]
commands =
bash -c 'find citmetrics -name "*.sh" -type f -print0 | xargs -0 bashate -i E006'
[testenv:httpd]
commands = python -m http.server 8000
[testenv:start]
basepython = python2.7
commands = python citmetrics/web.py