tox: Disable doc8 checks for autogenerated tables
There are some doc8 rules which would be valuable for these autogenerated files (like whitespace checks), however, some others do not make any sense (mainly line length). As it does not appear to be possible to use wildcards for the 'ignore-path-errors' setting, so we must disable all checks on the files themselves. Change-Id: I0adc353d1f1c975ae788a8e38d9c9b12168b23e5 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
This commit is contained in:
parent
bcc6a06104
commit
90e9b4cf67
4
tox.ini
4
tox.ini
|
@ -114,8 +114,8 @@ commands =
|
|||
|
||||
[doc8]
|
||||
# Settings for doc8:
|
||||
# Ignore target directories
|
||||
ignore-path = doc/*/target,doc/*/build*,doc/install-guide/source/swift-controller-include.txt,doc/install-guide-debconf/source/swift-controller-include.txt,doc/networking-guide/source/shared/*.txt
|
||||
# Ignore target directories and autogenerated files
|
||||
ignore-path = doc/*/target,doc/*/build*,doc/install-guide/source/swift-controller-include.txt,doc/install-guide-debconf/source/swift-controller-include.txt,doc/networking-guide/source/shared/*.txt,doc/config-reference/source/tables/*.rst
|
||||
# File extensions to use
|
||||
extensions = .rst,.txt
|
||||
# Maximal line length should be 79 but we have some overlong lines.
|
||||
|
|
Loading…
Reference in New Issue