MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / run_format

Function run_format

py/private/ruff.py:46–48  ·  view source on GitHub ↗
(ruff, exclude_args, dirs, extra_args)

Source from the content-addressed store, hash-verified

44
45
46def run_format(ruff, exclude_args, dirs, extra_args):
47 cmd = [ruff, "format", "--config=py/pyproject.toml"]
48 return subprocess.run(cmd + exclude_args + dirs + extra_args).returncode
49
50
51if __name__ == "__main__":

Callers 1

ruff.pyFile · 0.85

Calls 1

runMethod · 0.65

Tested by

no test coverage detected