Skip to content

Commit

Permalink
Sort items in yield_top_level for better reproducibility
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed May 10, 2024
1 parent 639b93d commit 3cfe932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/vendored.py
Expand Up @@ -175,7 +175,7 @@ def yield_top_level(name):
vendor = Path(f"{name}/_vendor")
ignore = {"__pycache__", "__init__.py", ".ruff_cache"}

for item in vendor.iterdir():
for item in sorted(vendor.iterdir()):
if item.name in ignore:
continue
if item.is_dir() and item.suffix != ".dist-info":
Expand Down

0 comments on commit 3cfe932

Please sign in to comment.