-
-
Notifications
You must be signed in to change notification settings - Fork 587
New issue
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
Long imports and noqa #2291
Comments
I'm not able to reproduce locally using isort 5.13.2. I recommend closing this issue. Thanks! |
@DanielNoord This issue is not reproducible. I recommend closing this issue. |
I see in your diff output that the file you're testing is larger than just the two lines that you originally posted. Please confirm that you can reproduce using these steps:
If so, please provide the full ( |
@DanielNoord I'm able to reproduce this now. The issue is valid and needs to be reopened -- isort has non-idempotent behavior. @matan1008 You were changing the file between For others' benefit, the full file is:
and the full steps to reproduce are:
|
Hola,
I have an import from the following format:
When running
isort . -m HANGING_INDENT -l 120 --check-only --combine-as --df
it prints:Running
isort . -m HANGING_INDENT -l 120 --check-only --combine-as --df
again, it prints:Besides of the strange behavior that yields two different formattings, the second one missing the noqa.
The text was updated successfully, but these errors were encountered: