| 84 | |
| 85 | |
| 86 | class CodeBlockIndentationDiagnostic(Diagnostic): |
| 87 | def __init__( |
| 88 | self, |
| 89 | start: int, |
| 90 | code_block: CodeBlock, |
| 91 | suggestions: list[CodeBlockModifySuggestion] = [], |
| 92 | ): |
| 93 | super().__init__( |
| 94 | start, |
| 95 | "The code under code-block directive should be indented properly. The issue found in:\n" |
| 96 | + format_code_block_with_suggestions(code_block, suggestions), |
| 97 | ) |
| 98 | |
| 99 | |
| 100 | class CodeBlockFollowsBlankLineDiagnostic(Diagnostic): |
no outgoing calls
no test coverage detected