imas_validator.rules.loading.filter_rulesets

imas_validator.rules.loading.filter_rulesets(ruleset_dirs: list[Path], validate_options: ValidateOptions) list[Path]

filter list of directories to only those that contain rulesets which should be applied

Parameters:
ruleset_dirs: list[Path]

List of directories in which to look for rulesets

validate_options: ValidateOptions

Dataclass for validate options

Returns:

List of directories corresponding to given rule sets


Last update: 2025-08-29