Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to restrict which directories isort works against #1967

Merged
merged 1 commit into from
Jan 26, 2023

Conversation

vkomarov-r7
Copy link
Contributor

This is useful if certain parts of the code are isort compatible,
while others might not be. This happened with us when resolving merges,
which caused hooks to inadvertently sort imports of parts of the code
that aren't (yet) compatible with isort, leading to unclean diffs/PRs.

This is useful if certain parts of the code are `isort` compatible,
while others might not be. This happened with us when resolving `merges`,
which caused hooks to inadvertently sort imports of parts of the code
that aren't (yet) compatible with `isort`, leading to unclean diffs/PRs.
@timothycrosley timothycrosley merged commit ae0cc1c into PyCQA:main Jan 26, 2023
@vkomarov-r7 vkomarov-r7 deleted the feature/directory-hooks branch January 27, 2023 18:10
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.

2 participants