Skip to content

Commit 72d0391

Browse files
committed
Issue#1489: Minor code simplification.
1 parent d75437c commit 72d0391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vsg/rules/whitespace/rule_005.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def _analyze(self, lToi):
5252
oRight = lTokens[-2]
5353
if isinstance(oRight, parser.whitespace):
5454
if not utils.token_is_whitespace_or_comment(lTokens[-1]):
55-
if not (lTokens[-1].get_value().isnumeric() and (self.ignore_spaces_before_numbers == True)):
55+
if not (lTokens[-1].get_value().isnumeric() and self.ignore_spaces_before_numbers):
5656
oViolation = violation.New(iLine, oToi, self.solution)
5757
self.add_violation(oViolation)
5858

0 commit comments

Comments
 (0)