()
| 36 | |
| 37 | |
| 38 | def main(): |
| 39 | for chapter in CHAPTERS: |
| 40 | path = Path(f'{chapter}.asciidoc') |
| 41 | contents = path.read_text() |
| 42 | fixed = '\n'.join( |
| 43 | fix_line(l) for l in contents.splitlines() |
| 44 | ) |
| 45 | path.write_text(fixed) |
| 46 | |
| 47 | if __name__ == '__main__': |
| 48 | main() |
no test coverage detected