ScreenShot.pixels returns a list where each element is a tuple representing a row of pixels. Each of these tuples contain "Pixel"'s. The current model incorrectly hints the return value of ScreenShot.pixels as a list containing "Pixel"s.
Model for Pixels changed to reflect the true nature of the data
It is very important to keep up to date tests and documentation.
Changes proposed in this PR
ScreenShot.pixels returns a list where each element is a tuple representing a row of pixels. Each of these tuples contain "Pixel"'s. The current model incorrectly hints the return value of ScreenShot.pixels as a list containing "Pixel"s.
It is very important to keep up to date tests and documentation.
Is your code right?
flake8
passed