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
In fix_code, filter_useless_pass is always called.
But, it would be nice to be able to remove unused import statements without modifying pass statements, and to control removal of pass statements separately.
The text was updated successfully, but these errors were encountered:
Ah, that's right! Yep, if that pull request can be modified to add pass statements where they're required when imports are removed, and also keep useless pass statements elsewhere, that would be what I had in mind with this issue.
adhikasp
added a commit
to adhikasp/autoflake
that referenced
this issue
Aug 25, 2017
In
fix_code
,filter_useless_pass
is always called.But, it would be nice to be able to remove unused import statements without modifying pass statements, and to control removal of pass statements separately.
The text was updated successfully, but these errors were encountered: