Skip to content

Commit 706cade

Browse files
committed
Linted and reformatted
1 parent 255bfe1 commit 706cade

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

circuitpython_typing/pil.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,18 @@
1919
except ImportError:
2020
from typing_extensions import Protocol
2121

22+
2223
class PixelAccess(Protocol):
24+
"""Type annotation for PIL's PixelAccess class"""
2325

26+
# pylint: disable=invalid-name
2427
def __getitem__(self, xy: Tuple[int, int]) -> int:
2528
"""Get pixels by x, y coordinate"""
2629
...
2730

31+
2832
class Image(Protocol):
33+
"""Type annotation for PIL's Image class"""
2934

3035
@property
3136
def mode(self) -> str:

0 commit comments

Comments
 (0)