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

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

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.

Summary ID
Update flake8 and pycodestyle tests for modern versions of the tools.
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.
2653bb0390599926956a5142ac092d21c512d579
david
  1. Ship It!
  2. 
      
maubin
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.x (d644a45)