* Updates for issue #542: Rule comment_010 was firing after block_comment rules were ran: 1) Updated indent logic to take block comments into consideration 2) Added attributes to comment class to indicate if it is a block comment 3) Updated tests 4) Simplified extractor 5) Added method to token_map * Refactoring functions to reduce duplication and complexity. * Removing trailing whitespace. * Removing excess blank lines. * Refactoring to remove identical code. * Refactoring to reduce complexity. * Refactoring to reduction complexity. * Refactoring to improve readability. * Reverting to previous utils.py due to inadvertant commit. * Refactoring block_comment_002 to reduce complexity and improve readability. * Refactored block_comment_002 to reduce complexity. * Refactoring block_comment_002 to reduce complexity. * Refactoring block_comment_002 to improve readability. * Refactoring to improve readability. * Moving _analyze from block_comment_002 and block_comment_003 into base block_rule. * Minor formatting updates. * Updated base rule to ignore leading and trailing vsg code tags. * Forcing tags of vsg_on to be applied on the next token. * Refactoring methods to make them more readable. |
||
|---|---|---|
| .. | ||
| ' | ||
| __init__.py | ||
| preamble_doc.rst | ||
| rule_001.py | ||
| rule_002.py | ||
| rule_003.py | ||