Commit Graph

1313 Commits

Author SHA1 Message Date
Jeremiah Leary 9cf81ea67a Updates for issue #402:
Mocking the number of rules ran to make tests more robust.
2020-07-28 07:32:10 -05:00
Jeremiah Leary 862b5aab77
Merge branch 'master' into issue-402 2020-07-27 20:52:53 -05:00
Jeremiah Leary 2effb76817 More documentation fixes. 2020-07-18 16:11:47 -05:00
Jeremiah Leary ae270b2496 Fixing documentation errors. 2020-07-18 16:05:30 -05:00
Jeremiah Leary f941406737 Preparing for release 2.0.0 2020-07-18 15:07:18 -05:00
Jeremiah Leary fe771bc33f Updating usage section and another attempt to fix the gitter badge. 2020-07-18 12:50:35 -05:00
Jeremiah Leary d89cbea242 Attempting to fix gitter badge image. 2020-07-18 12:47:15 -05:00
Jeremiah Leary 0c721d8866 Updating usage to include new command line options. 2020-07-18 12:32:00 -05:00
Jeremiah Leary 3aeca176d7 Updates for issue #414:
Adding debug output capabilities:

  1)  Added --debug CLA

NOTE:  Tests were not updated
NOTE:  Documentation was not updated
(cherry picked from commit a88f44d8ad1fd0570c550b842a50e274aaf69046)
2020-07-18 12:13:59 -05:00
Jeremiah Leary 0c8ee8da31 Updates for issue #404:
Fixing issue where signal_015 would crash if commas existed after the : in the signal declaration.

  1)  Adding test to expose issue
  2)  Updated rule signal_015 to make the test pass

(cherry picked from commit 305124a55f8deb038ec32b63e3553c382e05f81d)
2020-07-18 11:47:55 -05:00
Jeremiah Leary bb123a5a7c
Merge pull request #433 from jeremiah-c-leary/issue-432
Issue 432
2020-07-17 14:40:27 -05:00
Jeremiah Leary b401e92076 Adding filtering of warning severity types from JUNIT file. Issue #402
1)  Updated documentation
  2)  Added tests to validate filtering
  3)  Updated code to make test pass
2020-07-17 07:54:29 -05:00
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 095377afbf Updates for issue #402
Refactored code to make it easier to maintain.
2020-07-04 15:34:18 -05:00
Jeremiah Leary 34e0adbf55 Updates for issue #402:
Fixing tests which are failing after adding severity to the configuration list.
2020-07-04 14:11:46 -05:00
Jeremiah Leary da0f615cea Updates for issue #402
Adding severity to rule and output configurations.
2020-07-04 14:07:37 -05:00
Jeremiah Leary d164cba484 Updates for issue #402:
Adding rule severity feature:

  1)  Added documentation
  2)  Code updates
      a)  Added new module vsg.severity
      b)  Upated code to handle rule severities
  3)  Added tests vsg/tests/severity
2020-07-04 13:55:15 -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 9839f4a164 Updates for #434:
Removing commented out code.
2020-06-30 14:22:56 -05:00
Jeremiah Leary c7d7005bdd Updates for issue #434:
Adding ability to configure grouping by comments and blank lines.

  1)  Added tests
  2)  Updated documentation
  3)  Updated code based on keyword_alignment_rule
2020-06-30 14:16:41 -05:00
Jeremiah Leary 7a3fcf9883 Updates for issue #434:
Adding rules to align declaration identifiers:

  1)  Updated documentation
  2)  Removed the following rules
      file_003, constant_003, attribute_003, signal_003, subtype_003, type_003 and variable_003
  3)  Added new rules:
      architecture_029, function_015, package_019, procedure_010 and process_037
  4)  Added tests for new rules
  5)  Updated classifiers to support new rules
2020-06-30 11:36:01 -05:00
Jeremiah Leary ec9b205d51 Merge branch 'master' into issue-432 2020-06-27 09:03:59 -05:00
Jeremiah Leary 58b16cc01b Updates for issue #432:
Abstracting architecture_029 to identifier_alignment_rule.
2020-06-27 08:21:10 -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 02b3835381 Updates for issue #432:
Adding rule architecture_029 to align idenifiers in signal, constant, variable, file, type and subtype declarations.

  1)  Updated documentation
  2)  Added tests
  3)  line class updates
      a)  Added new architecture attribute
      b)  Added new method to update the line attributes from tokens
  4)  Added rule architecture_029
2020-06-25 09:58:49 -05:00
Jeremiah Leary 5d10da9784 Updates for issue #432:
Reviewed rules which were enforcing single spaces:

  1)  Updated constant_010 to allow to enforce at least 1 space
  2)  Updated tests
2020-06-23 20:16:17 -05:00
Jeremiah Leary 7cc3215323 Minor documentation updates. 2020-06-23 20:15:46 -05: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