mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			224 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			224 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from __future__ import annotations
 | 
						|
 | 
						|
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}")
 |