Commit Graph

46 Commits

Author SHA1 Message Date
Jeremiah Leary f8f5f77c58
Updates for issue #651 (#662)
* Updates for issue #651

Initial attempt at adding rule groups.

  1)  Updated documentation
  2)  Added indent group
  3)  Added tests

* Addressing CodeClimate issues.

* Additional code climate updates.

* Renaming depricated to deprecated.

Adding tests to improve code coverage.

* Adding length group and updating documentation.

* Adding indent labels to rule documentation.

* Adding blank_line group.

* Minor documentation update.

* Adding more rules to the blank_line group.

* Adding blank_line label to blank line rules in documentation.

* Adding whitespace rule group

* Adding case group.

* Adding structure rule group:

  1)  Addings structure rule group object
  2)  Updated base rules which should utilize the rule group

* Adding more base rules to the whitespace rule group.

* Adding more base rules to the case rule group.

* Adding naming rule group:

  1)  Added naming rule group
  2)  Assigned base rules to the naming rule group

* Adding alignment rule group:

  1)  Added alignment rule group
  2)  Added base rules to alignment rule group

* Assigning more rules to rule groups.

* Adding last rule to a rule group.
Fixing error introduced into whitespace_001

* Assigning sub groups to architecture rules.

* Updating after rules documentation to add rule group.

* Adding rule group to assert rule documentation

* Updating attribute_declaration rules rule group.

* Adding program to generate rule documentation:

  1)  Added bin/vsg_rule_doc_gen
  2)  Added tests
  3)  Copied existing documentation into rule doc strings for the following rule classes:
      a)  after
      b)  architecture
      c)  assert_statement
      d)  attribute
      e)  attribute_declaration
      f)  attribute_specification
      g)  block
  4)  Partially update deprecated rules to they could be processed

* Converting block_comment documentation.

* Converting case_rule documentation.

* Converting comment rule documentation.

* Converting component documentation to doc strings.

* Converting concurrent rule documentation to doc strings.

* Convert constant docs to doc strings.

* Converting context rule doc to doc strings.

* Fixing failing tests.

* Converting context reference doc to doc strings.

* Converting entity doc rules to doc strings.

* Converting entity_specification rule doc to doc strings.

* Converting exit_statement rule doc to doc strings.

* Converting file_statement rule docs into doc strings.

* Converting for_loop rule doc to doc strings.

* Converting function rule doc to doc strings.

* Converting generate rules doc to doc strings.

* Converting generic rule doc to doc strings.

* Converting generic_map rule doc to doc strings.

* Converting if rule docs to doc strings.

* Converting instantiation rule doc to doc strings.

* Converting length rule doc to doc strings.

* Converting library rule doc to doc strings.

* Convert loop_statement rule doc to doc strings.

* Converting package rule docs to doc strings.

* Converting package_body rule doc to doc strings.

* Converting port rule doc to doc strings.

* Converting port_map rules doc to doc strings.

* Converting procedure rule doc to doc strings.

* Converting procedure_call rule doc to doc strings.

* Converting process rule doc to doc strings.

* Converting range rule doc to doc strings.

* Converting report_statement rule doc to doc strings.

* Converting sequential rule doc to doc strings.

* Converting signal rule doc to doc strings.

* Converting source_file rule doc to doc strings.

* Converting subprogram_body rule doc to doc strings.

* Converting subtype rule doc to doc strings.

* Converting type rule doc to doc strings.

* Converting variable rule doc to doc strings.

* Converting variable_assignment rule doc to doc strings.

* Converting wait rule doc to doc strings.

* Converting when rule doc to doc strings.

* Converting while_loop rule doc to doc strings.

* Converting whitespace rule doc to doc strings.

* Converting with rule doc to doc strings.

* Fixing tests due to further refinements of rule groups.

* Removing generated doc files after tests.

* Updating documentation to include rule group information.

* Removing trailing whitespace.

* Minor formatting fixes for documentation.

* Fixing issues for codacy.

* Skipping currently failing tests so I can address coding issues.

* Removing unused libraries.

* Minor formatting issues resolved.

* WIP:  Setting desired test input.

NOTE:  tests fail as I need to implement fixes.

* Improving testing of rule groups.

* Enhancing test so it will pass.

* Updates for codacy.
2022-01-01 17:46:43 -06:00
Jeremiah Leary 6e58ab4a89 Attempting to fix ReadTheDocs build. 2021-10-28 08:00:34 -05:00
Jeremiah Leary caa57319ea Attempting to fix ReadTheDocs build. 2021-10-28 07:17:26 -05:00
Jeremiah Leary 630adf7966 Attempting to fix documentation generation. 2021-10-27 09:18:00 -05:00
Jeremiah Leary e9fc9d8913 Updates for issue #653:
Adding additional documentation for configuring indents.
2021-10-27 08:20:23 -05:00
Jeremiah Leary 2954d95115 Updates for issue #540:
Adding icons to denote phases, severity levels and disabled.
2021-03-31 21:26:57 -05:00
Jeremiah Leary 1945f23b96 Updates for issue #540
Combining prefix and suffix configuration documentation.
2021-03-24 18:04:07 -05:00
Jeremiah Leary 1a37f9f7b3 Updates for issue #540:
Splitting Prefix and Suffix configuration documentation into individual Prefix and Suffix documentation.
2021-03-23 20:42:58 -05:00
Jeremiah Leary c902c29c4a Updates for Issue #540
Adding rules for which configurations apply.
2021-03-23 20:20:05 -05:00
Jeremiah Leary 984b4245f4 Updates for issue #499
Adding rule concurrent_011 to handle structural formatting of concurrent statements.

  1)  Added documentation
  2)  Added tests
  3)  Added rule concurrent_011
2021-03-07 21:04:33 -06:00
Jeremiah Leary a4199663df Updates for issue #499:
Updating documentation to include configuring information.
2021-03-07 20:13:03 -06:00
Jeremiah Leary a04ac0abe7 Updates for issue #450:
Split documentation for multiline rules into indent and structure.
2021-02-22 17:22:47 -06:00
Jeremiah Leary 0a50b02d0c Updates for issue #450:
Adding intial documentation for configuring multiline rules.
2021-02-22 17:22:47 -06:00
Jeremiah Leary 69b157fa91 Adding configuring previous line documentation. 2021-01-16 14:33:40 -06:00
Emil Vanherp 73420cdca2
remove trailing whitespace 2021-01-11 21:55:56 +01:00
Jeremiah Leary be88d4a462 Updates for issue #445
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
2020-12-20 18:06:07 -06:00
Jeremiah Leary 5cd7afd6f4 Updates for issue #373
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
2020-12-19 19:48:40 -06:00
Jeremiah Leary 5a959acb17 Updates for issue #456
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
2020-12-12 10:49:44 -06:00
Jeremiah Leary 30bfcad756 Updates for issue #410
Adding rule to enfore component or entity instantiations:

  1)  Added documentation
  2)  Added tests
  3)  Added rule instantiation_034
2020-12-08 15:01:36 -06:00
Jeremiah Leary d4f08e36eb Updates for issue #408
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
2020-12-08 10:23:26 -06:00
Jeremiah Leary fad6f180b6 Updates to address additional style tests:
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
2020-11-21 17:00:16 -06:00
Jeremiah Leary 2effb76817 More documentation fixes. 2020-07-18 16:11:47 -05:00
Emil Vanherp fcc4359afe fix invalid yaml in docs 2020-07-16 14:39:51 +02:00
Jeremiah Leary 3328f3c2fe Updates for issue #426:
Moved multiple configuration documentation from usage.rst to it's own file and then it is called by configuring.rst.
2020-06-22 21:30:30 -05: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 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 144473f164 Updates for issue #271
Adding rule length_001 to check for line length violations:

  1)  Added documentation
  2)  Added tests
  3)  Added rule length_001
2019-11-10 14:53:48 -06:00
Jeremiah C Leary 8abcf7877b Updating documentation for rule signal_015. 2019-11-10 06:51:34 -06:00
Jeremiah C Leary 15308e63fc Resolving warnings in documentation.
issue #269
2019-10-17 07:10:31 -05:00
Jeremiah C Leary a0ccff78ab Adding documentation on how to change the default value for lowercase and uppercase rules. 2019-10-12 09:24:25 -05:00
Jeremiah C Leary 5f24ef6f9b Updates for issue #241:
The spacing after "signal", "constant", "file", "type", and "subtype" keywords is configurable.

  1)  Added tests
  2)  Refactored code to allow for configurable spacing
  3)  Added subtype_003 rule
  4)  Updated documentation
2019-06-09 11:48:07 -05:00
Jeremiah C Leary f906b3890c Reviewing and updating documentation. 2019-03-23 08:49:38 -05:00
Jeremiah C Leary 40206bbac0 Updates for issue #213
Adding documentation about YAML files.
2019-03-09 11:23:00 -06:00
Jeremiah C Leary 43d63c6b3b Updating documentation. 2019-03-02 15:26:57 -06:00
Jeremiah C Leary 47522899da Adding glob example to 'file_list' configurationl. 2019-02-24 14:07:38 -06:00
Jeremiah C Leary 0757168055 Fixing typo. 2019-02-24 14:05:22 -06:00
Jeremiah C Leary 27d86f58c4 Updates for issue #201
Globbing of 'file_list' in configurations are now supported.
2019-02-24 13:58:02 -06:00
Jeremiah C Leary 243880e87f Updates for issue #178
1)  Updating documentation to show correct boolean usage in JSON examples.
2018-11-16 22:10:01 -06:00
Jeremiah C Leary d452b5c5e6 Preparing for release 0.15 2018-08-18 07:32:11 -05:00
Jeremiah C Leary 7591715a1a Updating documentation. 2018-05-21 04:56:57 -05:00
Jeremiah C Leary ee1ffb5b6e Updates for issue #13:
Updating documentation for rule_list configuration option.
2018-05-19 08:32:34 -05:00
Jeremiah C Leary c3eeef5110 Updates for issue #131:
1)  Added "file_list" parsing in configuration file
  2)  Added ability to expand environment variables
  3)  Updated documentation
2018-05-17 05:52:41 -05:00
Jeremiah C Leary f5412576a9 Updated examples in configuring section. 2017-12-23 20:52:09 -06:00
Jeremiah C Leary 632001edc0 Adding user documentation. 2017-12-23 17:26:12 -06:00