No longer using waffle
Add flake8 config
Fix tests on py26
Raise FormatError if no valid format is detected