--- /dev/null
+pylint # GPLv2
# limitations under the License.
[tox]
-envlist = py27,pep8,cov
+envlist = py27,pep8,cov,pylint
skipsdist = true
[tox:jenkins]
[testenv]
setenv =
PYTHONPATH = {toxinidir}/../share
-deps = -r{toxinidir}/requirements.txt
-commands =
+deps =
+ -r{toxinidir}/requirements.txt
+ -r{toxinidir}/test-requirements.txt
+commands =
coverage run --branch manage.py test ocata
coverage report --omit="./venv-tox/*,./.tox/*,*tests*,*__init__.py,*newton_base*,*common*" --fail-under=30
[testenv:cov]
commands = coverage xml --omit="./venv-tox/*,./.tox/*,*tests*,*__init__.py,*newton_base*,*common*, *site-packages*"
+[testenv:pylint]
+whitelist_externals = bash
+commands =
+ bash -c "\
+ pylint -f parseable --reports=y ocata | tee pylint.out"
--- /dev/null
+pylint # GPLv2
# limitations under the License.
[tox]
-envlist = py27,pep8,cov
+envlist = py27,pep8,cov,pylint
skipsdist = true
[tox:jenkins]
[testenv]
setenv =
PYTHONPATH = {toxinidir}/../share
-deps = -r{toxinidir}/requirements.txt
+deps =
+ -r{toxinidir}/requirements.txt
+ -r{toxinidir}/test-requirements.txt
commands =
coverage run --branch manage.py test pike
coverage report --omit="./venv-tox/*,./.tox/*,*tests*,*__init__.py,*newton_base*,*common*" --fail-under=30
[testenv:cov]
commands = coverage xml --omit="./venv-tox/*,./.tox/*,*tests*,*__init__.py,*newton_base*,*common*, *site-packages*"
+[testenv:pylint]
+whitelist_externals = bash
+commands =
+ bash -c "\
+ pylint -f parseable --reports=y pike | tee pylint.out"
--- /dev/null
+pylint # GPLv2
[tox]
-envlist = py27,cov
+envlist = py27,cov,pylint
skipsdist = true
[tox:jenkins]
[testenv]
setenv =
PYTHONPATH = {toxinidir}/../share
-deps = -r{toxinidir}/requirements.txt
+deps =
+ -r{toxinidir}/requirements.txt
+ -r{toxinidir}/test-requirements.txt
commands =
coverage run --branch manage.py test titanium_cloud
coverage report --omit="./venv-tox/*,./.tox/*,*tests*,*__init__.py,*newton_base*,*common*,*starlingx_base*" --fail-under=30
[testenv:cov]
commands = coverage xml --omit="./venv-tox/*,./.tox/*,*tests*,*__init__.py,*newton_base*,*common*, *site-packages*"
+[testenv:pylint]
+whitelist_externals = bash
+commands =
+ bash -c "\
+ pylint -f parseable --reports=y titanium_cloud | tee pylint.out"