Adding ability for the user to adjust the indenting algorithm.
1) Added documentation
2) Refactored indent algorithm
a) Changed algorithm to use a YAML configuration file
3) Added indent dictionary to -oc output
4) Updated tests to use new YAML configuration file
Adding rules to analyze block comments.
1) Added documentation
2) Added tests
3) Added rules
a) block_comment_001
b) block_comment_002
c) block_comment_003
4) Added new extract method
a) get_consecutive_lines_starting_with_token
Adding rules for alignment of identifiers and colons in generate_statement_body.
1) Added documentation
2) Added tests
3) Added rules
a) generate_400
b) generate_401
c) generate_402
d) generate_403
e) generate_404
f) generate_405
Fixing issue where indenting comments after a library statement was not being set correctly.
1) Updated tests to expose issue
2) Updated indent logic to handle the case correctly
Expanding rules for attributes:
1) Removed current attribute rules
2) Added rules for:
a) attribute_declaration
b) attribute_specification
c) entity_specification
3) Added documentation
4) Added tests
5) Refactored base rules to allow for lists of token types
a) single_space_after_token
b) single_space_before_token
Not all rules were using the rule.add_violation method which enforced code_tags.
1) Updated tests
2) Changed vsg-disable-next-line to vsg_disable_next_line
3) Updated documentation
4) Updated all rules to use the add_violation method
The single_space_after_rule was not taking the end of the line into account when checking for spaces.
1) Updated test to expose the issue
2) Updated base rule single_space_after to allow for a carriage_return after the token
Prefix and suffix rules would fail if uppercase prefixes/suffixes were used.
1) Added tests to expose the issue
2) Updated prefix and suffix base rules to allow upper or lower case.
Adding minimum python requirements when installed from PIP.
The minimum version is now 3.5.
1) Updated README
2) Added python requirement to setup.py file
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
Adding rule to check for length of process.
1) Added documentation
2) Added tests
3) Added rule length_003
4) Added Guideline severity
a) Switched all length rules to guidelines
Adding check for length of file.
1) Documentation updates
a) Added documentation for rule length_002
b) Added section in configuring length rules to cover length_002
2) Added tests
3) Added rule length_002
Multiple sequential signal assignments on a single line should not exist.
1) Added documentation for rule sequential_007
2) Added tests
3) Added rule sequential_007
Added --json command line argument to output violations in JSON format.
1) Added tests
2) Added code to output violations in JSON format
3) Updated documentation
(cherry picked from commit a39839e6466e581900febfc0305ef87adc82b00f)
Added command line option --all_phases to allow VSG to not stop when a violation was found while analyzing a file.
(cherry picked from commit 43d4498815be9ed3187a34409ea06834d7b6dfce)