Skip to content

Commit 6e94289

Browse files
committed
Issue#1479: Formatting.
1 parent 829a679 commit 6e94289

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

vsg/rules/does_token_value_match_one_of.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ def _analyze(self, lToi):
3535
for oToi in lToi:
3636
lTokens = oToi.get_tokens()
3737
sToken = lTokens[0].get_lower_value()
38-
if not self.name_found(sToken) :
38+
if not self.name_found(sToken):
3939
self.add_violation(violation.New(oToi.get_line_number(), oToi, self.solution))
4040

4141
def generate_regexp_names(self):
42-
self.regexp_names= []
42+
self.regexp_names = []
4343
for name in self.names:
4444
regexp = re.compile(name, re.IGNORECASE)
4545
self.regexp_names.append(regexp)
@@ -49,4 +49,3 @@ def name_found(self, sToken):
4949
if regexp.fullmatch(sToken) is not None:
5050
return True
5151
return False
52-

0 commit comments

Comments
 (0)