My latest changes follow your suggestion to simplify the purpose of the functions to make the code easier to maintain. I split the rules to check for expected versions from rules to find unexpected version.
I also changed all the checks to always return a list to make the contact simple and it is easy for the callee to extend the list of errors.
My latest changes follow your suggestion to simplify the purpose of the functions to make the code easier to maintain. I split the rules to check for expected versions from rules to find unexpected version.
I also changed all the checks to always return a list to make the contact simple and it is easy for the callee to extend the list of errors.