We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d75437c commit 72d0391Copy full SHA for 72d0391
vsg/rules/whitespace/rule_005.py
@@ -52,7 +52,7 @@ def _analyze(self, lToi):
52
oRight = lTokens[-2]
53
if isinstance(oRight, parser.whitespace):
54
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)):
+ if not (lTokens[-1].get_value().isnumeric() and self.ignore_spaces_before_numbers):
56
oViolation = violation.New(iLine, oToi, self.solution)
57
self.add_violation(oViolation)
58
0 commit comments