Commit Graph

1174 Commits

Author SHA1 Message Date
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
Jeremiah C Leary 3d391ff6d2 Attempting to fix Travis CI issue:
1) rewrote unittest so it doesn't care about order in a list.
2020-03-21 11:03:37 -05:00
Jeremiah C Leary 3939e7c948 Attempting to fix Travis CI issues. 2020-03-21 09:56:59 -05:00
Jeremiah C Leary 6180366a01 Attempting to fix Travis CI issue when comparing dictionaries. 2020-03-21 09:43:42 -05:00
Jeremiah C Leary f7902a59d9 Attempting to reduce complexity in function update_command_line_arguments. 2020-03-21 09:24:35 -05:00
Jeremiah C Leary e262ee20d9 Minor updates for codeclimate issues. 2020-03-21 09:19:33 -05:00
Jeremiah Leary 5e111bdbc3
Merge pull request #348 from m-kru/keyword_alignment_part_2
Refactor keyword alignment rules - part 2.
2020-03-21 08:49:49 -05:00
Michał Kruszewski 0f0ec0f47c Refactor keyword alignment rules - part 2. 2020-03-17 11:22:25 +01:00
Jeremiah C Leary 2ebcb95d72 Updates for issue #344
Added ability to handle individual rule setting on globbed files.
2020-03-11 22:08:24 -05:00
Jeremiah C Leary 21212d98d5 Updates for issue #344
Fixed issue where file globbing was not working.
2020-03-11 21:06:06 -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
Jeremiah C Leary 1a450f10d1 Attempting to get gitter badge to show up. 2020-02-25 20:34:48 -06:00
Jeremiah C Leary 8055917fd0 Adding gitter badge. 2020-02-25 20:27:44 -06:00
Jeremiah C Leary 95f3580c92 Updates for issue #341:
Removing rule function_011 which is not being used.
2020-02-25 07:37:24 -06:00
Jeremiah C Leary 7fae9d5464 Fixed rule signal_015 to ensure comments are not lower cased. 2020-02-25 07:19:34 -06:00
Jeremiah Leary 83d22b3b99
Merge pull request #342 from joerg-de/patch-1
fixed AttributeError
2020-02-25 07:10:40 -06:00
joerg-de 350cd64497
fixed case sensitive
Signal is no more case sensitiv
2020-02-25 13:18:48 +01:00
Jeremiah Leary c3e44bca7a
Merge pull request #338 from m-kru/keyword_alignment
Refactor keyword alignment rules.
2020-02-24 20:32:28 -06:00
Michał Kruszewski 2f08a64bda Refactor keyword alignment rules. 2020-02-24 21:14:44 +01:00
joerg-de 2d16b2a18e
fixed AttributeError
AttributeError: 'NoneType' object has no attribute 'group' if a file has no signal
2020-02-24 14:13:13 +01:00
Jeremiah C Leary 777661841a Fixing headers in documentation. 2020-02-23 19:55:26 -06:00
Jeremiah C Leary ad1e1f0da4 Updates for issue #332:
Refactored rule concurrent_007 to improve readability.
2020-02-23 17:00:00 -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 bfccd5b80d Updates for issue #325:
The utils.change_word function was ignoring case.

  1)  Added tests for case
  2)  Updated code
2020-02-23 15:09:12 -06:00
Jeremiah C Leary f9aa27df82 Attempting to fix failing tests on Travis CI. 2020-02-23 11:38:47 -06:00
Jeremiah C Leary 650a4b13b9 Updates for issue #314:
utils.extract_label will now extract a label from the beginning or end of a line.

It calls either utils.extract_begin_label or utils.extract_end_label.
2020-02-23 11:22:22 -06:00
Jeremiah C Leary 7d940306ec Updates for issue #314 and issue #333:
Issue #314:

Updated all label rules to use utils.extract_label or utils.extract_end_label:

  1) Added utils.extract_end_label
  2) Added more end label attributes to line.py
  3) Updated classifiers to set the new end label attributes
  4) Updated tests
  5) Updated rules to use utils.extract_label or utils.extract_end_label

Issue #333:

Fixed bug where nested generate labels were not updated correctly:

  1)  Added test case
  2)  Updated code
2020-02-23 10:51:44 -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 8e1fa8b172 Updates for issue #340:
Fixed issue where VSG would crash if the -f option was not used in conjuction with -oc.

  1)  Updated code
  2)  Updated test
2020-02-22 09:33:32 -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
Jeremiah C Leary d953e29293 Removing twitter link 2020-02-16 23:24:04 -06:00
Jeremiah C Leary 5dd9384335 Updates for issue #335
Updated consistant case rules to use violation dictionary for violation list.

  1)  Updated code
  2)  Updated tests
2020-02-16 23:20:33 -06:00
Jeremiah C Leary bd09fd6dd3 Updates for issue #335
Updated constant rules to use violation dictionary for violation list.

  1)  Updated code
  2)  Updated tests
2020-02-16 22:59:33 -06:00
Jeremiah C Leary 15efad26ec Updates for issue #335
Updated instantiation rules to use violation dictionary for violation list.

  1)  Updated code
  2)  Updated tests
2020-02-16 22:53:14 -06:00
Jeremiah C Leary 265a097a50 Updates for issue #335
Updated source_file rules to use violation dictionary for violation list.

  1)  Updated code
  2)  Updated tests
2020-02-16 22:41:44 -06:00
Jeremiah C Leary d7d7313383 Updates for issue #335
Updated with rules to use violation dictionary for violation list.

  1)  Updated code
  2)  Updated tests
2020-02-16 22:39:18 -06:00
Jeremiah C Leary 0559084674 Updates for issue #335
Updated type_definition rules to use violation dictionary for violation list.

  1)  Updated code
  2)  Updated tests
2020-02-16 22:37:35 -06:00
Jeremiah C Leary 576aafc50e Updates for issue #335
Updated whitespace rules to use violation dictionary for violation list.

  1)  Updated code
  2)  Updated tests
2020-02-16 22:25:10 -06:00
Jeremiah C Leary cd43aabb42 Updates for issue #335
Updated variable rules to use violation dictionary for violation list.

  1)  Updated code
  2)  Updated tests
2020-02-16 21:58:58 -06:00
Jeremiah C Leary fc388f8c30 Updates for issue #335
Updated package rules to use violation dictionary for violation list.

  1)  Updated code
  2)  Updated tests
2020-02-16 21:42:42 -06:00
Jeremiah C Leary b3904f6b8b Updates for issue #335
Updated sequential rules to use violation dictionary for violation list.

  1)  Updated code
  2)  Updated tests
2020-02-16 21:36:13 -06:00
Jeremiah C Leary 955c60a5a4 Updates for issue #335
Updated ? rules to use violation dictionary for violation list.

  1)  Updated code
  2)  Updated tests
2020-02-16 21:34:05 -06:00
Jeremiah C Leary df72883c68 Updates for issue #335
Updated if rules to use violation dictionary for violation list.

  1)  Updated code
  2)  Updated tests
2020-02-16 19:44:42 -06:00
Jeremiah C Leary 1bcb1eb9a5 Updates for issue #335
Updated after rules to use violation dictionary for violation list.

  1)  Updated code
  2)  Updated tests
2020-02-16 19:36:10 -06:00
Jeremiah C Leary 833804e93f Updates for issue #335
Updated comment rules to use violation dictionary for violation list.

  1)  Updated code
  2)  Updated tests
2020-02-16 19:33:01 -06:00
Jeremiah C Leary 2aa2792d5e Updates for issue #335
Updated entity rules to use violation dictionary for violation list.

  1)  Updated code
  2)  Updated tests
2020-02-16 19:30:13 -06:00
Jeremiah C Leary cb53ad4c91 Updates for issue #335
Updated function rules to use violation dictionary for violation list.

  1)  Updated code
  2)  Updated tests
2020-02-16 19:22:53 -06:00
Jeremiah C Leary f7fc866fbc Updates for issue #335
Updated case rules to use violation dictionary for violation list.

  1)  Updated code
  2)  Updated tests
2020-02-16 17:49:23 -06:00
Jeremiah C Leary b06ee2ee63 Updates for issue #335
Updated component rules to use violation dictionary for violation list.

  1)  Updated code
  2)  Updated tests
2020-02-16 17:44:25 -06:00