Skip to content

Commit

Permalink
docs: Fix new rstcheck errors
Browse files Browse the repository at this point in the history
Some YAML snippets from the examples were actually invalid.
  • Loading branch information
adrienverge committed Nov 21, 2023
1 parent 8713140 commit 721680f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/disable_with_comments.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ line above. For instance:
# The following mapping contains the same key twice,
# but I know what I'm doing:
key: value 1
key: value 2 # yamllint disable-line rule:key-duplicates
- key: value 1
key: value 2 # yamllint disable-line rule:key-duplicates
- This line is waaaaaaaaaay too long but yamllint will not report anything about it. # yamllint disable-line rule:line-length
This line will be checked by yamllint.
Expand All @@ -24,9 +24,9 @@ or:
# The following mapping contains the same key twice,
# but I know what I'm doing:
key: value 1
# yamllint disable-line rule:key-duplicates
key: value 2
- key: value 1
# yamllint disable-line rule:key-duplicates
key: value 2
# yamllint disable-line rule:line-length
- This line is waaaaaaaaaay too long but yamllint will not report anything about it.
Expand Down Expand Up @@ -90,8 +90,8 @@ For instance:
# yamllint disable-file
# The following mapping contains the same key twice, but I know what I'm doing:
key: value 1
key: value 2
- key: value 1
key: value 2
- This line is waaaaaaaaaay too long but yamllint will not report anything about it.
Expand Down

0 comments on commit 721680f

Please sign in to comment.