Description
As noted on issue 1054, I get a Traceback running the branch with a 'pragma' key / 'patterns' sub-key in my configuration.yaml
File ... /vsg/__main__.py, line 153, in main
for tResult in pool.imap(f, enumerate(commandLineArguments.filename)):
File "/usr/lib/python3.10/multiprocessing/pool.py", line 873, in next
raise value
KeyError: 'regexp'
This patch resolves that, by running add_pragma_regular_expressions on dConfig, not on dStatus.
Description As noted on issue 1054, I get a Traceback running the branch with a 'pragma' key / 'patterns' sub-key in my configuration.yaml
This patch resolves that, by running
add_pragma_regular_expressions
on dConfig, not on dStatus.