validating code according to flake8
disable flake8 checks for settings import
add flake8 check to travis