Increment the counter for failed reformatting. Write out a message.
(self, src: Path, message: str)
| 50 | self.same_count += 1 |
| 51 | |
| 52 | def failed(self, src: Path, message: str) -> None: |
| 53 | """Increment the counter for failed reformatting. Write out a message.""" |
| 54 | err(f"error: cannot format {src}: {message}") |
| 55 | self.failure_count += 1 |
| 56 | |
| 57 | def path_ignored(self, path: Path, message: str) -> None: |
| 58 | if self.verbose: |