Skip to content

Commit

Permalink
Allow --diff to be used with --jobs
Browse files Browse the repository at this point in the history
Fix the bug reported in #2216 where
`--diff` is ignored when `--jobs` is non-zero.

All credit for this fix goes to @ian-h-chamberlain, who reported the bug
and found where the fix needed to be applied.
  • Loading branch information
mnakama committed Oct 24, 2024
1 parent 7de1829 commit 8cd9504
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions isort/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1200,6 +1200,7 @@ def main(argv: Optional[Sequence[str]] = None, stdin: Optional[TextIOWrapper] =
config=config,
check=check,
ask_to_apply=ask_to_apply,
show_diff=show_diff,
write_to_stdout=write_to_stdout,
extension=ext_format,
config_trie=config_trie,
Expand Down

0 comments on commit 8cd9504

Please sign in to comment.