Commit Graph

22 Commits

Author SHA1 Message Date
Michał Kruszewski d90e126c87 Move comment rule 005 to case rule 021. 2020-03-29 11:40:03 +02:00
Jeremiah C Leary 7d940306ec Updates for issue #314 and issue #333:
Issue #314:

Updated all label rules to use utils.extract_label or utils.extract_end_label:

  1) Added utils.extract_end_label
  2) Added more end label attributes to line.py
  3) Updated classifiers to set the new end label attributes
  4) Updated tests
  5) Updated rules to use utils.extract_label or utils.extract_end_label

Issue #333:

Fixed bug where nested generate labels were not updated correctly:

  1)  Added test case
  2)  Updated code
2020-02-23 10:51:44 -06: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 ec35a15d3a Updates for issue #191
Added rules case_019 and case_020 to remove labels on case statements:

  1)  Added rule case_019
  2)  Added rule case_020
  3)  Added documentation
  4)  Added tests
  5)  Fixed mis-classification of cases with labels
2018-12-12 19:03:15 -06:00
Jeremiah C Leary e8de82199d Updates for codacy issues. 2018-12-12 15:45:40 -06:00
Jeremiah C Leary f8e2bc0e13 Updates for issue #184
1)  Added case_017 rule to check for lowercase end keyword in end case.
2018-11-29 21:01:23 -06:00
Jeremiah C Leary 04d960a6b9 Updates for issue #184
1)  Added case_016 to check for lowercase when keyword
2018-11-29 20:49:45 -06:00
Jeremiah C Leary 2b92cd1830 Updates for issue #184
1)  Added case_015 to check for lowercase is keyword
  2)  Refactored lower_case_rule.py to check every word in a non commented line instead of just the first.
2018-11-29 20:33:58 -06:00
Jeremiah C Leary 2788662c4d Updates for issue #184
Added case_014 to check for lowercase "case" keyword.
2018-11-29 20:10:36 -06:00
Jeremiah C Leary ec29156679 Updates for issue #155
1)  Updated tests to detect issue
  2)  Updated utilities.reclassify_line to not classify null statements as sequential statements
2018-08-18 07:17:11 -05:00
Jeremiah C Leary 4ccbfc5f75 Updates for issue #156
1)  Updated tests to detect comment issue
  2)  Updated utilities.reclassify_line to detect comment
2018-08-18 06:54:40 -05:00
Jeremiah C Leary b055aa9b1f Removing unused imports to address Codacy issues. 2017-12-24 07:32:32 -06:00
Jeremiah C Leary b02506109f Updates for issue #16
1)  Added rule comment_005
  2)  Added documentation
  3)  Added test cases
  4)  Refactored case classification to remove indenting comments above when keywords
      a)  Updated tests
2017-12-13 22:16:07 -06:00
Jeremiah C Leary 38cc1c4ae9 Updates for case_012:
1)  Fixed crashing issue
  2)  Fixed indenting of code after =>
2017-12-13 19:22:19 -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 65ab5066ff Updates for issue #95
1)  New test class indent_rule added
  2)  Added rule for indenting nulls in cases
2017-12-02 19:21:25 -06:00
Jeremiah C Leary 4a880fca23 Updates for issue #90
1)  Moved utils.py under tests directory as it was related only to tests.
2017-11-30 06:18:57 -06:00
Jeremiah C Leary cd908b8e78 Updates for issue #78
1)  Fixed issue in which lines being split were being deleted instead.
2017-11-25 11:23:19 -06:00
Jeremiah C Leary d3fed0055e Updates for issue #23
1)  Added fixes for rules
2017-11-22 21:23:36 -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 3769a7ff61 Updates for issue #20:
1)  Added more fixes for indents.
2017-11-17 22:15:07 -06:00