Skip to content

Commit 3cfe932

Browse files
committed
Sort items in yield_top_level for better reproducibility
1 parent 639b93d commit 3cfe932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/vendored.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def yield_top_level(name):
175175
vendor = Path(f"{name}/_vendor")
176176
ignore = {"__pycache__", "__init__.py", ".ruff_cache"}
177177

178-
for item in vendor.iterdir():
178+
for item in sorted(vendor.iterdir()):
179179
if item.name in ignore:
180180
continue
181181
if item.is_dir() and item.suffix != ".dist-info":

0 commit comments

Comments
 (0)