Skip to content

Python test code refactoring - part 2#605

Draft
solidpixel wants to merge 11 commits intomainfrom
python2
Draft

Python test code refactoring - part 2#605
solidpixel wants to merge 11 commits intomainfrom
python2

Conversation

@solidpixel
Copy link
Copy Markdown
Contributor

@solidpixel solidpixel commented May 1, 2026

This PR refactors the Python test code to make it PEP8 compliant, add mypy typing, and fix most Pylint issues. Other style changes make it consistent with Python libraries used in other graphics-related Arm open-source projects.

TODO:

  • Refactor all the Python code in ./Test and subdirectories.
  • Add more tests to Actions to actually run the Python scripts with various flags to check they work (or at least don't crash).
  • Update Testing.md - it's out of date.
  • Drop support for < 5.0 compressors in the test suite, including dropping reference data as it's large.

@solidpixel solidpixel marked this pull request as draft May 1, 2026 21:06
@solidpixel solidpixel force-pushed the python2 branch 4 times, most recently from 446a398 to dea05e5 Compare May 1, 2026 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant