(self)
| 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 |