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
I came across an issue introduced by version 5.2.1 where it would raise an error for a repo with symlinks to Python packages.
Traceback (most recent call last):
File ".../bin/isort", line 8, in<module>sys.exit(main())
File ".../isort/main.py", line 829, in main
forsort_attemptin attempt_iterator:
File ".../isort/main.py", line 818, in<genexpr>
sort_imports( # type: ignore
File ".../isort/main.py", line 125, in iter_source_code
dirnames.remove(dirname)
ValueError: list.remove(x): x not in list
isort 5.2.0 runs fine on the repo, 5.2.1 raises the above error. All versions after 5.2.0 (including 5.4.2) raise the same error.
The text was updated successfully, but these errors were encountered:
I came across an issue introduced by version 5.2.1 where it would raise an error for a repo with symlinks to Python packages.
isort
5.2.0 runs fine on the repo, 5.2.1 raises the above error. All versions after 5.2.0 (including 5.4.2) raise the same error.The text was updated successfully, but these errors were encountered: