Skip to content

Commit

Permalink
fix pre-commit and codespell
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushnag committed Dec 6, 2024
1 parent 8fb0140 commit 2c28278
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 6 deletions.
2 changes: 1 addition & 1 deletion earthaccess/dmrppzarr.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def open_virtual_mfdataset(
backend_kwargs={
"consolidated": False,
"storage_options": {
"fo": refs,
"fo": refs, # codespell:ignore
"remote_protocol": fs.protocol,
"remote_options": fs.storage_options, # type: ignore
},
Expand Down
6 changes: 2 additions & 4 deletions tests/integration/test_virtualizarr.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
logger.info(f"earthaccess version: {earthaccess.__version__}")


@pytest.fixture(
scope="module", params=["MUR25-JPL-L4-GLOB-v04.2"]
)
@pytest.fixture(scope="module", params=["MUR25-JPL-L4-GLOB-v04.2"])
def granule(request):
granules = earthaccess.search_data(
count=1, temporal=("2024"), short_name=request.param
Expand All @@ -26,7 +24,7 @@ def granule(request):


def test_dmrpp(granule):
from virtualizarr import open_virtual_dataset
from virtualizarr import open_virtual_dataset # type: ignore

fs = earthaccess.get_fsspec_https_session()
data_path = granule.data_links(access="indirect")[0]
Expand Down
37 changes: 36 additions & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2c28278

Please sign in to comment.