Commit Graph

27 Commits

Author SHA1 Message Date
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 ddc32f8ed9 Updates for issue #335:
Updated tests using the indent base rule to use dictionaries for the violation list.

  1)  Updated code
  2)  Updated tests
2020-02-16 08:27:55 -06:00
Jeremiah C Leary f370aeadd1 Updates for issue #335
Updated rules using single_space_before_rule to use dictionaries for items in the violations list.

  1)  Updated tests
  2)  Updated code
2020-02-15 19:23:21 -06:00
Jeremiah C Leary 1457ef9316 Updates for issue #335:
Updated tests using base rule vsg.rules.remove_blank_lines_above_rule to use the violations attribute as a list of violation dictionaries.

  1)  Updated code
  2)  Updated tests
2020-02-15 18:38:51 -06:00
Jeremiah C Leary fb4c5ca972 Updates for issue #335:
Updated rules based on the single_space_after_rule and multiple_spaces_after_rule base rules:

  1)  Updated rules to use violations list for the fix phase
  2)  Updated tests
2020-02-15 16:12:47 -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 7666fae485 Make case_rule to use violations attribute for fixing errors. 2020-02-15 16:51:01 +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 5e824dd37a Updates to improve code coverage of rule entity_012:
1)  Updated tests to cover the _get_solution method.
  2)  Added docstring for entity classifier.
2020-01-02 10:19:52 -06: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 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
Jeremiah C Leary 1948b70444 Updates for Codacy issues:
Removing trialing whitespaces.
2019-03-10 12:19:16 -05:00
Jeremiah C Leary 183b9f5c18 Updates for issue #193
The class vhdlFile now takes a list instead of a file name.
This removes the responsibility of reading the file from the vhdlFile class.
Which allows for better integration into other tools.
2019-02-24 12:49:25 -06:00
Jeremiah C Leary 9d59246cea Style updates for Codacy. 2017-12-23 21:47:07 -06:00
Jeremiah C Leary 4ee65c23a2 Code style updates flagged by Codacy. 2017-12-23 21:22:24 -06:00
Jeremiah C Leary 9ea00c4c66 Updates for handling ('s not on the same line as port and generic keywords.
1)  Added generic_018, port_021, instantiation_025, and instantiation_026
  2)  Added some documentation
  3)  Added test cases
2017-12-19 20:52:38 -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
Jeremiah C Leary db288476b2 Refactored entity to improve maintainability. 2017-11-24 21:21:09 -06:00
Jeremiah C Leary 0caadd8806 Updates for issue #69
1)  Fixed alignment of generic comments with port comments.
2017-11-23 17:24:20 -06:00
Jeremiah C Leary 21489fa695 Updates for issue #66
1)  Fixed issue of extra entity keyword inserted.
2017-11-23 16:12:25 -06:00
Jeremiah C Leary ebd4dee840 Updates for issue #56
1)  Added port_018 to enforce alignment of comments in entity declarations.
2017-11-23 12:51:07 -06:00
Jeremiah C Leary 12a585171c Updates for issue #52:
1)  Fixed easy code coverage issues.
2017-11-22 06:45:06 -06:00
Jeremiah C Leary d525b56925 Added _remove_blank_lines_above method to rule.
Refactored entity_016 and library_007 to use new method.
2017-11-19 07:38:40 -06:00
Jeremiah C Leary 6552200552 Updates for issue #28:
1)  Added fix for entity rule 005.
2017-11-18 11:39:47 -06:00
Jeremiah C Leary f22d46f2a9 Updates for issue #28:
1)  All but two issues can be fixed.
2017-11-18 09:06:25 -06:00
Jeremiah Leary 8a2de57acd Updates for rule renaming:
1)  Removed rule_ from beginning of rule names
  2)  Renamed test directories

NOTE:  need to rename if rule to if_statement since if is a python keyword.
2017-09-30 07:44:27 -05:00