added flake8 configuration
whitespace
flake8 fixes