Skip to content

Check Matches

hexa.check_matches

Verify that two hexa representations agree.

Classes

Functions

check_matches

1
2
3
check_matches(
    path_a: str | Path, path_b: str | Path
) -> bool | list[str]

Verify two representations agree.

Parameters

path_a : str | Path Path to a .yaml or .py file. path_b : str | Path Path to a .yaml or .py file.

Returns

bool | list[str] True if they match exactly, otherwise a list of difference strings.