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

vscode-isort is ignoring files ignored by .gitignore #421

Open
umarbutler opened this issue Dec 23, 2024 · 1 comment
Open

vscode-isort is ignoring files ignored by .gitignore #421

umarbutler opened this issue Dec 23, 2024 · 1 comment
Labels
bug Issue identified by VS Code Team member as probable bug triage-needed Issue is not triaged.

Comments

@umarbutler
Copy link

If I'm working in benches/bench.py and my .gitignore excludes benches/ then isort is refusing to sort my imports in bench.py and it only resolves when I remove the exclusion of benches/ from my .gitignore. I don't recall this begin the default behaviour...

@umarbutler umarbutler added the bug Issue identified by VS Code Team member as probable bug label Dec 23, 2024
@github-actions github-actions bot added the triage-needed Issue is not triaged. label Dec 23, 2024
@karthiknadig
Copy link
Member

We don’t control this behavior. Try from command line, if the issue exists in then you should file this on the isort library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug triage-needed Issue is not triaged.
Projects
None yet
Development

No branches or pull requests

2 participants