graflo.cli.check¶
graflo check -- validate a manifest against a named conformance profile.
Distinct from graflo verify, which checks that a stored history replays to
the hash it claims. This checks the content of one manifest against a profile
-- a versioned list of assertions saying what it takes for a schema to be a
world model rather than a table dump with edges.
The manifest is read as written, not round-tripped through the model first: two assertions ask what the author declared, and the parsed model has already filled in the defaults that would hide the answer.
Attributes¶
EXIT_NONCONFORMANT = 1
module-attribute
¶
__all__ = ['check']
module-attribute
¶
Classes¶
Functions:¶
check(manifest, profile_name, waivers_path, as_json, warnings_as_errors, exit_zero, do_list)
¶
Check MANIFEST against a conformance profile.
Source code in graflo/cli/check.py
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | |