Fix lint exposed by a newer version of flake8
This MR fixes some minor lint exposed when using a version of flake8 newer than the pinned 3.7.7.
Maintenance will be performed on git.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 23 April 2024 starting at approximately 9am PDT. It is expected to take around twenty minutes and there will be several periods of downtime throughout the maintenance. Please address any comments, concerns, or questions to the helpdesk.
This MR fixes some minor lint exposed when using a version of flake8 newer than the pinned 3.7.7.