Add doc8 to pep8 job

To allow doc8 testing of the Magnum documentation in CI, doc8 should be
added to the pep8 tox command. After discussion with infra (see change
I6d42cb2092cbaed0cc2ed83f23b7f9ce0b52356f) this has been the suggested
method to allow for doc8 style checking.

As this behaviour is non-obvious I have left the doc8 command in the doc
tox env, this is not run by CI but will be run by users when modifying
and compiling documentation.

Change-Id: I93133e92d792ccc13d61f3ad1281007c2639853b
This commit is contained in:
Tom Cammann 2015-10-21 17:02:58 +01:00
parent 2479952136
commit e5dd25cf22

View File

@ -25,6 +25,7 @@ deps =
[testenv:pep8]
commands =
doc8 -e .rst specs/ doc/source/ contrib/ CONTRIBUTING.rst HACKING.rst README.rst
flake8 --max-complexity 13 {posargs}
[testenv:venv]