()
| 66 | |
| 67 | |
| 68 | def main() -> None: |
| 69 | count = 0 |
| 70 | for path in TARGET_ROOT.glob("*/*.md"): |
| 71 | before = path.read_text(encoding="utf-8") |
| 72 | after = clean_text(before) |
| 73 | if after != before: |
| 74 | path.write_text(after, encoding="utf-8") |
| 75 | count += 1 |
| 76 | print(f"postprocessed {count} English article files") |
| 77 | |
| 78 | |
| 79 | if __name__ == "__main__": |
no test coverage detected