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