Map pep8 messages to warnings and pyflakes messages to errors; refs #241