(self, tempfile: str)
| 71 | ) |
| 72 | |
| 73 | def run_black(self, tempfile: str) -> None: |
| 74 | self._run_console_script( |
| 75 | str(tempfile), |
| 76 | { |
| 77 | "entrypoint": "black", |
| 78 | "options": f"--config {self.pyproject_toml_path}", |
| 79 | }, |
| 80 | ) |
| 81 | |
| 82 | def _run_console_script(self, path: str, options: Dict[str, Any]) -> None: |
| 83 | """Run a Python console application from within the process. |