Updated base rule blank_line_above_line_starting_with_token to include comments and blank lines.
1) Updated tests
2) Removed existing options allow_comments and blank_line_above_comment
3) Added option method
4) Updated base rule to use method
Adding ability to add or remove optional keywords.
1) Updated base rules to allow for removal of keywords
2) Changed default of instantiation_033 to add the keyword
3) Updated tests
4) Updated documentation
1) Updated blank line above/below rules to default to not allow comments
a) Set several tests which already allowed comments to allow comments
b) Updated documentation
c) Added documentation for configuring blank line rules
2) Fixed generate_011
a) Now handles all three types of generates
b) Handles nested generates
1) Added rule function_016 to handle return statements in functions
a) Updated documentation
b) Created tests
c) Added rule
2) Updated rules to match existing jcl style output
Adding rules to align declaration identifiers:
1) Updated documentation
2) Removed the following rules
file_003, constant_003, attribute_003, signal_003, subtype_003, type_003 and variable_003
3) Added new rules:
architecture_029, function_015, package_019, procedure_010 and process_037
4) Added tests for new rules
5) Updated classifiers to support new rules
The rule process_031 was attempting to align variables defined in function and procedures with variables outside functions and procedures in the process declarative region.
1) Updated tests to expose issue
2) Fixed to make tests pass
Additional issue found with handling indents on processes with just 'process is' when updating tests.
1) Fixed code to make tests pass
utils.extract_label will now extract a label from the beginning or end of a line.
It calls either utils.extract_begin_label or utils.extract_end_label.
Issue #314:
Updated all label rules to use utils.extract_label or utils.extract_end_label:
1) Added utils.extract_end_label
2) Added more end label attributes to line.py
3) Updated classifiers to set the new end label attributes
4) Updated tests
5) Updated rules to use utils.extract_label or utils.extract_end_label
Issue #333:
Fixed bug where nested generate labels were not updated correctly:
1) Added test case
2) Updated code
Switched self.dFix in process_018 to use dViolation.
1) Added additional test case
2) Updated code
3) Updated existing test case
4) Added function to test.utils to add the proper formatting of violations during the check.