Commit Graph

19 Commits

Author SHA1 Message Date
Michał Kruszewski e3805c9d54 Replace extract_first_keyword calls with extract_words function. 2020-01-20 21:17:41 +01:00
Michał Kruszewski d166aa461b Fix case rules for port rules. 2019-12-11 21:42:10 +01:00
Jeremiah C Leary dd4ff0bb08 Updates for issue #295
Remerging pull request #293.
2019-12-01 16:57:57 -06:00
Jeremiah Leary ed7738c341
Revert "Make instantiation rule_011 inherit from case_rule." 2019-11-23 07:12:04 -06:00
Jeremiah Leary a02e679113
Merge pull request #293 from m-kru/inst_rule_011
Make instantiation rule_011 inherit from case_rule.
2019-11-23 08:07:43 -05:00
Michał Kruszewski 2a20fbffcf Make instantiation rule_011 inherit from case_rule.
During this change it turned out that there was a bug in how
case was fixed for case rule. It is now fixed, because words that
needs fixing are now stored per line, not per file like it was
previously.
2019-11-21 18:28:57 +01:00
Michał Kruszewski c7aa7a7f36 Fix bug where no type on signal declaration line raised exception. 2019-11-21 14:55:22 +01:00
Jeremiah C Leary ac3fb3a385 Updates for issue #283:
Whitespace_011 would add a space between a - and a number.
This is a partial fix to not flag this issue.
Additional work is needed to handle the generic case.
2019-10-27 21:02:12 -05:00
Michał Kruszewski 996febb7a0 Add prefix and suffix rules. 2019-10-16 11:53:58 +02:00
Michał Kruszewski 694625b024 Make case rule 014 use case_rule as a base. 2019-10-07 16:13:27 +02:00
Michał Kruszewski abfa9cab24 Replace lowercase_word_after_colon_rule with case_rule. 2019-10-07 14:26:12 +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 33995b81bb Make constatnt rule 011 use case_rule as a base. 2019-10-07 11:53:04 +02:00
Michał Kruszewski ea870a3e68 Add extract_class_name function. 2019-10-02 10:15:26 +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 C Leary 0c87b5bb70 Updates for issue #224
Switched general_001 to signal_014:

  1)  Removed rule general_001
      a)  Removed documentation
      b)  Removed tests
      c)  Removed rule
  2)  Added signal_014 to validate signal names are consistently cased
      a)  Added documentation
      b)  Added tests
      c)  Added rule signal_014
      d)  Added extract_signal_names procedure in utils.py
2019-03-30 20:11:13 -05:00
Jeremiah C Leary f334f12c21 Updates for issue #224
Adding updated test for extract_non_keywords.
2019-03-27 21:28:02 -05:00
Jeremiah C Leary c58225f1b8 Updates for issue #224
Adding more vhdl reserved words.
Renamed extract_keywords to extract_non_keywords.
2019-03-27 21:21:59 -05:00
Jeremiah C Leary f98742557e Updates for issue #224
Added extract_keywords procedure to utils
Added tests

NOTE:  This still needs work.
2019-03-25 20:55:26 -05:00