jeremiah-c-leary / vhdl-style-guide

Style guide enforcement for VHDL
GNU General Public License v3.0
185 stars 38 forks source link

`architecture_025` has no solution message. #995

Closed t-aras closed 1 year ago

t-aras commented 1 year ago

Environment Version 3.15.0 OS: CentOS

Describe the bug The architecture rule architecture_025 doesn't have a solution. This leads to a Traceback error when JUnit or code quality reporting is enabled.

To Reproduce Steps to reproduce the behavior: use following my_rule.yaml file:

rule:
  architecture_025 :
    disable : False
    names :
      - arch

and following VHDL file, testfile.vhd:

entity test is
  port (
    clk : in    std_logic;
    rst : in    std_logic
  );
end entity test;

architecture testy of test is

begin

end architecture testy;

Expected behavior I expect following message as a solution: "Architecture identifier must be from this list: arch"

This message should be generated by _get_solution() but somehow this function is not called.