Flake8 check and modify