Skip to content

Commit

Permalink
run pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinaHutter committed Jul 1, 2024
1 parent 80710f2 commit 42c0dda
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions openeo_processes_dask/process_implementations/inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ def inspect(
code: Optional[str] = "User",
level: Optional[str] = "info",
) -> Any:

if level == "info":
logger.info(f"{code}: {message} {data}.")

Expand All @@ -24,5 +23,5 @@ def inspect(

elif level == "debug":
logger.debug(f"{code}: {message} {data}.")

return data
2 changes: 1 addition & 1 deletion openeo_processes_dask/specs/openeo-processes
Submodule openeo-processes updated 4 files
+0 −78 cab.json
+0 −78 fapar.json
+0 −78 fcover.json
+0 −78 lai.json
2 changes: 1 addition & 1 deletion tests/test_inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ def test_inspect(temporal_interval, bounding_box, random_raster_data):
bands=["B02", "B03", "B04", "B08"],
)

assert inspect(np.zeros((1))) == np.zeros((1))
assert inspect(np.zeros(1)) == np.zeros(1)
xr.testing.assert_equal(raster_cube, inspect(raster_cube))

0 comments on commit 42c0dda

Please sign in to comment.