MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / _buf_cmd

Function _buf_cmd

misc/python/materialize/cli/fmt.py:99–102  ·  view source on GitHub ↗
(*, check: bool)

Source from the content-addressed store, hash-verified

97
98
99def _buf_cmd(*, check: bool) -> list[str]:
100 if check:
101 return ["buf", "format", "src", "--diff", "--exit-code"]
102 return ["buf", "format", "src", "-w"]
103
104
105def _black_cmd(*, check: bool) -> list[str]:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected