Skip to content
Snippets Groups Projects
Unverified Commit 771b0171 authored by Ian Stapleton Cordasco's avatar Ian Stapleton Cordasco Committed by GitHub
Browse files

Merge pull request #60 from pvanderlinden/class-ignore-fix

fix ignore bug in class names
parents dff674dc ecdf109c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -236,6 +236,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