Skip to content

Commit 6377910

Browse files
committed
Re-ran Black locally
Formatting errors in jpg.py should be corrected now. PyCharm was using CRLF instead of LF line separators.
1 parent 72e7ae2 commit 6377910

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

adafruit_imageload/jpg.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
1313
"""
1414

15-
#A separate try for jpegio. Not every board supports it and this import may fail.
16-
#If that happens an ImportError with a proper message needs to be raised
15+
# A separate try for jpegio. Not every board supports it and this import may fail.
16+
# If that happens an ImportError with a proper message needs to be raised
1717
try:
1818
from jpegio import JpegDecoder
1919
except ImportError:
@@ -31,10 +31,12 @@
3131
__version__ = "0.0.0+auto.0"
3232
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ImageLoad.git"
3333

34-
def load(file: BufferedReader,
35-
*,
36-
bitmap: BitmapConstructor,
37-
) -> Tuple[Bitmap, Optional[ColorConverter]]:
34+
35+
def load(
36+
file: BufferedReader,
37+
*,
38+
bitmap: BitmapConstructor,
39+
) -> Tuple[Bitmap, Optional[ColorConverter]]:
3840
"""
3941
Loads a JPG image from the open ''file''.
4042
The JPG must be a Baseline JPG, Progressive and Lossless JPG formats are not supported.

0 commit comments

Comments
 (0)