Switched to flake8
Renamed txt files to rst, fixed test regexp to match dev package.