Skip to content
This repository was archived by the owner on Jul 19, 2022. It is now read-only.

Commit 1220d05

Browse files
committed
Format with black
1 parent e9e0066 commit 1220d05

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

felicette/sat_processor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ def process_landsat_rgb(id, bands):
147147
# display generated image
148148
display_file(paths["output_path_jpeg"])
149149

150+
150151
def process_landsat_data(id, bands):
151152

152153
if bands == [2, 3, 4] or bands == [2, 3, 4, 8]:

felicette/utils/sys_utils.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ def exit_cli(message):
77
rprint("%s" % message)
88
sys.exit(0)
99

10+
1011
def display_file(file_name):
1112
"""
1213
Open given file with default user program.
1314
"""
14-
if sys.platform.startswith('linux'):
15-
os.system('xdg-open %s' % file_name)
15+
if sys.platform.startswith("linux"):
16+
os.system("xdg-open %s" % file_name)
1617

17-
elif sys.platform.startswith('darwin'):
18-
os.system('open %s' % file_name)
18+
elif sys.platform.startswith("darwin"):
19+
os.system("open %s" % file_name)

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"rasterio==1.1.5",
1616
"rio-color==1.0.0",
1717
"pillow==7.2.0",
18-
"opencv-python==4.3.0.36"
18+
"opencv-python==4.3.0.36",
1919
]
2020

2121
setup(
@@ -37,7 +37,7 @@
3737
# As from http://pypi.python.org/pypi?%3Aaction=list_classifiers
3838
# 'Development Status :: 1 - Planning',
3939
# "Development Status :: 2 - Pre-Alpha",
40-
'Development Status :: 3 - Alpha',
40+
"Development Status :: 3 - Alpha",
4141
# 'Development Status :: 4 - Beta',
4242
# 'Development Status :: 5 - Production/Stable',
4343
# 'Development Status :: 6 - Mature',

0 commit comments

Comments
 (0)