Skip to content

Commit

Permalink
Sort the passed arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Nov 27, 2023
1 parent b02d448 commit bc8ed05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codespell_lib/_codespell.py
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@ def main(*args: str) -> int:
return EX_USAGE

bad_count = 0
for filename in options.files:
for filename in sorted(options.files):
# ignore hidden files
if is_hidden(filename, options.check_hidden):
continue
Expand Down

0 comments on commit bc8ed05

Please sign in to comment.