timothycrosley / deprecated.frosted

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

Question: why skipping __init__.py by default? #29

Closed aelgru closed 10 years ago

aelgru commented 10 years ago

The production code of one of my projects consists of only one __init__.py file right now. I don't understand why frosted ignores __init__.py by default.

timothycrosley commented 10 years ago

@aelgru, the reason it ignores init.py is because generally this file is "special" often importing stuff without using it for the propose of exposing an API. That said, I agree this isn't ideal. Ill update frosted in the next release to include init.py but to ignore unused imports within this file by default.

Thanks!

Timothy

timothycrosley commented 10 years ago

Fixed in release 1.3.0

Thanks!

~Timothy