github PyCQA/isort 9.0.2

2 hours ago

🪲 Fixes

  • Preserve blank lines before comment-only sections by @fzlzjerry in #2655
  • Preserve trailing-comma layout when sorting reexports by @PSR94 in #2605
  • fix: treat EOF on stdin as 'quit' in --interactive prompt by @Eljees in #2653
  • Fix multi_line_output=10 emitting unparsable code around trailing comments by @dylanpulver in #2651
  • Stop configuration discovery at Git worktree boundaries by @vzer200 in #2654
  • fix: preserve trailing comments when sorting literals by @Manny7717 in #2647
  • Preserve LF stdin output on Windows by @AleksZyro in #2616
  • Handle star imports better when using parenthesis by @DanielNoord in #2665
  • Sort unwrapped lines in force_sort_within_sections by @DanielNoord in #2667
  • Preserve file line endings when sorting reexports by @vyrnsynx in #2669
  • Fix float_to_top hoisting indented semicolon imports by @Pajimo in #2671
  • Preserve CRLF blank lines during float-to-top preprocessing by @hansu650 in #2683
  • mypy: type-check tests and use pathlib fixtures by @DanielNoord in #2685

Other changes

Full Changelog: 9.0.1...9.0.2

Don't miss a new isort release

NewReleases is sending notifications on new releases.