We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thank you for the software and congratulations on a major release.
--
I have a file like the following:
""" My docstring """ from b import thing from a import other_thing
If I run isort example.py I expect this file to change to:
isort example.py
""" My docstring """ from a import other_thing from b import thing
However, it changes to:
with isort 5.0.3.
isort
This works as expected with isort 4.3.21.
Also, the newline is not removed when isort does not make sorting changes, so this leaves my codebase inconsistent.
The text was updated successfully, but these errors were encountered:
9bfbdf2
@timothycrosley What a pleasant surprise to see that you have fixed this so quickly 🙏
Sorry, something went wrong.
Thank you for reporting! I'm sorry this issue affected you! A fix has been released with version 5.0.5 of isort.
Thanks!
~Timothy
@timothycrosley This is still an issue when the --add-imports option is used. To replicate:
--add-imports
isort -a 'from foo import bar' example.py
Fix PyCQA#1275 in the case where the --add-imports option was given
f5d9983
Fix second part of #1275, when add_imports is used
fd87001
Successfully merging a pull request may close this issue.
Thank you for the software and congratulations on a major release.
--
I have a file like the following:
If I run
isort example.py
I expect this file to change to:However, it changes to:
with
isort
5.0.3.This works as expected with
isort
4.3.21.--
Also, the newline is not removed when
isort
does not make sorting changes, so this leaves my codebase inconsistent.The text was updated successfully, but these errors were encountered: