'Line too long' for a line in a literal block
Bug #1506671 reported by
Ruby Loo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
doc8 |
New
|
Undecided
|
Unassigned |
Bug Description
I am seeing 'D001 Line too long' errors for lines that are in literal blocks. I think it is something related to the '#' character but not totally sure.
(venv)[
Scanning...
Validating...
doc2.rst:3: D001 Line too long
doc2.rst:8: D001 Line too long
Here is the file (not including the === lines):
===========
1234::
a # replace with the MAC of a data port on your node
abc
abcd::
# ooooooooooooooo
t
==============
To post a comment you must log in.
Hi Ruby, I cannot reproduce this. Are you using doc8 from master?
highworld-lm:doc8 praneshp$ doc8 /tmp/test
Scanning...
Validating...
========
Total files scanned = 0
Total files ignored = 0
Total accumulated errors = 0
highworld-lm:doc8 praneshp$ cat /tmp/test
1234::
a # replace with the MAC of a data port on your node
abc
abcd::
# ooooooooooooooo ooooooooooooooo ooooooooooooooo ooooooooooooooo ooooooooooooooo
t