Skip to content

Commit

Permalink
Ignoring several lables for "code-block" directive. (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdelliot authored Dec 8, 2020
1 parent 431faf9 commit 6d29e39
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc8/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ class CheckValidity(ContentCheck):
re.compile(
r'^Error in "code-block" directive:\nunknown option: "emphasize-lines"'
),
re.compile(r'^Error in "code-block" directive:\nunknown option: "linenos"'),
re.compile(
r'^Error in "code-block" directive:\nunknown option: "lineno-start"'
),
re.compile(r'^Error in "code-block" directive:\nunknown option: "dedent"'),
re.compile(r'^Error in "code-block" directive:\nunknown option: "force"'),
re.compile(r'^Error in "math" directive:\nunknown option: "label"'),
re.compile(r'^Error in "math" directive:\nunknown option: "nowrap"'),
re.compile(
Expand Down

0 comments on commit 6d29e39

Please sign in to comment.