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
I have this set in my pyproject.toml, and I see the doc states that there are cases that make this unsafe, can someone show me an example of code where this might break something?
The text was updated successfully, but these errors were encountered:
In Python, import a module executes code. If you have code that relies on import size effect, removing the import can break things.
Personally, I think that autoflake should still remove it, and users should use # noqa in cases like that, but I don't feel strongly enough about this to change the default. Changing defaults is always tricky.
I have this set in my pyproject.toml, and I see the doc states that there are cases that make this unsafe, can someone show me an example of code where this might break something?
The text was updated successfully, but these errors were encountered: