Skip to content

Commit c686ee2

Browse files
committed
ci(check_files): use sorted list of files
Use a sorted list of files so the output is more deterministic. Purely cosmetic. True randomness would actually improve our search times here. Signed-off-by: Randolph Sapp <rs@ti.com>
1 parent 255eaac commit c686ee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/check_files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
logger = logging.getLogger(__name__)
1414

1515
SOURCE_PATH = Path("source/")
16-
RST_SOURCE = set(SOURCE_PATH.glob("**/*.rst"))
16+
RST_SOURCE = sorted(SOURCE_PATH.glob("**/*.rst"))
1717
IGNORED = re.compile(r"([^_].*\.rst)|(version\.txt)")
1818

1919

0 commit comments

Comments
 (0)