Commit Graph

19 Commits

Author SHA1 Message Date
Jeremiah Leary 3ea1035b03 Updates for issue #383:
VSG could not handle nested for loops if it was inside a procedure.
The second 'end loop' would also be classified as the 'end procedure'.

  1)  Updated tests to expose issue
  2)  Updated code to make tests pass
2020-05-04 20:06:12 -05:00
Jeremiah C Leary 01746e70ea Merge branch 'master' into issue-362 2020-03-31 21:16:50 -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
Michał Kruszewski b6226ecb7d Set the default case to lowercase for all case rules. 2020-03-29 21:26:15 +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 61b28c0648 Update for issue #335
Updated for_loop rules to use a dictionary for the violations list.

  1)  Updated code
  2)  Updated tests
2020-02-16 17:32:27 -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
Michał Kruszewski 7666fae485 Make case_rule to use violations attribute for fixing errors. 2020-02-15 16:51:01 +01:00
Jeremiah C Leary be51fdff4a Updates for issue #288:
Updated rule for_loop_003 to allow for case configuration.

  1)  Updated documentation
  2)  Updated tests
  3)  Update rule for_loop_003 to allow for upper or lower case.
2019-12-01 07:51:17 -06:00
Jeremiah C Leary 81ce015d1c Updates for issue #227
Adding three rules:  for_loop_003, for_loop_004, and for_loop_005.

  1)  Added documentation for new rules
  2)  Added tests for new rules
  3)  Refactored tests for rules 001 and 002
  4)  Added rules 003, 004, and 005
2019-04-09 19:36:50 -05:00
Jeremiah C Leary 51a4aac729 Updates for issue #227
Adding check for loop label.
2019-04-09 18:58:02 -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 98c542bae5 Refactored for_loop rules and added documentation. 2017-12-16 16:11:40 -06:00
Jeremiah C Leary 9cf6f07c0c Updates for issue #29
1)  Added fixes for for loops.
2017-11-22 21:46:49 -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 418fd72d7b Updates for for loop rules:
1)  Added indent rules for for loops
2017-11-05 15:34:21 -06:00
Jeremiah C Leary 4d1388c2d1 Updates for for loops:
1)  Fixed issue where "end loop" was not detected in nested for loops
2017-11-05 15:21:59 -06:00
Jeremiah C Leary d83c9c3512 Updates for for loop rules:
1)  Added attributes for for loops into line class
  2)  Added populating attributes into vhdlFile class
2017-10-15 08:02:13 -05:00