Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable warnings for unused imports in files named __init__.py #2211

Open
zaroth opened this issue Feb 27, 2015 · 3 comments
Open

Disable warnings for unused imports in files named __init__.py #2211

zaroth opened this issue Feb 27, 2015 · 3 comments

Comments

@zaroth
Copy link

zaroth commented Feb 27, 2015

Files named __init__.py are usually used for providing a cleaner interface of a Python module to end user. Therefore warning about unused imports in these files doesn't serve much purpose except confusion. Example of said confusion.

@ccordoba12 ccordoba12 added this to the v2.4 milestone Feb 27, 2015
@ccordoba12
Copy link
Member

Thanks for reporting. We will need to (somehow) blacklist __init__.py files to avoid this problem.

@Nodd
Copy link
Contributor

Nodd commented Apr 7, 2015

Isn't it a pyflakes problem rather than spyder's ?

@ccordoba12
Copy link
Member

Yes, I don't know what we could do (if anything) about it :-)

@ccordoba12 ccordoba12 modified the milestones: v3.1, v3.0 Jul 13, 2015
@ccordoba12 ccordoba12 modified the milestones: todo, Not sorted Oct 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants