Commit Graph

37 Commits

Author SHA1 Message Date
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
Michał Kruszewski 0f0ec0f47c Refactor keyword alignment rules - part 2. 2020-03-17 11:22:25 +01:00
Michał Kruszewski 2f08a64bda Refactor keyword alignment rules. 2020-02-24 21:14:44 +01:00
Jeremiah C Leary 3f5d3b803f Updates for issue #335:
Updated generic rules to use dictionary for the violations list.

  1)  Updated code
  2)  Updated tests
2020-02-16 15:03:59 -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 1457ef9316 Updates for issue #335:
Updated tests using base rule vsg.rules.remove_blank_lines_above_rule to use the violations attribute as a list of violation dictionaries.

  1)  Updated code
  2)  Updated tests
2020-02-15 18:38:51 -06:00
Jeremiah C Leary fdcdf2d909 Updates issue #335:
Updated rules using vsg.check.has_prefix to use the violations list in the fix phase:

  1)  Updated tests
  2)  Updated vsg.check.has_prefix to push a dictionary into the violation list
2020-02-15 16:25:59 -06:00
Jeremiah C Leary fb4c5ca972 Updates for issue #335:
Updated rules based on the single_space_after_rule and multiple_spaces_after_rule base rules:

  1)  Updated rules to use violations list for the fix phase
  2)  Updated tests
2020-02-15 16:12:47 -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 d6433affe9 Adding tests to improve code coverage. 2019-10-17 21:14:07 -05:00
Jeremiah C Leary f866d1d89b Updates for Codacy issues. 2019-10-15 18:40:43 -05:00
Jeremiah C Leary 246ec03dd1 Updates for issue #263
Rules generic_013 and port_016 were not handling std_logic_vectors:

  1)  Updated tests
  2)  Updated rule generic_013
  3)  Updated rule port_016
2019-10-11 15:27:09 -05:00
Jeremiah C Leary fcb59f21d4 Updates for issue #238:
Added generic_019 to check for blank lines above the );.

  1)  Added documentation
  2)  Added tests
  3)  Refactored generic tests to use setUp method
  4)  Implemented rule
2019-06-06 20:08:04 -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 c8a026dbc8 Update issue #212
1)  Refactored generic tests into new file from instantion test file
2019-02-24 10:03:19 -06:00
Jeremiah C Leary db8800bb9a Updates for issue #136:
1)  Added test for generics in components without default assignments
  2)  Fixed check.py to handle issue
2018-05-04 21:43:55 -05:00
jcleary cef1a0a7a0 Updating classifiers to handle more conditions. 2017-12-29 21:03:16 -06:00
Jeremiah C Leary 9d59246cea Style updates for Codacy. 2017-12-23 21:47:07 -06:00
Jeremiah C Leary 9ea00c4c66 Updates for handling ('s not on the same line as port and generic keywords.
1)  Added generic_018, port_021, instantiation_025, and instantiation_026
  2)  Added some documentation
  3)  Added test cases
2017-12-19 20:52:38 -06:00
Jeremiah C Leary 1641642910 Refactored generic rules and added documentation. 2017-12-17 09:55:10 -06:00
Jeremiah C Leary 70a239b107 Updates for issue #112
1)  Added constant_011, generic_017
  2)  Updated signal_010
  3)  Added documentation
  4)  Updated tests
  5)  Updated code examples
2017-12-10 16:43:16 -06:00
Jeremiah C Leary 96d9fc9608 Updates for code example c16. 2017-12-09 21:05:50 -06:00
Jeremiah C Leary a0d5e28482 Updates for issue #47
1)  Fix added for generic_016
  2)  Added documentation
  3)  Enhanced testing
2017-12-08 07:05:54 -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 8a7ceaeb93 Updates for issue #74
1)  Removing debug code.
2017-11-24 22:53:51 -06:00
Jeremiah C Leary 8bb6e69d9d Updates for issue #74
1)  Fixed indent issue when moving generic declaration to it's own line.
2017-11-24 22:42:28 -06:00
Jeremiah C Leary df56033830 Updates for issue #63
1)  Fixed indent issue.
2017-11-23 15:02:20 -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 25a2d4e91c Updates for issue #32:
1) Added fixes for generic rule violations
  2) Removed generic rule 011
2017-11-19 06:58:01 -06:00
Jeremiah C Leary 1759dcbb05 Updates for generic rules:
1)  Multiple generics defined on a single line are flagged.
2017-10-08 14:21:35 -05:00
Jeremiah C Leary 40b23d6e5f Updates for generic rules:
1)  Added alignment of := operator.
2017-10-07 15:18:23 -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