Skip to content

Commit a7b5de5

Browse files
committed
fix lint issues and stuff
1 parent 73e863e commit a7b5de5

File tree

11 files changed

+11
-9
lines changed

11 files changed

+11
-9
lines changed

tests/__init__.py

Whitespace-only changes.

tests/integration/__init__.py

Whitespace-only changes.

tests/integration/maldives_ecosystem_mapping/__init__.py

Whitespace-only changes.

tests/integration_slow/__init__.py

Whitespace-only changes.

tests/integration_slow/landsat_vessels/__init__.py

Whitespace-only changes.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import pathlib
2+
3+
from rslp.landsat_vessels.predict_pipeline import predict_pipeline
4+
5+
6+
def test_predict_pipeline(tmp_path: pathlib.Path) -> None:
7+
predict_pipeline(
8+
crop_path=str(tmp_path), scene_id="LC08_L1GT_114081_20241002_20241006_02_T2"
9+
)

tests/integration_slow/sentinel2_vessels/__init__.py

Whitespace-only changes.

tests/sentinel2_vessels/test_workflows.py renamed to tests/integration_slow/sentinel2_vessels/test_workflows.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from rslp.sentinel2_vessels import predict_pipeline
55

66

7-
def test_predict_pipeline(tmp_path: pathlib.Path):
7+
def test_predict_pipeline(tmp_path: pathlib.Path) -> None:
88
scratch_path = tmp_path / "scratch"
99
scratch_path.mkdir(parents=True, exist_ok=True)
1010
crop_path = tmp_path / "crops"
@@ -14,6 +14,6 @@ def test_predict_pipeline(tmp_path: pathlib.Path):
1414
scene_id="S2B_MSIL1C_20200206T222749_N0209_R072_T01LAL_20200206T234349",
1515
scratch_path=str(scratch_path),
1616
crop_path=str(crop_path),
17-
json_path=json_path,
17+
json_path=str(json_path),
1818
)
1919
assert os.path.exists(json_path)

tests/landsat_vessels/test_workflows.py

Lines changed: 0 additions & 7 deletions
This file was deleted.

tests/unit/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)