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

__init__ for metaclasses #79

Closed
csira opened this issue Oct 6, 2015 · 1 comment
Closed

__init__ for metaclasses #79

csira opened this issue Oct 6, 2015 · 1 comment

Comments

@csira
Copy link

csira commented Oct 6, 2015

N805 popping up for init methods in metaclasses, whose first argument is generally "cls".

screen shot 2015-10-06 at 7 15 18 am

Thanks for taking a look!

@dreadatour
Copy link
Owner

It seems there is a bug in pep8-naming and author did not want to fix it. See this Issue: PyCQA/pep8-naming#3 in pep8-naming repository.

You could add this error (N805) to ignore list (I prefer this way) or add a "noqa" comment to this line (but this is not good practice).

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

2 participants