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
With the following setup isort claims to fix the imports on every run despite never changing anything:
.isort.cfg
[settings]
known_third_party=local_lib
import_heading_thirdparty=related third party imports
test.py
# standard library imports
import sys
try:
# Comment about local lib
# related third party imports
from local_lib import stuff
except ImportError as e:
pass
Rerun isort
$ isort .
Fixing test.py
I am not sure why this is happening but it can be fixed by
removing the comment
using a std lib import instead of local_lib
isort version 5.5.0
The text was updated successfully, but these errors were encountered:
With the following setup isort claims to fix the imports on every run despite never changing anything:
.isort.cfg
test.py
Rerun isort
I am not sure why this is happening but it can be fixed by
isort version 5.5.0
The text was updated successfully, but these errors were encountered: