Commit d7390027 authored by Eric Duminil's avatar Eric Duminil
Browse files

Sorting output files

parent d158bafc
...@@ -181,7 +181,7 @@ def _get_all_files(folder: Path) -> dict[Path, float]: ...@@ -181,7 +181,7 @@ def _get_all_files(folder: Path) -> dict[Path, float]:
def _compare_written_files(repo_path: Path, before: dict, after: dict) -> list[Path]: def _compare_written_files(repo_path: Path, before: dict, after: dict) -> list[Path]:
modified = [] modified = []
log.info("# Listing written files:") log.info("# Listing written files:")
for result_file, mtime in after.items(): for result_file, mtime in sorted(after.items()):
if mtime > before.get(result_file, 0): if mtime > before.get(result_file, 0):
log.info(" * '%s'", result_file.relative_to(repo_path)) log.info(" * '%s'", result_file.relative_to(repo_path))
modified.append(result_file) modified.append(result_file)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment