Commit Graph

12 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 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
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 f42e698c31 Updates for issue #219
Changed utilities to utils.
2019-03-23 07:43:53 -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
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 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 dbbb0bfb80 Updates for issue #117
1)  Fixed if rules to detect keywords next to semicolons and closing parenthesis.
2017-12-17 11:36:12 -06:00
Jeremiah C Leary 185d891b77 Updates for issue #87 and #89
1)  Fixed when being classified as a sequential statement
  2)  Refactored if_022 and if_024
  3)  Added code example
  4)  Enhanced testing
2017-12-13 06:26:19 -06:00
Jeremiah C Leary efd8ad6334 Fixed issue where splitting line after then did not clear the isElseIfKeyword attribute. 2017-12-12 21:08:20 -06:00
Jeremiah C Leary f49cd58bad Updates for issue #77
1)  Additional classification added for return and variable assignments.
2017-12-12 20:18:31 -06:00
Jeremiah C Leary dea12145b6 Updates for issue #77
1)  Initial commit of code to fix indenting issue
  2)  Ranamed rules so they would execute in the correct order
  3)  Added documentation
  4)  Updated test cases
2017-12-12 19:59:45 -06:00