Expand description
Load rules from disk: a single TOML rule file, or a directory of them.
Functions§
- load_
rule_ dir - Load every
.tomlrule directly underdir, sorted by filename for a deterministic order. Non-.tomlfiles and subdirectories are ignored. - load_
rule_ file - Load a single rule from a
.tomlfile.