@comparator<EOL>def limit_exceed(to_validate, constraint, violation_cfg):
if to_validate > constraint:<EOL><INDENT>violation_cfg[Check.CFG_KEY_VIOLATION_MSG] = violation_cfg[Check.CFG_KEY_VIOLATION_MSG].format(constraint)<EOL>return violation_cfg<EOL><DEDENT>else:<EOL><INDENT>return None<EOL><DEDENT>
Compares 2 values and returns violation message if validated value bigger than constraint
:param to_validate:
:param constraint:
:param violation_cfg:
:return: