Commit Graph

64 Commits

Author SHA1 Message Date
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
Jeremiah C Leary b9abdf8a57 Updates for issue #362:
Updated rules to use consistent violation dictionary:

  1)  Updated check.indent_of_comments_above to use the violation dictionary
  2)  Updated rules to use the violation dictionary
  3)  Updated tests
2020-03-31 20:09:51 -05:00
Michał Kruszewski b6226ecb7d Set the default case to lowercase for all case rules. 2020-03-29 21:26:15 +02:00
Michał Kruszewski 0f0ec0f47c Refactor keyword alignment rules - part 2. 2020-03-17 11:22:25 +01:00
Michał Kruszewski 2f08a64bda Refactor keyword alignment rules. 2020-02-24 21:14:44 +01: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 128b080f49 Updates for issue #335
Updated rules based on the line_above_rule.

  1)  Updated line_above_rule
  2)  Updated tests
2020-02-15 15:13:57 -06:00
Michał Kruszewski e3805c9d54 Replace extract_first_keyword calls with extract_words function. 2020-01-20 21:17:41 +01:00
Michał Kruszewski c9e5dffefe Make entity and component rule 012 inherit from case_rule. 2020-01-04 10:34:51 +01:00
Jeremiah C Leary 86c708a986 Minor formatting updates for Codacy issues. 2020-01-02 11:58:48 -06:00
Michał Kruszewski 49aa53ab61 Replace extract_word function with extract_words. 2019-12-28 11:39:32 +01: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 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 a374867c40 Refactoring fix.upper_case and fix.lower_case to remove unneccessary input. 2019-10-16 21:36:30 -05:00
Michał Kruszewski 9f1389c8e8 Fix printing solution for case rules. 2019-10-15 15:57:01 +02:00
Jeremiah C Leary f9f66dffbe Updates for issue #267:
Updated entity_019 to fix missing entity names in the "end entity" line.

  1)  Updated tests
  2)  Update rule entity_019 to fix the violation
2019-10-14 20:47:38 -05:00
Michał Kruszewski 837d2b67b2 Small formatting improvements. 2019-10-07 20:43:45 +02:00
Michał Kruszewski c962881e7a Make _extract abstract method for case_rule class. 2019-10-07 20:30:27 +02:00
Michał Kruszewski 694625b024 Make case rule 014 use case_rule as a base. 2019-10-07 16:13:27 +02:00
Michał Kruszewski 2b2c8e67e6 Make entity rule 010 use case_rule as a base. 2019-10-07 15:14:45 +02:00
Michał Kruszewski d6504158c2 Make entity rule 004 use case_rule as a base. 2019-10-07 15:09:56 +02:00
Michał Kruszewski 1ab6239b88 Make entity rule 008 use case_ruse as a base. 2019-10-07 13:26:40 +02:00
Jeremiah C Leary 74391f67d2 Updates for issue #226
Refactoring entity_017, generic_012, and generic_015 to use _pre_analyze method.
2019-04-10 08:27:03 -05:00
Jeremiah C Leary f42e698c31 Updates for issue #219
Changed utilities to utils.
2019-03-23 07:43:53 -05:00
Jeremiah C Leary 522ba311a3 Refactoring rules for codeclimate. 2019-03-10 22:10:33 -05:00
Jeremiah C Leary 6a04dae1c3 Updates for issue #181
1)  Adding vsg off checking to rules which override the base rule class analysis method.
2019-03-10 11:50:46 -05:00
Jeremiah C Leary 5ff634025c Updates for issue #181
Refactoring more rules to support implementing in file tags.
2019-03-09 16:42:31 -06:00
Ryan Fitzsimon 79456cf1a2 Use explicit relative imports
Implicit relative imports are not supported in Python 3 (see pep-0404).

Using explicit relative imports also helps avoid name clashes.
2018-08-31 11:24:13 +10:00
Jeremiah C Leary 7f4230fddb Updates for issue #158:
1)  Allowing comments on line before case keyword
  2)  Updated tests
  3)  Updated documentation
2018-08-28 14:14:52 -05:00
Jeremiah C Leary f584accb4a Refactoring component_008, entity_008, instantiation_008, port_010. 2017-12-28 15:56:08 -06:00
Jeremiah C Leary 52c9037263 Refactoring indent rules. 2017-12-27 13:23:08 -06:00
Jeremiah C Leary 7ac441a603 Removed unused variables to address Codacy issues. 2017-12-24 07:21:09 -06:00
Jeremiah C Leary 63adf0a33a Refactored entity_018 to address Codacy issue. 2017-12-24 06:50:45 -06:00
Jeremiah C Leary 9d59246cea Style updates for Codacy. 2017-12-23 21:47:07 -06:00
Jeremiah C Leary 66cfbc751f Updates for issue #114
1)  Fixed classification of the end of the port map.
  2)  Added port_021
  3)  Refactored utilities.search_for_and_replace_is_keyword
2017-12-17 13:14:19 -06:00
Jeremiah C Leary 357f79d7d0 Fixing style issues. 2017-12-17 10:01:15 -06:00
Jeremiah C Leary 53e5149c49 Refactored entity rules and added documentation. 2017-12-16 15:58:39 -06:00
Jeremiah C Leary 1df3c7b8f1 Refactoring indent rules for code climate. 2017-12-16 10:50:38 -06:00
Jeremiah C Leary 98a3ee9dbd Code style updates. 2017-12-16 10:24:39 -06:00
Jeremiah C Leary 204e5bc28a Refactoring for code climate. 2017-12-16 10:19:48 -06:00
Jeremiah C Leary 5a882a7475 Refactoring for code climate. 2017-12-16 09:59:34 -06:00
Jeremiah C Leary acb0c44b71 Updates for code climate:
1)  Refactored rules to reduce complexity.
2017-12-10 07:22:22 -06:00
Jeremiah C Leary 796879e240 Updates for style. 2017-12-10 06:52:33 -06:00
Jeremiah C Leary c6a211d080 Adding code examples and tests to verify fixes. 2017-12-09 12:04:49 -06:00
Jeremiah C Leary b65ad81d27 Updates for code climate:
1)  Refactored process_010, concurrent_005, if_statement_012 and entity_012.
2017-12-08 21:53:32 -06:00
Jeremiah C Leary bf92c91551 Updates for codestyle. 2017-12-08 19:48:15 -06:00
Jeremiah C Leary a606421723 Updates for issue #43
1)  Added fix for architecture_006
  2)  Refactored entity_005
  3)  Added documentation
2017-12-07 20:04:11 -06:00
Jeremiah C Leary ef9ecc8a5f Updates for issue #54
1)  Updated entity_012
  2)  Added documentation
2017-12-07 19:40:00 -06:00
Jeremiah C Leary 4236da7818 Updates for issue #105
1)  Split entity_015 into entity_015 and entity_019
  2)  Updated tests
  3)  Added sphinx documentation
2017-12-04 21:04:24 -06:00