You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
pikeas
changed the title
Prevent isort from running on .virtualenv files via editor?
Prevent isort from running on virtualenv files via editor?
Sep 25, 2020
Update: this is a bit of a Heisenbug, behavior is different with and without verbose = true! I imagine this is because VS Code isn't equipped to handle the additonal verbose output.
With verbose off, there's no error, but isort continues to (unexpectedly) run.
I have VS Code configured to use isort locally:
When saving a file in the virtualenv directory, isort unexpectedly runs. Here's what VS Code's output pane shows:
The actual error seems potentially related to #1469 but I have confirmed that the version of isort in the virtualenv is the latest 5.5.3.
However, the surprising thing is that isort shouldn't run at all. It doesn't seem to consider https://pycqa.github.io/isort/docs/configuration/options/#skip . I've tried adding skip_gitignore as well (which includes
.venv/
, to no avail.The text was updated successfully, but these errors were encountered: