Skip to content

Commit 1818175

Browse files
committed
Issue #45 fix ruff linting issues in openeo_udp_cost_profiling/utils.py
1 parent 1b8a5fb commit 1818175

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openeo_udp_cost_profiling/utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def get_job_cost_info(connection, job_id):
113113
try:
114114
job = connection.job(job_id).describe_job()
115115
return float(job["costs"])
116-
except:
116+
except Exception:
117117
return None
118118

119119

@@ -155,7 +155,7 @@ def plot_spatio_temporal_cost_profile(df):
155155

156156
# Plotting the heatmap using seaborn
157157
plt.figure(figsize=(12, 8))
158-
ax = sns.heatmap(
158+
sns.heatmap(
159159
job_cost_grid,
160160
cmap=cmap,
161161
norm=norm,

0 commit comments

Comments
 (0)