Skip to content
Snippets Groups Projects
Commit ecdf109c authored by Paul van der Linden's avatar Paul van der Linden
Browse files

fix ignore bug in class names

parent 9c2a8d9c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -225,6 +225,8 @@ class ClassNameCheck(BaseASTCheck):
N801 = "class name '{name}' should use CapWords convention"
 
def visit_classdef(self, node, parents, ignore=None):
if ignore and node.name in ignore:
return
if not self.check(node.name):
yield self.err(node, 'N801', node.name)
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment