[py] address flake8 issues

Signed-off-by: Lucas Tierney <lucast1533@gmail.com>
Cr-Mirrored-From: https://chromium.googlesource.com/external/github.com/SeleniumHQ/selenium
Cr-Mirrored-Commit: d12315768ee364fa71fda686a7d2ed7a46cdef58
3 files changed