text_lint.operations.assertions.assert_sequence_ends.AssertSequenceEnds

class text_lint.operations.assertions.assert_sequence_ends.AssertSequenceEnds(name: str)[Quellcode]

Bases: AssertionBase

Inform the linter to stop repeating assertions.

class Parameters[Quellcode]

Bases: object

Parameter 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.