text_lint.operations.validators.bases.validator_base.ValidatorBase
- class text_lint.operations.validators.bases.validator_base.ValidatorBase(name: str)[Quellcode]
Bases:
OperationBase[states.ValidatorState],ABCValidation operation base class.
- class Parameters[Quellcode]
Bases:
objectParameter validation for this operation.
- __init__(name: str) None[Quellcode]
Initialize ValidatorBase instances.
- Parameter:
name (str) – The configured name of this validator.
- Raises:
TypeError
- abstract apply(state: states.ValidatorState) None[Quellcode]
Apply this operation to the given state object.
- Parameter:
state (states.ValidatorState) – The state object to apply this operation to.