Fix flake8 errors

2 jobs from instance_auth in 1 minute 21 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #1209
flake8

00:19

passed #1210
test

01:01