Skip to content

Commit 8b698d4

Browse files
felixfonteinoraNod
andcommitted
Improve formulation.
Co-authored-by: Don Naro <[email protected]>
1 parent bd53346 commit 8b698d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/checkers/rst-yamllint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def visit_literal_block(self, node: nodes.literal_block) -> None:
8787
"path": self.__path,
8888
"line": node.line or "unknown",
8989
"col": 0,
90-
"message": f"Warning: found unknown literal block! Could be due to '::'. If not, please report this, this is likely a bug in the checker (could be an unsupported Sphinx directive). Node: {node!r}; attributes: {node.attributes}; content: {node.rawsource!r}",
90+
"message": f"Warning: found unknown literal block! Check for double colons '::'. If that is not the cause, please report this warning. It might indicate a bug in the checker or an unsupported Sphinx directive. Node: {node!r}; attributes: {node.attributes}; content: {node.rawsource!r}",
9191
}
9292
)
9393
raise nodes.SkipNode

0 commit comments

Comments
 (0)