text_lint.linter.logging.contexts.assertion
- text_lint.linter.logging.contexts.assertion(linter: Linter, operation: AssertionBase) Generator[None, None, None][Quellcode]
Wrap the linter’s individual assertion operations in logging statements.
- Parameter:
linter (Linter) – The linter instance being logged.
operation (AssertionBase) – The individual assertion operation being logged.
- Rückgabe:
A logging context manager.
- Rückgabetyp:
Generator[None, None, None]