HH-37909 review fixes: added pep8 test, better version parsing, removed ordered_dict, etc.