Skip to content

Commit ae21252

Browse files
committed
Reformat with black
1 parent adf454e commit ae21252

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

examples/mlx90640_camtest.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@
2828

2929
# parse command line arguments
3030
parser = argparse.ArgumentParser()
31-
parser.add_argument("--windowed", action="store_true",
32-
help="display in a window")
33-
parser.add_argument("--disable-interpolation", action="store_true",
34-
help="disable interpolation in-between camera pixels")
31+
parser.add_argument("--windowed", action="store_true", help="display in a window")
32+
parser.add_argument(
33+
"--disable-interpolation",
34+
action="store_true",
35+
help="disable interpolation in-between camera pixels",
36+
)
3537

3638
args = parser.parse_args()
3739

@@ -43,8 +45,9 @@
4345
if not args.windowed:
4446
screen = pygame.display.set_mode((0, 0), pygame.FULLSCREEN)
4547
else:
46-
screen = pygame.display.set_mode([32*WINDOW_SCALING_FACTOR,
47-
24*WINDOW_SCALING_FACTOR])
48+
screen = pygame.display.set_mode(
49+
[32 * WINDOW_SCALING_FACTOR, 24 * WINDOW_SCALING_FACTOR]
50+
)
4851
print(pygame.display.Info())
4952

5053
# the list of colors we can choose from

0 commit comments

Comments
 (0)