Commit Graph

34 Commits

Author SHA1 Message Date
Jeremiah Leary 4013b5a783 Adding objects for constants. 2020-07-31 21:27:32 -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 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 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 2f08a64bda Refactor keyword alignment rules. 2020-02-24 21:14:44 +01: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 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 aca83b6b03 Updates for issue #335
Updated rules using the single_space_before_character_rule to use dictionaries in the violation attribute.

  1)  Updated tests
  2)  Updated code
2020-02-15 19:13:40 -06:00
Jeremiah C Leary fdcdf2d909 Updates issue #335:
Updated rules using vsg.check.has_prefix to use the violations list in the fix phase:

  1)  Updated tests
  2)  Updated vsg.check.has_prefix to push a dictionary into the violation list
2020-02-15 16:25:59 -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
Michał Kruszewski 7666fae485 Make case_rule to use violations attribute for fixing errors. 2020-02-15 16:51:01 +01:00
Jeremiah C Leary d6433affe9 Adding tests to improve code coverage. 2019-10-17 21:14:07 -05:00
Jeremiah C Leary bb7b44e0ec Adding tests to improve code coverage. 2019-10-16 22:16:31 -05:00
Jeremiah C Leary f866d1d89b Updates for Codacy issues. 2019-10-15 18:40:43 -05:00
Jeremiah C Leary cb608ff9a3 Updates for issue #275
The constant classifier was classifying signals in concurrent assignments as constants if a signal started with "constant".

  1)  Updated tests
  2)  Updated constant classifier
2019-10-15 18:19:03 -05:00
Michał Kruszewski 9a2a84ba0c Fix failed tests issue. 2019-10-02 13:38:18 +02:00
Michał Kruszewski ff011c762d Use case_rule for constant_rule_002.py 2019-10-02 10:57:42 +02:00
Jeremiah C Leary 5f24ef6f9b Updates for issue #241:
The spacing after "signal", "constant", "file", "type", and "subtype" keywords is configurable.

  1)  Added tests
  2)  Refactored code to allow for configurable spacing
  3)  Added subtype_003 rule
  4)  Updated documentation
2019-06-09 11:48:07 -05:00
Jeremiah C Leary a7d0aa556d Updates for issue #237
Added rule constant_014 to handle multiline non array constants:

  1)  Added documentation
  2)  Fixed rule constant_012 so it does not fire on non array constants
  3)  Added rule constant_014
  4)  Added tests
  5)  Added classification of array constants
2019-06-08 11:22:31 -05:00
Jeremiah C Leary 46d57be6db Updates for issue #239:
Clarified constant_010 to state a single space before the :=.

  1)  Updated documentation
  2)  Updated tests to cover more than one space before the :=
  3)  Updated solution for constant_010
2019-06-07 22:16:21 -05:00
Jeremiah C Leary 08e3680b70 Updates for Codacy:
1)  Removed trailing whitespace
  2)  Removed unused general tests
2019-03-31 10:03:00 -05:00
Jeremiah C Leary ac04afe067 Updates for issue #224
Adding case consistency checks for constants.

  1)  Added documentation
  2)  Added tests
  3)  Added rule constant_013
2019-03-31 07:38:35 -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 bf9f5779cd Updates for issue #192
1)  Reduced scope of constant_009 to the architecture declaritive region
  2)  Refactored constant fix tests to be independent using the setUp method
  3)  Updated documentation
2018-12-17 21:03:35 -06:00
Jeremiah C Leary f61ca71212 Updates for issue #126
1)  Added classification for multiline constants
  2)  Added constant_012 rule
  3)  Added tests
  4)  Added documentation
2017-12-27 14:18:13 -06:00
Jeremiah C Leary 70a239b107 Updates for issue #112
1)  Added constant_011, generic_017
  2)  Updated signal_010
  3)  Added documentation
  4)  Updated tests
  5)  Updated code examples
2017-12-10 16:43:16 -06:00
Jeremiah C Leary fbe562e056 Updates for issue #85
1)  Added constant_010
  2)  Added tests
  3)  Added sphinx documentation
2017-12-04 21:37:06 -06:00
Jeremiah C Leary 7c94e45dd0 Updates for issue #27:
1)  Added fixes for constants
  2)  Refactored fix methods for signal rules
2017-11-22 10:18:19 -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 024ce45a1b Updates for type and constant rules:
1)  Type rules apply to types in packages
  2)  Constant rules apply to constants in packages
2017-10-16 20:03:16 -05: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