Commit Graph

276 Commits

Author SHA1 Message Date
Michał Kruszewski acaddc02cb Improve architecture rules documentation. 2020-04-06 09:44:41 +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 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 01746e70ea Merge branch 'master' into issue-362 2020-03-31 21:16:50 -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 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
Michał Kruszewski 9cab593876 Move comment rules 008 and 009 to if rules 032 and 033. 2020-03-29 12:46:52 +02:00
Michał Kruszewski d90e126c87 Move comment rule 005 to case rule 021. 2020-03-29 11:40:03 +02:00
Michał Kruszewski 1ba47f234c Move comment rule 001 to library rule 009. 2020-03-29 09:21:15 +02:00
Jeremiah C Leary 946bef5ed0 Updates for issue #354:
Changing "Violations" to "Rule" in header.
2020-03-27 07:30:29 -05:00
Jeremiah C Leary 3e0da792b2 Updates for issue #354:
Adding link to online documentation.
2020-03-25 16:58:37 -05:00
Jeremiah C Leary a63a30900c Updates for issue #354
Updated usage documentation to show new output format.
Fixed bug where VSG would crash if there was not a violation found.
2020-03-25 16:45:45 -05:00
Jeremiah C Leary 4437e19f37 Updates for issue #354
Changed VSG output format to improve readability:

  1)  Updated documentation
  2)  Refactored rule and rule_list to move reporting to new report module
      a)  Removed rule.report_violations method
      b)  Added rule.get_violations_at_line method
  3)  Added vsg.report module
      a)  Added individual VSG and syntastic output files
  4)  Updated tests
2020-03-25 16:34:22 -05:00
Jeremiah Leary a3c28f1807
Merge pull request #357 from jeremiah-c-leary/issue-344
Merging in solution to Issue 344
2020-03-21 11:08:03 -05:00
Michał Kruszewski 0f0ec0f47c Refactor keyword alignment rules - part 2. 2020-03-17 11:22:25 +01:00
Jeremiah C Leary b2c2228ba1 Updates for issue #344
Added ability to set rule individual rule configurations.

  1)  Updated documentation
  2)  Updated parsing of configuration files to handle individual rule configurations.
2020-02-28 07:24:26 -06:00
Michał Kruszewski 2f08a64bda Refactor keyword alignment rules. 2020-02-24 21:14:44 +01:00
Jeremiah C Leary 777661841a Fixing headers in documentation. 2020-02-23 19:55:26 -06:00
Jeremiah C Leary 4986454772 Updates for issue #332
Single line concurrent statements are allowed as long as there is only one **else** keyword:

  1)  Updated documentation for rule concurrent_007
  2)  Created new tests
  3)  Updated existing tests
  4)  Updated rule concurrent_007 to allow for single line statements
  5)  Updated rule concurrent_007 to handle lines with multiple **else** keywords
2020-02-23 16:36:34 -06:00
Jeremiah C Leary 02d45aa813 Updating process rules that deal with upper and lower case to point to documentation on how to configure the rules for case. 2020-02-23 10:50:28 -06:00
Jeremiah C Leary 4c962c9bc6 Updates for issue #339:
The configuration of a single rule can be requested:

  1)  Added tests
  2)  Updated documentation
  3)  Updated code
2020-02-22 17:53:31 -06:00
Jeremiah C Leary 0f4f0ba88b Updates for issue #337
Updated rule architecture_005 to move the "of" keyword to the same line as the architecture keyword.

  1)  Updated tests
  2)  Updated code
  3)  Updated documentation
2020-02-21 22:23:28 -06:00
Michał Kruszewski 985ea8da9c Make architecture rules inherit from case rule. 2020-01-20 20:59:49 +01:00
Jeremiah Leary 374e4b0a5d
Delete debug
This was  a debug file I used to check for case rules in the documentation.
2020-01-07 06:52:12 -06:00
Jeremiah C Leary f684b4b0a7 Updates for issue #319:
Added ability to configure either 'event or _edge for clock definitions:

  1)  Updated documentation
  2)  Added isClockDefinition to line object
  3)  Updated process classification to set isClockDefinition
  4)  Updated tests
  5)  Updated rule process_029
2020-01-06 22:18:07 -06:00
Michał Kruszewski c9e5dffefe Make entity and component rule 012 inherit from case_rule. 2020-01-04 10:34:51 +01:00
Michał Kruszewski 380d6856f9 Fix case rules for instantiation rules. 2020-01-02 11:58:32 +01:00
Michał Kruszewski a35faba2b9 Fix case rules for process rules. 2019-12-31 12:41:08 +01:00
Michał Kruszewski a27aaf56b8 Fix case rules for package rules. 2019-12-29 14:36:37 +01:00
Michał Kruszewski 9947bf187c Fix case rules for if_statement rules. 2019-12-28 11:48:06 +01:00
Michał Kruszewski 71b2b64c9d Fix case rules for generic rules. 2019-12-16 14:46:48 +01:00
Michał Kruszewski d166aa461b Fix case rules for port rules. 2019-12-11 21:42:10 +01:00
Michał Kruszewski 22d7c06fb8 Fix case rules for signal rules. 2019-12-07 12:44:36 +01:00
Michał Kruszewski ca1eeae7e4 Fix case rules for variable rules. 2019-12-06 10:44:30 +01:00
Jeremiah C Leary f0c474c695 Updates for issue #280:
The rule process_012 would add the *is* keyword to the end of the process sensitivity list without removing an *is* keyword if it existed on a different line.

  1)  Updated documentation
  2)  Updated tests
  3)  Updated process classifier
  4)  Added isProcessIs line attribute
  5)  Updated rule process_012 to remove the *is* keyword if is exists on a seperate line.
2019-12-05 09:52:59 -06:00
Jeremiah C Leary 1a5aa37f7a Updates for issue #235:
Adding parenthesis alignment to rule concurrent_003.

  1)  Updated documentation
  2)  Added tests
  3)  Updated rule concurrent_003

NOTE:  This in an interim commit before refactoring.
2019-12-04 08:30:41 -06:00
Jeremiah C Leary bd5b882326 Updates for issue #288:
Updated generate case rules to allow for configuring upper or lower case.

  1)  Updated documentation
  2)  Updated tests
  3)  Updated rules generate_005 and generate_010 to allow for upper or lower case.
2019-12-01 09:16:49 -06:00
Jeremiah C Leary c603a9b5dc Updates for issue #288:
Updated function case rules to allow for configuration of either upper or lower case.

  1)  Updated documentation
  2)  Added tests
  3)  Updated rule function_005 so it can be either upper or lower case
2019-12-01 08:12:17 -06:00
Jeremiah C Leary be51fdff4a Updates for issue #288:
Updated rule for_loop_003 to allow for case configuration.

  1)  Updated documentation
  2)  Updated tests
  3)  Update rule for_loop_003 to allow for upper or lower case.
2019-12-01 07:51:17 -06:00
Jeremiah C Leary 082424a54a Updates for issue #288:
Fixing default values for rule entity_006 and entity_014 from uppercase to lowercase.
2019-11-30 17:29:38 -06:00
Jeremiah C Leary b05b979470 Updates for issue #288:
Updated entity case rules to allow for configuration upper or lower case.

  1)  Updated documentation
  2)  Updated tests
  3)  Updated rules entity_006 and entity_014
2019-11-30 17:27:32 -06:00
Jeremiah C Leary 620c13ad20 Updates for issue #288:
Updated architecture case rules to allow for upper or lower case.

  1)  Updated documentation
  2)  Updated tests
  3)  Updated the following rules:

      architecture_006
      architecture_012
      architecture_014
2019-11-30 15:16:20 -06:00
Jeremiah C Leary 950c19dd26 Updates for issue #288:
The follow case rules were made configurable:

  architecture_004
  architecture_019
  architecture_020
  architecture_021

  1)  Updated documentation
  2)  Updated tests
  3)  Updated rules
2019-11-30 10:29:26 -06:00
Jeremiah C Leary 1b869ff8af Updates for issue #288:
Updated rules architecture_013 and architecture_014 so their case can be user defined.

  1)  Updated documentation
  2)  Added tests
  3)  Updated rules architecture_013 and architecture_014
2019-11-30 08:40:33 -06:00
Jeremiah C Leary 9b7e7b179f Updates for issue #288:
Updated rule architecture_011 to allow the user to set the case for the architecture name.

  1)  Updated documentation
  2)  Added test
  3)  Updated rule arechitecture_011
2019-11-30 08:09:10 -06:00
Jeremiah C Leary a04bb4cd16 Updates for issue #288:
Updated rule entity_012 to allow for upper or lower case.

  1)  Updated documentation
  2)  Updated tests
  3)  Updated rule entity_012
2019-11-29 09:42:09 -06:00
Jeremiah C Leary fa3e67d598 Updates for issue #276:
Added two rules to handle setting the case for range keywords **to** and **downto**.

  1)  Added documentation
  2)  Added tests
  3)  Added rules range_001 and range_002
2019-11-29 08:38:30 -06:00