From 330cc57b69b0845075fe06c97bbbdf2c31cae81e Mon Sep 17 00:00:00 2001 From: JHertz5 Date: Sun, 14 Sep 2025 16:20:28 +0100 Subject: [PATCH] Issue#1512: Corrected rule number. --- vsg/rules/variable/__init__.py | 1 + vsg/rules/variable/rule_401.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/vsg/rules/variable/__init__.py b/vsg/rules/variable/__init__.py index 351baaeb..6755b2d8 100644 --- a/vsg/rules/variable/__init__.py +++ b/vsg/rules/variable/__init__.py @@ -17,5 +17,6 @@ from .rule_101 import rule_101 from .rule_102 import rule_102 from .rule_103 import rule_103 from .rule_400 import rule_400 +from .rule_401 import rule_401 from .rule_500 import rule_500 from .rule_600 import rule_600 diff --git a/vsg/rules/variable/rule_401.py b/vsg/rules/variable/rule_401.py index ac331be9..c768e9d3 100644 --- a/vsg/rules/variable/rule_401.py +++ b/vsg/rules/variable/rule_401.py @@ -14,7 +14,7 @@ oStartToken = token.variable_declaration.assignment_operator oEndToken = token.variable_declaration.semicolon -class rule_400(Rule): +class rule_401(Rule): """ This rule checks the alignment of assignment keywords in variable declarations.