pep8-naming does not allow functions starting or ending with a dunder (__). This is not something that is disallowed by PEP8 and I think this rule should be removed. However if this check remains then it should be moved to it's own check and should not be part of the more general "functions should be lowercase" check so that people can disable it in their own projects without disabling the useful lowercase function check.
👍 I also think dunder methods shouldn't be banned by default and even if they are the check should be coded separately from the lowercase name check.
Dunder functions really shouldn't be marked in this check.
I do believe a separate check for this is useful because, by themselves, dunder functions have absolutely no different meaning from functions with a single underscore and thus are redundand.
Since PEP-8 doesn't have a stance regarding those, the check should probably be disabled by default?