Commit Graph

1233 Commits

Author SHA1 Message Date
Jeremiah Leary 09b7a9666b Updates for issue #384:
Fixing issue where VSG was classifying <= in an assert statement.

  1)  Added tests to show the issue
  2)  Updated code to address the issue
2020-05-07 21:38:11 -05:00
Jeremiah Leary a3a3c68721 Updates for issue #383:
VSG was considering an 'end if' in a procedure to be the 'end procedure'.

  1)  Updated tests to reveal issue
  2)  Updated code to make tests pass
2020-05-05 20:41:31 -05:00
Jeremiah Leary 3ea1035b03 Updates for issue #383:
VSG could not handle nested for loops if it was inside a procedure.
The second 'end loop' would also be classified as the 'end procedure'.

  1)  Updated tests to expose issue
  2)  Updated code to make tests pass
2020-05-04 20:06:12 -05:00
Michał Kruszewski ce0ea72234 Small improvement in attribute rules documentation. 2020-05-03 10:55:27 +02:00
Michał Kruszewski fac26da59f Improve whitespace rules documentation. 2020-05-03 10:31:44 +02:00
Michał Kruszewski 911cf3a692 Improve while loops rules documentation. 2020-05-03 10:29:45 +02:00
Michał Kruszewski a2a667cd12 Improve variable assignment rules documentation. 2020-05-03 09:57:27 +02:00
Michał Kruszewski 22d31bf2a1 Improve variable rules documentation. 2020-05-03 09:54:48 +02:00
Michał Kruszewski a092dad58b Improve type rules documentatin. 2020-05-03 09:36:36 +02:00
Michał Kruszewski b993c92871 Improve subtype rules documentation. 2020-05-03 09:24:33 +02:00
Michał Kruszewski f6b0b629b9 Improve signal rules documentation. 2020-05-03 09:15:15 +02:00
Michał Kruszewski 9e50b7129f Improve range rules documentation. 2020-05-03 09:00:44 +02:00
Michał Kruszewski d821a00de0 Improve process rules documentation. 2020-05-03 08:54:02 +02:00
Michał Kruszewski 67b5d52150 Improve documentation of procedure rules. 2020-05-03 08:18:42 +02:00
Jeremiah Leary 6056c9df9d Updates for issue #382:
VSG was classifying the when keyword in a sequential assignment as a case when keyword.

  1)  Updated tests to detect the issue
  2)  Updated code to make test pass
2020-05-01 18:36:23 -05:00
Jeremiah Leary dd80a6b1fc Updates for issue #381:
The rule_list was not using the _get_solution() method on the rule class to get the solution when generating JUnit files.
2020-05-01 18:22:12 -05:00
Jeremiah Leary 88ee68bf72 Updates for issue #380:
The 'end loop' was being misclassified as the end of a procedure.
This would result in a cascade of issues in the fixed code.

  1)  Updated tests to include a for loop within a procedure within an architecture declarative region to replicate the issue
  2)  Updated code to not classify the 'end loop' as the end of a procedure.
2020-04-30 10:30:07 -05:00
Jeremiah Leary cafe651a15 Updates for issue #379:
Rule process_019 was not honoring records.

  1)  Updated tests
  2)  Updated clock detection
  3)  Update rule process_019
2020-04-27 20:20:51 -05:00
Michał Kruszewski 920db58148 Improve documentation of Generic Rules. 2020-04-08 10:35:34 +02:00
Michał Kruszewski 3afe6961ae Improve Generate Rules documentation. 2020-04-08 10:17:00 +02:00
Michał Kruszewski b21b00e1e4 Improve documentation of component_009. 2020-04-07 10:51:57 +02:00
Michał Kruszewski 2785ecbd82 Improve documentation of File Rules. 2020-04-07 10:49:58 +02:00
Michał Kruszewski cd11cf6973 Improve documentation of comment rules. 2020-04-07 10:48:56 +02:00
Michał Kruszewski 1e0c2d48c4 Improve Function Rules documentation. 2020-04-07 10:44:19 +02:00
Michał Kruszewski 8002817c8f Improve documentation of For Loop Rules. 2020-04-07 10:37:46 +02:00
Michał Kruszewski 4d033ffae4 Improve entity rules documentation.
Make entity rules documentation more
consistent with default rules settings.
2020-04-07 09:51:16 +02:00
m-kru 25b715b767
Merge pull request #376 from m-kru/master
Improve component rules documentation.
2020-04-06 21:07:22 +02:00
Michał Kruszewski 9308f1f6fa Fix component rules documentation. 2020-04-06 20:34:27 +02:00
Jeremiah Leary bdbfc4fea0
Merge pull request #372 from m-kru/master
Improve architecture rules documentation.
2020-04-06 08:10:23 -05:00
Michał Kruszewski acaddc02cb Improve architecture rules documentation. 2020-04-06 09:44:41 +02:00
m-kru c23027c7dc
Merge pull request #371 from m-kru/master
Adjust prefix/suffix rules to lowercase.
2020-04-03 17:53:09 +02:00
Michał Kruszewski db485d1842 Adjust prefix/suffix rules to lowercase. 2020-04-03 17:39:47 +02:00
Michał Kruszewski e33c21d87a Minor documentation changes. 2020-04-03 16:08:04 +02:00
Jeremiah Leary a51b85acae
Merge pull request #363 from jeremiah-c-leary/issue-362
Updates for issue #362:
2020-04-01 21:15:11 -05:00
Jeremiah C Leary 6b4a45791d Updates for issue #362
Changing utils.get_violation_linenumber to utils.get_violation_line_number.
2020-04-01 21:11:38 -05:00
Jeremiah C Leary e60c516548 Updates for Codacy and Codeclimate issues 2020-03-31 21:34:38 -05:00
Jeremiah C Leary 01746e70ea Merge branch 'master' into issue-362 2020-03-31 21:16:50 -05:00
Jeremiah Leary fc2958d9a8
Merge pull request #366 from m-kru/lowercase
Set the default case to lowercase for all case rules.
2020-03-31 20:30:52 -05:00
Jeremiah C Leary b9abdf8a57 Updates for issue #362:
Updated rules to use consistent violation dictionary:

  1)  Updated check.indent_of_comments_above to use the violation dictionary
  2)  Updated rules to use the violation dictionary
  3)  Updated tests
2020-03-31 20:09:51 -05:00
Michał Kruszewski b6226ecb7d Set the default case to lowercase for all case rules. 2020-03-29 21:26:15 +02:00
Jeremiah C Leary 725dd544ee Merge branch 'master' into issue-362
Pulling in latest changes from master to avoid rework.
2020-03-29 13:27:19 -05:00
Jeremiah C Leary 7d85a98db4 Updates for issue #362:
Interim commit to move all rules to new violation dictionary format.
2020-03-29 13:09:38 -05:00
Jeremiah Leary 79fce00c0a
Merge pull request #358 from jeremiah-c-leary/issue-354
Merging in this pull request.  Issue #362 will perform final cleanup on some issues identified in this pull request.
2020-03-29 10:37:19 -05:00
Jeremiah C Leary e6d691ca06 Updates for issue #362:
Adding documentation for the violation dictionary.
2020-03-29 08:46:48 -05:00
m-kru 7105206ec4
Merge pull request #361 from m-kru/master
Move comment rules 008 and 009 to if rules 032 and 033.
2020-03-29 12:59:52 +02:00
Michał Kruszewski 9cab593876 Move comment rules 008 and 009 to if rules 032 and 033. 2020-03-29 12:46:52 +02:00
m-kru e2c42b3c8d
Merge pull request #360 from m-kru/master
Move comment rule 005 to case rule 021.
2020-03-29 12:03:19 +02:00
Michał Kruszewski d90e126c87 Move comment rule 005 to case rule 021. 2020-03-29 11:40:03 +02:00
m-kru fd571f12fb
Merge pull request #359 from m-kru/master
Move comment rule 001 to library rule 009.
2020-03-29 11:11:25 +02:00
Michał Kruszewski 1ba47f234c Move comment rule 001 to library rule 009. 2020-03-29 09:21:15 +02:00