Hyrum reads an optional TOML file, defaulting to hyrum.toml in the current working directory. Use --config PATH to specify a different location.
If the file is absent, hyrum runs with no configured exclusions and saves results as if save = "auto" were set.
save = "<mode-or-path>"
[save]
mode = "<mode>"
path = "<path>"
[ignore]
<category> = ["<charm-path>", ...]
saveThe save setting controls where hyrum check writes the run’s outcomes. It takes either a bare string or a table.
Type: str | dict[str, str]
The bare-string form takes one of:
"auto": write the rolling <target>.auto.json and <target>.auto.prev.json pair into ~/.cache/hyrum/results."off": do not persist results.save = "~/hyrum-runs"
The table form is the only one that pins down both the layout and the location:
[save]
mode = "timestamped"
path = "~/hyrum-runs"
modeauto, off, file, or timestamped. Omit it to get the same “pick by what is on disk” behaviour as the bare-string path form.pathauto (defaults to ~/.cache/hyrum/results), required for file and timestamped, and rejected for off. ~ is expanded.The --save, --auto-save, and --no-save command-line options take precedence over this setting. If neither a command-line option nor a save setting is present, hyrum saves as if save = "auto".
[ignore]The [ignore] table maps category names to lists of charm paths to exclude.
Type: dict[str, list[str]]
Each key is a free-form string that names the reason for the exclusion. This string appears in the run output as the skip reason (for example, the expensive in skipped: ignored (expensive)). Choose names that communicate why the charm is excluded.
Each value is a list of charm paths, where each path is one of:
kfp-operators/charms/kfp-ui).kfp-ui). Hyrum matches by both the full relative path and the bare name.[ignore]
expensive = ["argo-operators", "mysql-router-k8s", "postgresql-k8s"]
pre-existing = ["opensearch-operator"]
manual = ["my-internal-charm"]
[ignore] is absent or empty.# hyrum.toml
# Charm exclusions for the ops 4.x pre-release compatibility check.
# Keep every run's results, named by timestamp, for later comparison:
[save]
mode = "timestamped"
path = "~/hyrum-runs"
[ignore]
# Takes > 30 min to run; not worth including in routine checks:
expensive = [
"argo-operators",
"mysql-router-k8s",
"postgresql-k8s",
"mongodb-k8s",
]
# Known pre-existing failures that are not related to ops:
pre-existing = [
"opensearch-operator",
]
# Requires manual setup steps before running:
manual = [
"hardware-observer-operator",
]