vhdl-style-guide/tests/vsg
Alon Bar-Lev cd881588e5
vsg: print file name when ClassifyError (#1210)
In current implementation the user see something like the following when
ClassifyError is raised:

    Error: Unexpected token detected while parsing procedure_call_statement @ Line 49, Column 22 in file None
           Expecting : ;
           Found     : )

In a project that contains multiple files, the user is clueless as he does not
know which of the files caused the error.

This change adds the name of the file to the message.

    Error while processing xxx:
    Error: Unexpected token detected while parsing procedure_call_statement @ Line 49, Column 22 in file None
           Expecting : ;
           Found     : )

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2024-09-22 20:45:46 -05:00
..
deprecated_option style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
indent Issue#1189: Adding error reporting for invalid indent configurations. (#1194) 2024-07-08 20:48:01 -05:00
junit style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
local_rules style: apply black 2024-03-24 21:16:35 +02:00
pragmas style: apply json 2024-03-24 21:16:35 +02:00
read_configuration_files Issue#1145: Fixing invalid JSON test files and documentation. (#1165) 2024-04-13 06:08:47 -05:00
syntastic style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
__init__.py tests: move out of vsg 2024-03-23 18:48:35 +02:00
config_1.json style: apply json 2024-03-24 21:16:35 +02:00
config_1.yaml tests: move out of vsg 2024-03-23 18:48:35 +02:00
config_2.json style: apply json 2024-03-24 21:16:35 +02:00
config_2.yaml tests: move out of vsg 2024-03-23 18:48:35 +02:00
config_3.json style: apply json 2024-03-24 21:16:35 +02:00
config_3.yaml tests: move out of vsg 2024-03-23 18:48:35 +02:00
config_4.json style: apply json 2024-03-24 21:16:35 +02:00
config_4.yaml tests: move out of vsg 2024-03-23 18:48:35 +02:00
config_deprecated_option_in_global.yaml tests: move out of vsg 2024-03-23 18:48:35 +02:00
config_deprecated_option_in_rule_group.yaml tests: move out of vsg 2024-03-23 18:48:35 +02:00
config_error.expected.xml tests: move out of vsg 2024-03-23 18:48:35 +02:00
config_error.json tests: move out of vsg 2024-03-23 18:48:35 +02:00
config_file_rules.yaml tests: move out of vsg 2024-03-23 18:48:35 +02:00
config_glob.json style: apply json 2024-03-24 21:16:35 +02:00
config_glob.yaml tests: move out of vsg 2024-03-23 18:48:35 +02:00
config_glob_with_file_rules.yaml tests: move out of vsg 2024-03-23 18:48:35 +02:00
config_rule_disabled_under_file.yaml tests: move out of vsg 2024-03-23 18:48:35 +02:00
entity1.vhd style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
entity2.vhd style: apply end-of-file-fixer 2024-03-24 21:16:35 +02:00
entity_architecture.fixed.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
entity_architecture.vhd tests: move out of vsg 2024-03-23 18:48:35 +02:00
json-expected.json tests: move out of vsg 2024-03-23 18:48:35 +02:00
missing_file_config.yaml tests: move out of vsg 2024-03-23 18:48:35 +02:00
rc_config.json tests: move out of vsg 2024-03-23 18:48:35 +02:00
rc_global_config.json tests: move out of vsg 2024-03-23 18:48:35 +02:00
test_indent.py Issue#1189: Adding error reporting for invalid indent configurations. (#1194) 2024-07-08 20:48:01 -05:00
test_main.py vsg: print file name when ClassifyError (#1210) 2024-09-22 20:45:46 -05:00
test_parser.py style: apply black 2024-03-24 21:16:35 +02:00
test_pragma.py style: apply black 2024-03-24 21:16:35 +02:00
test_rc.py style: apply black 2024-03-24 21:16:35 +02:00
test_vsg.py style: apply black 2024-03-24 21:16:35 +02:00