text_lint.operations.validators.validate_debug.ValidateDebug

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

Bases: ValidatorBase

A validator to display result lookups.

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

Initialize ValidateDebug instances.

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

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

Raises:

TypeError

apply(state: ValidatorState) None[source]

Apply the ValidateDebug validator logic.