Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (38 sloc) 1.04 KB
[tox]
minversion = 2.0
envlist = pep8, py27, py3, bashate, misspellings
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=citellusclient --cov=maguiclient {posargs}
[testenv:pep8]
basepython = python2.7
commands =
./extractpot.sh
flake8 maguiclient citellusclient
[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 citellusclient -name "*.sh" -type f -print0 | xargs -0 bashate -i E006'
[testenv:httpd]
commands = python -m http.server 8000
[testenv:misspellings]
commands =
bash -c 'find citellusclient -name "*.py" -type f | xargs misspellings'
You can’t perform that action at this time.