History log of /openbmc/entity-manager/format-code (Results 1 – 1 of 1)
Revision Date Author Comments
# ae2b0734 29-Apr-2021 Ed Tanous <edtanous@google.com>

Add custom format code

entity-manager has for a long time had autojson.py, which enforces
key ordering to keep the json files consistent. This commit hooks this
into the custom form

Add custom format code

entity-manager has for a long time had autojson.py, which enforces
key ordering to keep the json files consistent. This commit hooks this
into the custom format-code that CI supports, to be able to reject
patches that haven't run this, and prevent maintainers having to do it
by hand (like 98e102f377d9a5e8f7bbac1063ac39bc5fc8d023)

Tested:
Made some incompatible changes, then ran format-code, and observed them
disappear in the diff as they were cleaned up. CI on this patch should
also test the CI integration.

Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: If34ecb3c76b178a5e939db28eb997c76ad628d90

show more ...