text_lint.linter.logging.contexts.assertion_section

text_lint.linter.logging.contexts.assertion_section(linter: Linter) Generator[None, None, None][source]

Wrap all the linter’s assertion operations in a logged section header.

Parameters:

linter (Linter) – The linter instance being logged.

Returns:

A logging context manager.

Return type:

Generator[None, None, None]