Commit Graph

21 Commits

Author SHA1 Message Date
Jeremiah C Leary b80491d673 Updates for issue #335
Updated concurrent rules to use a dictionary for the violations list.

  1)  Updated code
  2)  Updated tests
2020-02-16 09:56:46 -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 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 2dc372a6f4 Updates for issue #335
Updated rules using is_single_space_after_character_rule to use dictionaries for entries in the violation list.

  1)  Updated tests
  2)  Updated code
2020-02-15 18:58:47 -06:00
Jeremiah C Leary 24b722b7f9 Updates for issue #235:
Additional tests to catch corner cases.

  1)  Updated tests
  2)  Updated rule concurrent_003
2019-12-04 10:07:54 -06:00
Jeremiah C Leary c4dfadd776 Updates for issue #235:
Added more complex test inputs with parenthesis.

NOTE:  Refactoring has been completed.
2019-12-04 09:04:40 -06:00
Jeremiah C Leary 8309e4a670 Updates for issue #235:
Added test to validate correct alignment after the fix is applied.
2019-12-04 08:38:23 -06:00
Jeremiah C Leary 1a5aa37f7a Updates for issue #235:
Adding parenthesis alignment to rule concurrent_003.

  1)  Updated documentation
  2)  Added tests
  3)  Updated rule concurrent_003

NOTE:  This in an interim commit before refactoring.
2019-12-04 08:30:41 -06:00
Jeremiah C Leary 92cd35d427 Updates for issue #252:
Fixed a bug where comment_004 was being flagged after rule concurrent_007 was applied.
Rule concurrent_007 was not handling the comment attributes of the line being split.
It was also not handling the concurrent attributes correctly.

 1)  Updated tests
 2)  Updated rule concurrent_007
2019-09-20 06:55:38 -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 95b6f907c8 Updates for issue #172
Fixed mis-classification of less than or equal to (<=) in concurrent statements:

  1)  Updated tests
2018-11-01 19:21:41 -05:00
Jeremiah C Leary 765b6f894d Updates for issue #147:
1)  else's in comments are ignored
  2)  Updated tests
2018-05-24 04:55:10 -05:00
Jeremiah C Leary ccd896f13e Fixed classification of concurrent assignments when () was in the name. 2017-12-14 20:02:19 -06:00
Jeremiah C Leary 8d58d5c50d Updates for issue #68
1)  Added concurrent_008 to align comments.
2017-11-24 06:03:50 -06:00
Jeremiah C Leary 6a53893319 Updates for issue #64
1) Updated rules to detect single quote after else so it can be moved to the next line.
2017-11-23 15:20:38 -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 6bfb8f3457 Updates for issue #26:
1)  Added fixes for concurrent rules
2017-11-21 05:32:02 -06:00
Jeremiah C Leary 6352da8b3a Updates for concurrent rules:
1)  Added rule to flag code after "else" keyword.
2017-10-08 07:15:57 -05:00
Jeremiah C Leary d4a8315af3 Updates after running on another example:
1)  Updated conflict between case and if rules
  2)  Updated concurrent rule for spacing after =>
  3)  Updated instantion to detect port assignments on same line as port map keyword
  4)  Update case to ensure sequential assignment is not on same line as when keyword
  5)  Updated port assignment to ensure at least one space before :
2017-10-07 18:44:08 -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