Skip to content

fix: make sure isort skips over files listed as such in the pyproject.toml tool configuration #968

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jenstroeger
Copy link
Owner

Thing is, we invoke isort via the pre-commit git hooks and that hook passes a list of files to isort in the command line. We now have to tell isort to filter those files by the settings in the configuration or else all files will be sorted. For details see the Filter files section in the isort docs.

@jenstroeger jenstroeger requested a review from behnazh as a code owner July 2, 2025 12:16
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.

1 participant