mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
80a1238e2b
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
7 lines
180 B
Python
7 lines
180 B
Python
import sys
|
|
from pathlib import Path
|
|
|
|
for rst in Path("docs/releasenotes").glob("[1-9]*.rst"):
|
|
if "TODO" in open(rst).read():
|
|
sys.exit(f"Error: remove TODO from {rst}")
|