Skip to content

Conversation

@drafear
Copy link
Member

@drafear drafear commented May 10, 2023

Resolves #36

@Jannchie
Copy link
Member

Jannchie commented Jul 28, 2024

I encountered the same issue, and I hope this PR can be merged.

return 0

cmd = ["isort", "--settings-path", str(setting_path)]
cmd = ["isort", "--settings-path", str(setting_path), "--src", str(base_dir)]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isort==4 does not seem to support --src option. We may need to check isort's version in the same manner to --recursive option.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

base_dir may not what you want. it is not the source directory.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

isort does not recognize first party correctly

3 participants