diff options
author | Nguyen Van Trung <trungnv@vn.fujitsu.com> | 2017-12-12 16:07:52 +0700 |
---|---|---|
committer | Nguyen Van Trung <trungnv@vn.fujitsu.com> | 2017-12-25 15:36:11 +0000 |
commit | 2e98fb2e0c56c29933e3dd321d3a20c7dab7cc34 (patch) | |
tree | 23f8fe6a88de50e73b206be2326c2fde68c5a2ea /tox.ini | |
parent | 0df0df7dff86f60d8fdb42879e149a7791e36aac (diff) | |
download | ceilometer-2e98fb2e0c56c29933e3dd321d3a20c7dab7cc34.tar.gz |
Add doc8 to pep8 check for ceilometer project
This patch adds a doc8 check of .rst files to the current pep8 check.
It includes fixes to the .rst files that didn't pass the check.
Change-Id: If159ab37e2f59d7fe9ee1d7c3ebf0f62f030c87f
Co-authored-By: Hoang Trung Hieu <hieuht@vn.fujitsu.com>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |