-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
flake8 F401 error in __init__.py #1551
Comments
Thanks for digging into this! That pyflake issue really explains it well. It still looks like a bug in pyflake to me. We could add |
So, for my opinion, |
@piskvorky @menshikh-iv
How about ignore F401 error for the In Also, If think that noqa is still the better option, I want to close this issue. |
Alright, let's use the |
@zsef123 agree with @piskvorky, let's use noqa explicitly. |
Hi, I'm try to refactoring code style.
In PR #1550
Same case in sklearn_api/init.py
ex )
from .ldamodel import LdaTransformer # noqa: F401
For solve F401 error, add noqa comments or add
__all__
list in__init__.py
file.( pyflake issue , stackoverflow question )Which is better in both cases?
The text was updated successfully, but these errors were encountered: