Closed klauer closed 4 years ago
Really like the goal of this! Do you have a specific tmc file you've been testing this with? I might be doing something wrong but I haven't been able to come up with a line that actually trips the detailed error call-out.
This one should trigger it, I ran into them while trying to help Jing build her IOC: https://raw.githubusercontent.com/jyin999/lcls-plc-tmo-vac/27fd16e8ff17754c240024107af3f2b872856afb/plc-tmo-vac/plc-tmo-vac/PLC_TMO_VAC/PLC_TMO_VAC.tmc
The short of it is that a line didn't have a 'tag' in it, so it just bailed (e.g., use the pragma MR1K4_SOMS_PIP_01
and see what happens)
(Tests were failing due to a new version of flake8 now being more stringent, not really due to changes in this PR)
Result looks like this:
The output would look better if there were multiple lines, something like: