text_lint.operations.assertions.assert_blank.AssertBlank

class text_lint.operations.assertions.assert_blank.AssertBlank(name: str)[Quellcode]

Bases: AssertionBase

Assert that the line is blank.

class Parameters[Quellcode]

Bases: object

Parameter validation for this operation.

__init__(name: str) None[Quellcode]

Initialize AssertBlank instances.

Parameter:

name (str) – The configured name of this assertion.

Raises:

TypeError

apply(state: AssertionState) None[Quellcode]

Apply the AssertBlank assertion logic.