(argv: list[str])
| 60 | |
| 61 | |
| 62 | def main(argv: list[str]) -> int: |
| 63 | errors: list[str] = [] |
| 64 | for path in argv: |
| 65 | errors.extend(check_file(path)) |
| 66 | |
| 67 | if errors: |
| 68 | print("\n".join(errors), file=sys.stderr) |
| 69 | print( |
| 70 | "\nUse single backticks for inline code in docstrings " |
| 71 | "(`value`, not ``value``).", |
| 72 | file=sys.stderr, |
| 73 | ) |
| 74 | return 1 |
| 75 | return 0 |
| 76 | |
| 77 | |
| 78 | if __name__ == "__main__": |
no test coverage detected
searching dependent graphs…