fix flake8 issues

2 jobs for access in 4 minutes and 14 seconds (queued for 2 seconds)