Skip to content

Commit ae94b2a

Browse files
committed
"Reformatted per new black version"
1 parent 7016d92 commit ae94b2a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

adafruit_imageload/bmp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def load(file, *, bitmap=None, palette=None):
5353
raise NotImplementedError("bitmask compression unsupported")
5454

5555
if colors == 0:
56-
colors = 2 ** color_depth
56+
colors = 2**color_depth
5757
from . import indexed
5858

5959
return indexed.load(

adafruit_imageload/bmp/indexed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def load(
5858

5959
if bitmap:
6060
minimum_color_depth = 1
61-
while colors > 2 ** minimum_color_depth:
61+
while colors > 2**minimum_color_depth:
6262
minimum_color_depth *= 2
6363

6464
if sys.maxsize > 1073741823:

0 commit comments

Comments
 (0)