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
Changing code for the user doesn't seem in the spirit of how flake8 is supposed to work though, so I don't think this is the best place to implement such behavior. Luckily some work has been done to port the logic to ruff, including some automatic fixing already, I believe.
Looking at the current state of things, I think ruff just needs to finish implementing TC100/TC101 and TC200/TC201 for it to work properly. Without those, the plugin can produce code that might fail at runtime.
Hi, It would be great if there was an option to move an import into a type checking block automatically if it detects an issue.
The text was updated successfully, but these errors were encountered: