flake8

also contains some more codes for kansas