summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 6 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 431a42d3..6e0836b4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -37,8 +37,10 @@ commands =
[testenv:pep8]
deps = hacking<0.13,>=0.12
+ doc8
commands =
flake8
+ doc8 {posargs}
# Check that .po and .pot files are valid:
bash -c "find ceilometer -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
@@ -56,6 +58,10 @@ setenv = PYTHONHASHSEED=0
commands = {posargs}
setenv = PYTHONHASHSEED=0
+[doc8]
+ignore = D000
+ignore-path = .venv,.git,.tox,*ceilometer/locale*,*lib/python*,ceilometer.egg*,doc/build,doc/source/api,releasenotes/*
+
[flake8]
ignore =
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,install-guide