Commit Graph

15 Commits

Author SHA1 Message Date
Michał Kruszewski 2f08a64bda Refactor keyword alignment rules. 2020-02-24 21:14:44 +01:00
Jeremiah C Leary dd4ff0bb08 Updates for issue #295
Remerging pull request #293.
2019-12-01 16:57:57 -06:00
Jeremiah Leary ed7738c341
Revert "Make instantiation rule_011 inherit from case_rule." 2019-11-23 07:12:04 -06:00
Michał Kruszewski 2a20fbffcf Make instantiation rule_011 inherit from case_rule.
During this change it turned out that there was a bug in how
case was fixed for case rule. It is now fixed, because words that
needs fixing are now stored per line, not per file like it was
previously.
2019-11-21 18:28:57 +01:00
Michał Kruszewski c63da7b0d5 Make port rule 010 use case_rule as a base. 2019-10-07 13:46:59 +02:00
Jeremiah C Leary 7c68c55ca5 Updates for issue #236:
Updated assert_001 to indent everything after the assert statement.

  1)  Updated documentation
  2)  Updated tests
  3)  Updated assert_001 rule
2019-06-07 22:32:08 -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 0c87b5bb70 Updates for issue #224
Switched general_001 to signal_014:

  1)  Removed rule general_001
      a)  Removed documentation
      b)  Removed tests
      c)  Removed rule
  2)  Added signal_014 to validate signal names are consistently cased
      a)  Added documentation
      b)  Added tests
      c)  Added rule signal_014
      d)  Added extract_signal_names procedure in utils.py
2019-03-30 20:11:13 -05:00
Jeremiah C Leary 3123a1ff7f Updates for issue #188
Added feature to ensure a blank line before the first "if" statement unless there is a comment.

  1)  Added tests
  2)  Added documentation
  3)  Updated tests to match new rule
2018-12-12 09:54:25 -06:00
Jeremiah C Leary c3717b1064 Updates for issue #170
Adding whitespace_011 to enforce at least a single space around math operators.

  1)  Added test
  2)  Added documentation
  3)  Added rule
  4)  Updated code example fixed files
2018-12-07 12:54:08 -06:00
Jeremiah C Leary 56419e0bde Updates for issue #109
Added if_030 to enforce at least one blank line after the last "end if" keyword.

  1)  Added rule
  2)  Added tests
  3)  Updated fixed code examples
  4)  Updated if spliting rules to clear the isLastEndIf line attribute
2018-12-06 16:52:35 -06:00
Jeremiah C Leary 3ac8139d5c Updates for issue #146:
1)  Updated remove_spaces_before_character rule which whitespace_004 inherited.
  2)  Updated tests
2018-05-21 04:37:38 -05:00
Jeremiah C Leary 327f3a01e9 Updates for issue #122:
1)  Added if rules to lower case if, then, elsif, else, and end if keywords.
  2)  Added tests
  3)  Added documentation
2017-12-25 08:29:50 -06:00
Jeremiah C Leary 9d184f4b6a Updates for issue #113
1)  Added whitespace_008
  2)  Updated tests
  3)  Added documentation
2017-12-10 10:14:07 -06:00
Jeremiah C Leary c6a211d080 Adding code examples and tests to verify fixes. 2017-12-09 12:04:49 -06:00