Commit Graph

891 Commits

Author SHA1 Message Date
Michał Kruszewski abfa9cab24 Replace lowercase_word_after_colon_rule with case_rule. 2019-10-07 14:26:12 +02:00
Michał Kruszewski b2b5e822d5 Remove uppercase_end_label rule. 2019-10-07 14:08:48 +02:00
Michał Kruszewski 5c7fd7dfef Remove uppercase_word_rule. 2019-10-07 13:48:23 +02:00
Michał Kruszewski c63da7b0d5 Make port rule 010 use case_rule as a base. 2019-10-07 13:46:59 +02:00
Michał Kruszewski ee89f6c246 Make component rule 008 use case_rule as a base. 2019-10-07 13:31:11 +02:00
Michał Kruszewski 1ab6239b88 Make entity rule 008 use case_ruse as a base. 2019-10-07 13:26:40 +02:00
Michał Kruszewski 3088c21dac Make instantiation rule 008 use case_rule as a base. 2019-10-07 13:05:15 +02:00
Michał Kruszewski 0bfac98c55 Remove lowercase_word_rule. 2019-10-07 12:09:39 +02:00
Michał Kruszewski 0e7c1b3fc5 Make type rule 004 use case_rule as a base. 2019-10-07 12:06:35 +02:00
Michał Kruszewski 417f29f3dc Make varabiel rule 004 use case_rule as a base. 2019-10-07 12:00:46 +02:00
Michał Kruszewski 33995b81bb Make constatnt rule 011 use case_rule as a base. 2019-10-07 11:53:04 +02:00
Michał Kruszewski 9a2a84ba0c Fix failed tests issue. 2019-10-02 13:38:18 +02:00
Michał Kruszewski 43250de2e9 Commit with case_rule concept. 2019-10-02 11:49:39 +02:00
Michał Kruszewski ff011c762d Use case_rule for constant_rule_002.py 2019-10-02 10:57:42 +02:00
Michał Kruszewski ea870a3e68 Add extract_class_name function. 2019-10-02 10:15:26 +02:00
Michał Kruszewski 761f5fc938 Make extract_type_name function return list. 2019-10-02 09:34:59 +02:00
Michał Kruszewski 5b38a20c6b Replace 3 extract_'vhdl_class'_name(s) functions with single extract function.
According to the VHDL standard there are 4 classes:
constant, variable, signal, file.

This change is a preparation change for unifying case rules.
2019-10-02 09:30:17 +02:00
Jeremiah Leary a74d8963eb
Merge pull request #254 from m-kru/master
Add rule for checking if generic name starts with G_.
2019-09-24 20:56:58 -05:00
Michał Kruszewski 2b9c9a7f8d Add rule for checking if generic name starts with G_. 2019-09-24 21:05:28 +02:00
Jeremiah C Leary 73192f0e1b Preparing for release 0.41 2019-09-20 07:05:06 -05: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 089470d787 Changing version to a string so trailing zeros are not dropped. 2019-09-08 07:34:20 -05:00
Jeremiah C Leary fa2f03dd41 Fixing formatting issue which was preventing publishing to pypi. 2019-09-08 07:29:56 -05:00
Jeremiah C Leary 6635ba792b Preparing for relesae 0.40 2019-09-08 07:14:47 -05:00
Jeremiah C Leary 2eb03b720a Updates for issue #248:
Added rule after_003 to detect and remove after assignments in a reset portion of a clock process:

  1)  Added documentation
  2)  Added rule after_003
  3)  Added tests
2019-09-08 07:01:39 -05:00
Jeremiah C Leary a6d82e7bbe Updates for issue #248:
Updated the process classifier to update the insideResetProcess line attribute.
2019-09-08 06:40:01 -05:00
Jeremiah C Leary 24cc35f7f1 Updates for issue #248:
Updating after tests to include after 1 ns in reset process.
2019-09-08 06:10:27 -05:00
Jeremiah C Leary 52ceb5c34a Updates for issue #242
Added new functions to handle checking and fixing multiple spaces.
The original functions which checked single spaces call the new functions.
2019-09-07 17:35:20 -05:00
Jeremiah C Leary 10097efbdc Removing two tests that are failing Travis CI but pass locally.
Need to investigate why.
2019-09-07 10:59:32 -05:00
Jeremiah C Leary 97c9d41c2d Attempting to fix travis CI error. 2019-09-07 08:44:06 -05:00
Jeremiah C Leary 41653e3cba Updates for issue #251:
Fixed issue where ports in an instantiation which started with "end" were classified as the end of the architecture.
Fixed issue where concurrent assignments which started with "end" were classified as the end of the architecture.

  1)  Added tests
  2)  Updated architecture classifier
2019-09-07 07:57:01 -05:00
Jeremiah C Leary 8b145bffd7 Trying to figure out why the README will not publish to pypi. 2019-07-03 21:23:31 -05:00
Jeremiah C Leary b49228af3f Updating usage for version argument. 2019-07-03 21:00:43 -05:00
Jeremiah C Leary 187f72bac3 Clarifying solution for whitespace_011. 2019-07-03 20:40:34 -05:00
Jeremiah C Leary f7a726ee10 Updates for issue #247:
Added exception for / between double quotes.
2019-07-03 20:29:57 -05:00
Jeremiah C Leary 291de34f38 Merge branch 'master' of https://github.com/jeremiah-c-leary/vhdl-style-guide 2019-06-30 18:19:01 -05:00
Jeremiah C Leary d9d1940cda Updates for issue #195
Added rule to align after keyword in clock processes.

  1)  Added documentation
  2)  Added rule after_002
  3)  Added tests
2019-06-28 19:31:10 -05:00
Jeremiah C Leary 24ca5e6788 Refactored keyword_alignment_rule to use _pre_analyze method. 2019-06-28 19:09:45 -05:00
Jeremiah C Leary 9278cba2af Removing debug print statement. 2019-06-28 18:52:23 -05:00
Jeremiah C Leary 952e4771b9 Update for issue #196:
Added fix logic for rule after_001.
  1)  Added configurable attributes magnitude and units
  2)  Updated documentation
  3)  Updated tests
  4)  Updated clock process classification to detect clock processes without resets
2019-06-28 18:43:40 -05:00
Jeremiah C Leary e6ff07855c Updates for issue #196
Adding test for after statement in clock process:

  1)  Enhanced testing
  2)  Added after_001 rule
  3)  Updated documentation
  4)  Fixed bug in detecting the end of a sequential statement
  5)  Updated classification logic
2019-06-28 15:12:44 -05: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 9dfa8c81cc Fixing indent on NOTE. 2019-06-28 10:36:38 -05:00
Jeremiah C Leary 596bbdb7a1 Fixing solution statement to be more specific. 2019-06-28 08:22:26 -05:00
Jeremiah C Leary 3623151b5b Updates for issue #246
1) Added version argument to display version.
2) Refactored version information to reside in a single file.
   a)  setup.py references this file
   b)  conf.py references this file
   c)  version argument references this file
2019-06-28 07:48:37 -05:00
Jeremiah C Leary 86ee77d219 Adding extra space so pypi deploys will work. 2019-06-28 07:26:54 -05:00
Jeremiah Leary b1df6201e3
Merge pull request #243 from dominiksalvet/github-templates
Add GitHub issue and pull request templates
2019-06-15 07:52:00 -04:00
Dominik Salvet 83eec4c8d5 Add GitHub issue and pull request templates 2019-06-15 01:10:15 +02:00
Jeremiah C Leary da3f453556 Added twitter button. 2019-06-10 22:44:20 -05:00
Jeremiah C Leary 4933d3cb78 Fixing README file. 2019-06-09 21:31:39 -05:00