fix #1180
flake8