Commit Graph

23 Commits

Author SHA1 Message Date
Jeremiah Leary b2a57f4c93 Refactored rules library_009 and comment_010 to use tokens.
1)  Added new methods to line.py
  2)  Copied fix.py to fix_item.py to mirror function that use tokens
2020-08-09 12:17:29 -05:00
Jeremiah Leary d164cba484 Updates for issue #402:
Adding rule severity feature:

  1)  Added documentation
  2)  Code updates
      a)  Added new module vsg.severity
      b)  Upated code to handle rule severities
  3)  Added tests vsg/tests/severity
2020-07-04 13:55:15 -05:00
Jeremiah Leary a1322167a4 Updates for issue #350:
Refactored methods fix and check_rules on rule_list class to use defaults:

  1)  Updated methods fix and check_rules
  2)  Updated tests
2020-05-20 07:14:05 -05:00
Jeremiah Leary 7d7712a6e7 Updates for issue #350:
Adding minimal style:

  1)  Added minimal configuration YAML file
  2)  Added Ability to skip phases via style configuration
  3)  Added style tests
2020-05-19 16:53:50 -05:00
Michał Kruszewski 9cab593876 Move comment rules 008 and 009 to if rules 032 and 033. 2020-03-29 12:46:52 +02:00
Michał Kruszewski d90e126c87 Move comment rule 005 to case rule 021. 2020-03-29 11:40:03 +02:00
Michał Kruszewski 0f0ec0f47c Refactor keyword alignment rules - part 2. 2020-03-17 11:22:25 +01: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 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 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 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