From 7c82a55e1925d800f6cf1bb31d4e95a376d94782 Mon Sep 17 00:00:00 2001 From: JHertz5 Date: Thu, 24 Oct 2024 22:13:45 +0100 Subject: [PATCH] Issue#1297: Updated docstrings --- vsg/rules/package_body/rule_502.py | 2 +- vsg/rules/package_body/rule_503.py | 4 ++-- vsg/rules/package_body/rule_504.py | 4 ++-- vsg/rules/package_body/rule_507.py | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/vsg/rules/package_body/rule_502.py b/vsg/rules/package_body/rule_502.py index 609f98a0..8b411bcd 100644 --- a/vsg/rules/package_body/rule_502.py +++ b/vsg/rules/package_body/rule_502.py @@ -9,7 +9,7 @@ lTokens.append(token.package_body.package_simple_name) class rule_502(token_case_with_prefix_suffix): """ - This rule checks the package name has proper case in the package declaration. + This rule checks the package name has proper case in the package body declaration. |configuring_uppercase_and_lowercase_rules_link| diff --git a/vsg/rules/package_body/rule_503.py b/vsg/rules/package_body/rule_503.py index d8582463..027c26d7 100644 --- a/vsg/rules/package_body/rule_503.py +++ b/vsg/rules/package_body/rule_503.py @@ -17,13 +17,13 @@ class rule_503(token_case): .. code-block:: vhdl - package fifo_pkg IS + package body fifo_pkg IS **Fix** .. code-block:: vhdl - package fifo_pkg is + package body fifo_pkg is """ def __init__(self): diff --git a/vsg/rules/package_body/rule_504.py b/vsg/rules/package_body/rule_504.py index 32117809..3ffb26dc 100644 --- a/vsg/rules/package_body/rule_504.py +++ b/vsg/rules/package_body/rule_504.py @@ -17,13 +17,13 @@ class rule_504(token_case): .. code-block:: vhdl - END package fifo_pkg; + END package body fifo_pkg; **Fix** .. code-block:: vhdl - end package fifo_pkg; + end package body fifo_pkg; """ def __init__(self): diff --git a/vsg/rules/package_body/rule_507.py b/vsg/rules/package_body/rule_507.py index e06052a6..c93515eb 100644 --- a/vsg/rules/package_body/rule_507.py +++ b/vsg/rules/package_body/rule_507.py @@ -9,7 +9,7 @@ lTokens.append(token.package_body.end_package_simple_name) class rule_507(token_case_with_prefix_suffix): """ - This rule checks the package name has proper case on the end package declaration. + This rule checks the package name has proper case on the end package body declaration. |configuring_uppercase_and_lowercase_rules_link| @@ -23,7 +23,7 @@ class rule_507(token_case_with_prefix_suffix): .. code-block:: vhdl - end package fifo_pkg; + end package body fifo_pkg; """ def __init__(self):