Commit Graph

25 Commits

Author SHA1 Message Date
Jeremiah C Leary 833804e93f Updates for issue #335
Updated comment rules to use violation dictionary for violation list.

  1)  Updated code
  2)  Updated tests
2020-02-16 19:33:01 -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
Will Kamp 3fc726654e Various changes so that hyphens inside double quotes are not treated as a comment marker. 2020-01-08 17:46:21 +13:00
Jeremiah C Leary 68c6a3860c Updates for issue #245
Fixed conflict between comment_007 and comment_008.

  1)  Renumbered comment_007 to comment_010.  This ensures it is ran after comment_008.
  2)  Updated documentation
  3)  Updated tests
2019-06-28 10:38:23 -05:00
Jeremiah C Leary 4590726788 Updates for issue #233
Added rules for comments above elsif and else keywords:

  1)  Added documentation
  2)  Added tests
  3)  Added comment_008 and comment_009 rules
2019-06-07 21:40:59 -05:00
Jeremiah C Leary 1948b70444 Updates for Codacy issues:
Removing trialing whitespaces.
2019-03-10 12:19:16 -05:00
Jeremiah C Leary ddf6b89587 Updates for Codacy issues. 2019-03-02 09:13:33 -06: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 3a44c978e2 Updated for issue #194
Added whitespace_012 to enforce a maximum number of consecutive blank lines.

  1)  Added documentation
  2)  Added test
  3)  Added rule
2019-02-05 19:34:20 -06:00
Jeremiah C Leary 48312d67e4 Fixing code style issues for codacy. 2018-06-20 20:15:03 -05:00
Jeremiah C Leary 69e569c992 Updates for issue #149:
1) Added command line option --fix_phase which will apply fixes up to and including that phase.
     Analysis will then be ran on all remaining phases.
  2) Updated tests
2018-06-20 19:47:49 -05:00
Jeremiah C Leary d66381f1ab Updates for issue #143:
1)  Swapped comment_001 and comment_007 to fix order execution
  2)  Updated documents
  3)  Updated tests
2018-05-18 06:28:32 -05:00
Jeremiah C Leary aa6ad0f388 Updates for issue #142:
1)  Enhanced test for comment_007
  2)  Updated comment_007 so it actually fixed the indent
2018-05-17 04:49:54 -05:00
Jeremiah C Leary 1be7b4d329 Updates for issue #138:
1)  Added comment_007 to handle comments above use keywords
  2)  Added documentation
  3)  Added tests
  4)  Updated function in check.py
2018-05-16 20:47:35 -05:00
Jeremiah C Leary b055aa9b1f Removing unused imports to address Codacy issues. 2017-12-24 07:32:32 -06:00
Jeremiah C Leary 9d59246cea Style updates for Codacy. 2017-12-23 21:47:07 -06:00
Jeremiah C Leary 9d558d4df6 Updates for issue #57:
1)  Added rule comment_006
  2)  Added documentation
  3)  Added tests
2017-12-14 06:19:38 -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 4e3ffd895a Updates for issue #61 and issue #70
1)  Comments after "when" statement are indented one level from "when"
  2)  Comments in entities are indented at the same level as ports
2017-11-24 06:53:12 -06:00
Jeremiah C Leary 5ae201bdf8 Updates for issue #24
1)  Added fixes for comment rules
  2)  Removed comment_002 so it could be refined later
2017-11-23 10:14:13 -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 71db5c79a1 Updates for issue #21:
1)  Added fixes for library issues
2017-11-18 08:24:20 -06:00
Jeremiah C Leary c47913b6c2 Updates for comment rules after running against example:
1)  Fixed issue with having a comment on the last line of a file
2017-11-09 20:59:59 -06:00
Jeremiah C Leary 9a24c677e0 Updates for comment rules:
1)  Flagging comments without a single space before them.
2017-10-15 12:13:45 -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