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

Function _black_cmd

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

Source from the content-addressed store, hash-verified

103
104
105def _black_cmd(*, check: bool) -> list[str]:
106 args = "--check --quiet" if check else "--quiet"
107 return [
108 "bash",
109 "-c",
110 f'. misc/shlib/shlib.bash && git_files "*.py" | xargs bin/pyactivate -m black {args}',
111 ]
112
113
114def _ruff_cmd(*, check: bool) -> list[str]:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected