text_lint.operations.assertions.assert_sequence_ends.AssertSequenceEnds
- class text_lint.operations.assertions.assert_sequence_ends.AssertSequenceEnds(name: str)[source]
Bases:
AssertionBaseInform the linter to stop repeating assertions.
- __init__(name: str) None[source]
Initialize AssertSequenceEnds instances.
- Parameters:
name (str) – The configured name of this assertion.
- Raises:
TypeError
- apply(state: AssertionState) None[source]
Apply the AssertSequenceEnds assertion logic.