def METHOD_NAME(ctx, raise_if_changed=False):
    run_make_command(ctx, "clang-format")
    if raise_if_changed:
        changed_files = [line for line in ctx.run("git ls-files -m rtloader").stdout.strip().split("\n") if line]
        if len(changed_files) != 0:
            print("Following files were not correctly formated:")
            for f in changed_files:
                print(f"  - {f}")
            raise Exit(code=1)