You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If --isort is enabled, neither the extra whitespace in brackets are deleted, nor the imports are sorted.
If --isort is disabled, the extra whitespace in brackets are deleted, as expected
Expected behavior
formatting should work, with --isort enabled
Environment (please complete the following information):
OS: macos
Python version 3.7.10
Git version 2.20.1
Darker version 1.7.1
Black version 23.3.0
other reformatter and linter versions isort 4.3.21
The text was updated successfully, but these errors were encountered:
I wonder if there's a way to see Darker terminal output in VSCode? Maybe that would reveal the problem, and if not, maybe adding -v or -vv would tell us more?
@akaihola I cannot reproduce it anymore. I updated VSCode, then the issue disappeared, I went back to the old VSCode version, but the issue did not come back anymore.
So, I close this issue and open a new one, if I face it again.
Thanks for your support, Stephan
Describe the bug
Using VSCode format-on-save with isort, the saved file won't be changed.
Without isort, it works as expected
To Reproduce
Steps to reproduce the behavior:
using the following settings in VSCode
simple code for testing the behaviour:
should result into
If
--isort
is enabled, neither the extra whitespace in brackets are deleted, nor the imports are sorted.If
--isort
is disabled, the extra whitespace in brackets are deleted, as expectedExpected behavior
formatting should work, with
--isort
enabledEnvironment (please complete the following information):
isort
4.3.21The text was updated successfully, but these errors were encountered: