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
Is it possible to add a strict version of "fromEnvironment" which does not fall back to the built-in version of ruff if the one from the environment is not found?
I was in a situation today where hitting save (with format-on-save turned on) misformatted my code because I was in the middle of erasing my virtualenv and rebuilding it, and ruff helpfully fell back to the bundled version (which had different behavior than the one from the environment). I would much prefer it fails to format the code and I can re-run the formatting once my venv is back into a reasonable place.
Thanks!
The text was updated successfully, but these errors were encountered:
Is it possible to add a strict version of "fromEnvironment" which does not fall back to the built-in version of ruff if the one from the environment is not found?
I was in a situation today where hitting save (with format-on-save turned on) misformatted my code because I was in the middle of erasing my virtualenv and rebuilding it, and ruff helpfully fell back to the bundled version (which had different behavior than the one from the environment). I would much prefer it fails to format the code and I can re-run the formatting once my venv is back into a reasonable place.
Thanks!
The text was updated successfully, but these errors were encountered: