Skip to content

skipped path can be removed from dirnames twice #1399

Closed
@magicl

Description

In function iter_source_code, if a path is_skipped, and is also in visited_dirs, it will be removed from dirnames twice.

This happens if you have symbolic links in code, causing loops, and then try to disable these links using the "-s" parameter to isort.

Would be good to have an option to isort to prevent following symbolic links as well.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions