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
Can't get VSCode to apply unsafe fixes on save automatically even though unsafe-fixes = true in pyproject.toml. Manually running ruff check applies all fixes as expected.
Can't get VSCode to apply unsafe fixes on save automatically even though
unsafe-fixes = true
inpyproject.toml
. Manually runningruff check
applies all fixes as expected.settings.json
:pyproject.toml
test.py
Expected result:
Mapping
import is automatically moved into a newly created type-checking block.Actual result: nothing happens.
OS: Ubuntu 22.04.5
VSCode: 1.96.4
Extension: 2025.2.0
Python: 3.9
Ruff: 0.9.2
The text was updated successfully, but these errors were encountered: