MCPcopy Index your code
hub / github.com/numpy/numpy / run_cython_lint

Method run_cython_lint

tools/linter.py:34–44  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

32 return res.returncode, res.stdout
33
34 def run_cython_lint(self) -> tuple[int, str]:
35 print("Running cython-lint...")
36 command = ["cython-lint", "--no-pycodestyle", "numpy"]
37
38 res = subprocess.run(
39 command,
40 stdout=subprocess.PIPE,
41 cwd=self.repository_root,
42 encoding="utf-8",
43 )
44 return res.returncode, res.stdout
45
46 def run_lint(self, fix: bool) -> None:
47

Callers 1

run_lintMethod · 0.95

Calls 1

runMethod · 0.45

Tested by

no test coverage detected