Ensure tts CLI tool readme and usage help is in sync

This commit is contained in:
Aarni Koskela
2023-09-26 15:38:56 +03:00
parent 0b95b88f13
commit 5c047cf304
4 changed files with 236 additions and 142 deletions
+9
View File
@@ -0,0 +1,9 @@
import subprocess
import sys
from pathlib import Path
def test_readme_up_to_date():
root = Path(__file__).parent.parent.parent
sync_readme = root / "scripts" / "sync_readme.py"
subprocess.check_call([sys.executable, str(sync_readme), "--check"], cwd=root)