maid_runner.ValidatorRegistry¶
- class maid_runner.ValidatorRegistry¶
Instance-scoped registry of language validators.
- __init__()¶
- Return type:
None
Methods
__init__()clear()Clear all registrations.
clone()get(file_path)Get a validator instance for the given file.
has_validator(file_path)Check if a validator is available for the given file.
has_validator_for_extension(ext)Check if a validator is registered for an extension.
register(validator_class)Register a validator for its supported extensions.
supported_extensions()All file extensions with registered validators.
with_builtin_validators()