Commit Graph

1289 Commits

Author SHA1 Message Date
Jeremiah Leary d4dc02f772
Merge pull request #442 from Emilv2/master
fix invalid yaml in docs
2020-07-16 09:08:50 -05:00
Emil Vanherp fcc4359afe fix invalid yaml in docs 2020-07-16 14:39:51 +02:00
Jeremiah Leary c57c7cc684 Fixing issue where nothing was always returned for the style. 2020-07-14 13:51:19 -05:00
Jeremiah Leary 3103e0ee78
Merge pull request #438 from jeremiah-c-leary/issue-399
Updates for issue #399
2020-07-03 09:13:25 -05:00
Jeremiah Leary a6083d3f53 Updates for issue #399
Addressing codeclimate issues.
2020-07-03 09:10:11 -05:00
Jeremiah Leary 203f524c1c Updates for issue #399
Adding rule semicolon_001 to check for consecutive semicolons:

  1)  Added documentation
  2)  Added test
  3)  Added helper functions to vsg.utils
  4)  Added rule semicolon_001
2020-07-03 08:47:39 -05:00
Jeremiah Leary c778fc8a75
Merge pull request #436 from marph91/prefix-generate-process
Added rules for generate and process label prefixes
2020-06-27 06:20:26 -05:00
Martin Dörfelt 99ce2000cf fixed review remarks
- Used a more appropriate method for extracting labels.
- Improved the error message of "prefix_rule".
2020-06-27 08:31:05 +02:00
Martin Dörfelt b90d94cbcf added rules for generate and process label prefixes 2020-06-25 21:42:27 +02:00
Jeremiah Leary a8034d4dd4 Fixing failing test. 2020-06-23 19:51:41 -05:00
Jeremiah Leary f477a560f8
Merge pull request #397 from jeremiah-c-leary/issue-350
Implementation of Issue 350
2020-06-23 18:53:37 -05:00
Jeremiah Leary 0d5a87e6f3
Merge pull request #430 from jeremiah-c-leary/issue-375
Issue 375
2020-06-23 18:30:20 -05:00
Michał Kruszewski 0c1224379f Add rules for checking case of "end procedure". 2020-06-23 15:19:52 +02:00
Michał Kruszewski 3ba5136957 Minor fix in procedure_003 Python documentation. 2020-06-23 15:05:32 +02:00
Michał Kruszewski a61f9ad504 Add rules for checking case of "end function". 2020-06-23 14:05:47 +02:00
Michał Kruszewski 38d04c2e09 Split package_006. 2020-06-23 11:04:02 +02:00
Michał Kruszewski c6b7c3ee90 Split if_028. 2020-06-23 10:47:09 +02:00
Michał Kruszewski 3b1942f80d Split architecture_009. 2020-06-23 10:12:32 +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 Leary 48590eb9e5 Updates for issue #350:
Removing base style.
Changing legacy style to jcl.
2020-06-22 20:36:33 -05:00
Jeremiah Leary 3e987c7a39 Updates for issue #427:
Fixed corner case in detecting port assignments in utils.extract_port_assignment:

  1)  Update instantiation_021 test case
  2)  Updated code to address issue
2020-06-21 10:08:29 -05:00
Jeremiah Leary c41bbc1dc5 Updates for issue #427:
VSG was not handling more than two port assignments on a single line correctly for rule instantiation_021:

  1)  Updated tests to expose issue
  2)  Added tokenizing logic
  3)  Added three new utility functions
      a) extract_port_assignments
      b) extract_string_before_string
      c) extract_string_after_string
  4)  Updated code to handle multiple port assignments correctly
2020-06-21 09:21:38 -05:00
Jeremiah Leary 16503930e6 Updates for issue #420:
VSG was considering commas inside parenthesis as a delimiter for a port inside an instantiation.

  1)  Updated tests to expose the issue
  2)  Updated code to make test pass
2020-06-20 13:17:19 -05:00
Michał Kruszewski 6f9b4c7d0e Fix issue #428. 2020-06-19 11:41:09 +02:00
Michał Kruszewski adb63489d1 Fix issue #422. 2020-06-18 13:00:27 +02:00
Jeremiah Leary 9c43fb19f1 Updates for Issue #350:
Refactoring several functions in __main__ per pull request comments.
2020-06-06 21:30:01 -05:00
Jeremiah Leary 6d55f89e35 Updates for issue #350:
Updates from latest review of pull request:

  1)  Fixed documentation
      a)  Removed disabled style
      b)  Renamed minimal to indent_only
      c)  Added documentation for indent_only
  2)  Code changes
      a)  Removed disabled style
      b)  Renamed minimal to indent_only
      c)  Refactors to improve readability
2020-06-06 20:56:05 -05:00
Jeremiah C Leary 960fc7d3a7 Fixing import error for python 2.7. 2020-06-06 19:52:02 -05:00
Jeremiah Leary 8334d0d32a Updates for issue #407:
Rule instantiation_024 could not handle functions in generic or port assignments:

  1)  Added test to expose the issue
  2)  Added remove_parenthesis function to utils
  3)  Updated rule instantiation_024 to handle functions in generic/port assignments
2020-06-06 15:50:21 -05:00
Jeremiah Leary cf081d778b Updates for issue #406:
Rule port_013 was including a port assignment when determining how many ports were defined on a single line.

  1)  Added tests to expose the issue
  2)  Updated code to address the port_013 issue
2020-06-06 14:45:20 -05:00
Jeremiah Leary 98fd5e6e19 Updates for issue #412:
The JUnit output was not escaping special XML characters.

  1)  Add tests to expose the issue
  2)  Write code to address the issue

NOTE:  This fix must be pushed to the release_1.0_support branch.
2020-06-06 11:49:07 -05:00
Jeremiah Leary d2e883b96d Updates for issue #405
Attempting to recreate issue:

  1) Enhanced test for process_018.  However, it does not fail.

Will attempt to recreate issue on branch release_1.0_support.
2020-06-03 19:54:32 -05:00
Michał Kruszewski 15cb3a68b4 Fix documentation for constant rule_004. 2020-06-03 06:01:31 +02:00
Jeremiah Leary a1322167a4 Updates for issue #350:
Refactored methods fix and check_rules on rule_list class to use defaults:

  1)  Updated methods fix and check_rules
  2)  Updated tests
2020-05-20 07:14:05 -05:00
Jeremiah Leary 7d7712a6e7 Updates for issue #350:
Adding minimal style:

  1)  Added minimal configuration YAML file
  2)  Added Ability to skip phases via style configuration
  3)  Added style tests
2020-05-19 16:53:50 -05:00
Jeremiah Leary 4fb3977407 Merge branch 'master' of https://github.com/jeremiah-c-leary/vhdl-style-guide 2020-05-18 22:14:04 -05:00
Jeremiah Leary 16126b045d Updates for issue #398:
Generics starting with "port" were classified as the port keyword:

  1)  Updated tests to expose issue
  2)  Updated code to make tests pass
2020-05-18 22:12:21 -05:00
Jeremiah Leary e8ecf7b9e3 Updates for issue #350:
Fixing setup to include the YAML files.
2020-05-18 09:14:08 -05:00
Jeremiah Leary 5c9e613f5a Updates for issue #350:
Adding __init__.py to styles directory so it is included in distribution.
2020-05-18 08:19:15 -05:00
Jeremiah Leary a768837d0a Updates for issue #350:
Updating style types:

  1)  Changed minimal to disabled
  2)  Added base style
  3)  Updated documentation
2020-05-17 13:48:01 -05:00
Jeremiah Leary c33afdae90 Updates for issue #350:
Refactored legacy style test cases into a new directory structure.
The structure will support the testing of multiply styles.
2020-05-17 13:22:44 -05:00
Jeremiah Leary 7b6d7b9d6e Updates for issue #350:
Refactoring function names to improve readability.
2020-05-17 10:38:31 -05:00
Jeremiah Leary a6aadbdf35 Updating documentation for styles. 2020-05-17 10:27:11 -05:00
Michał Kruszewski c5eb7737ec Add suffix and prefix rules for package identifier. 2020-05-17 15:46:12 +02:00
Jeremiah Leary f3f5b4cf75 Updates for issue #350:
Updating legacy style to ensure code examples pass:

  1)  Updated legacy style
  2)  Updated fixed versions of files as appropriate
  3)  Removed skipping of code example files
2020-05-16 19:25:17 -05:00
Jeremiah Leary 7c09e09bc8 Updates for issue #350:
Initial implementation of styles:

  1)  Added two incomplete styles
  2)  Added method to read styles
  3)  Added style argument
  4)  Fixed failing tests
2020-05-14 21:11:48 -05:00
Jeremiah Leary e505e0ef72 Adding documentation for build in styles. 2020-05-14 19:50:45 -05:00
Jeremiah Leary d8fd3a5385 Updates for issue #385:
Rule process_031 could not handle multiple variables defined on a single line:

  1)  Updated tests to expose issue
  2)  Updated code to fix issue
2020-05-11 21:25:41 -05:00
Jeremiah Leary ae97c39b9f Updates for issue #394:
Rule signal_015 did not ignore commas in comments.

  1)  Updated test to expose issue
  2)  Updated code to fix issue
2020-05-11 20:44:03 -05:00
Jeremiah Leary ddcb70f047 Removing unused test file. 2020-05-10 07:14:59 -05:00