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

Empty __init__.py files are ignored #13

Open
sobolevn opened this issue Jul 15, 2018 · 2 comments
Open

Empty __init__.py files are ignored #13

sobolevn opened this issue Jul 15, 2018 · 2 comments
Labels

Comments

@sobolevn
Copy link
Contributor

sobolevn commented Jul 15, 2018

Thanks for this plugin. It is really useful!

We have configured it like so:

accept-encodings = utf-8

But, when creating empty __init__.py file and running flake8 check, there is no error.
Magic comment is missing from __init__.py.

So, this is a bug report.

@tk0miya
Copy link
Owner

tk0miya commented Jul 22, 2018

I think magic comment is not needed for empty files because it does not have any content.
I did it intentionally.

@sobolevn
Copy link
Contributor Author

So, can we make it configurable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants