Merge "Add the restructuredtext check to the flake8 job"
This commit is contained in:
commit
12cdeffe1d
6
tox.ini
6
tox.ini
@ -11,7 +11,7 @@ setenv =
|
|||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
http://tarballs.openstack.org/horizon/horizon-master.tar.gz
|
http://tarballs.openstack.org/horizon/horizon-master.tar.gz
|
||||||
commands =
|
commands =
|
||||||
find . -type f -name "*.pyc" -delete
|
find . -type f -name "*.pyc" -delete
|
||||||
/bin/bash run_tests.sh -N --no-pep8 {posargs}
|
/bin/bash run_tests.sh -N --no-pep8 {posargs}
|
||||||
whitelist_externals = find
|
whitelist_externals = find
|
||||||
@ -21,7 +21,9 @@ setenv = DJANGO_SETTINGS_MODULE=mistraldashboard.test.settings
|
|||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
commands = flake8
|
commands =
|
||||||
|
python setup.py check --restructuredtext --strict
|
||||||
|
flake8
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
|
Loading…
Reference in New Issue
Block a user