text_lint.operations.validators.validate_debug.ValidateDebug

class text_lint.operations.validators.validate_debug.ValidateDebug(name: str, saved: AliasYamlLookupExpressionSet)[Quellcode]

Bases: ValidatorBase

A validator to display result lookups.

__init__(name: str, saved: AliasYamlLookupExpressionSet) None[Quellcode]

Initialize ValidateDebug instances.

Parameter:
  • name (str) – The configured name of this validator.

  • saved (AliasYamlLookupExpressionSet) – A list of YAML lookup expressions to evaluate.

Raises:

TypeError

apply(state: ValidatorState) None[Quellcode]

Apply the ValidateDebug validator logic.