From da2192e2127e7be2e11565c3efe30d5a1fbbbd87 Mon Sep 17 00:00:00 2001 From: JHertz5 Date: Sat, 21 Dec 2024 18:25:07 +0000 Subject: [PATCH] Issue#1364: Minor simplifications in package instantiation rules. --- vsg/rules/package_instantiation/rule_502.py | 4 ++-- vsg/rules/package_instantiation/rule_503.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/vsg/rules/package_instantiation/rule_502.py b/vsg/rules/package_instantiation/rule_502.py index eee87963..ca3ceff4 100644 --- a/vsg/rules/package_instantiation/rule_502.py +++ b/vsg/rules/package_instantiation/rule_502.py @@ -1,13 +1,13 @@ # -*- coding: utf-8 -*- from vsg import token -from vsg.rules import token_case_with_prefix_suffix +from vsg.rules import token_case lTokens = [] lTokens.append(token.package_instantiation_declaration.is_keyword) -class rule_502(token_case_with_prefix_suffix): +class rule_502(token_case): """ This rule checks the **is** keyword has proper case. diff --git a/vsg/rules/package_instantiation/rule_503.py b/vsg/rules/package_instantiation/rule_503.py index 1b6d9dc8..c24d2fa5 100644 --- a/vsg/rules/package_instantiation/rule_503.py +++ b/vsg/rules/package_instantiation/rule_503.py @@ -1,13 +1,13 @@ # -*- coding: utf-8 -*- from vsg import token -from vsg.rules import token_case_with_prefix_suffix +from vsg.rules import token_case lTokens = [] lTokens.append(token.package_instantiation_declaration.new_keyword) -class rule_503(token_case_with_prefix_suffix): +class rule_503(token_case): """ This rule checks the **new** keyword has proper case.