MCPcopy Index your code
hub / github.com/plotly/plotly.py / lint_code

Function lint_code

codegen/__init__.py:99–102  ·  view source on GitHub ↗

Check Python code using settings in pyproject.toml.

(outdir)

Source from the content-addressed store, hash-verified

97
98
99def lint_code(outdir):
100 """Check Python code using settings in pyproject.toml."""
101
102 subprocess.call(["ruff", "check", *make_paths(outdir)])
103
104
105def reformat_code(outdir):

Callers 1

mainFunction · 0.90

Calls 1

make_pathsFunction · 0.85

Tested by

no test coverage detected