Skip to content

Commit

Permalink
Simplify glob
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
  • Loading branch information
hugovk and radarhere committed Apr 9, 2023
1 parent 6797e47 commit 80a1238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/check_release_notes.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import sys
from pathlib import Path

for rst in Path("docs/releasenotes/").rglob("[1-9]*.rst"):
for rst in Path("docs/releasenotes").glob("[1-9]*.rst"):
if "TODO" in open(rst).read():
sys.exit(f"Error: remove TODO from {rst}")

0 comments on commit 80a1238

Please sign in to comment.