timothycrosley / deprecated.frosted

A simple program which checks Python source files for errors.
MIT License
250 stars 23 forks source link

Ignore imports placed at the bottom of the file #54

Open char101 opened 10 years ago

char101 commented 10 years ago

Hi,

Is is possible to ignore non-used imports placed at the bottom of the file, since I think it's pretty clear that these imports are used solely to include symbols into the module globals.

I know that I can list these symbols into __all__ but it means duplication and also __all__ is for import * which itself is not a recommended style.