Update flake8 and pycodestyle tests for modern versions of the tools.

Review Request #12890 — Created March 14, 2023 and submitted — Latest diff uploaded

Information

ReviewBot
release-3.x

Reviewers

Recent versions of flake8 and pycodestyle now report different results
for the code samples we provide in the unit tests. This meant that the
simulation tests would pass, but the integration tests would fail.

The tests now check for different variations of results for flake8, and
we use different sample code for pycodestyle, ensuring tests pass with
modern versions.

Unit tests pass with new versions of all the tools.

Commits

Files