1010
1111from dask .distributed import Client , Lock
1212from distributed .utils_test import cluster , gen_cluster
13+ from distributed .utils_test import loop # noqa
1314from distributed .client import futures_of
1415
1516import xarray as xr
@@ -57,7 +58,7 @@ def tmp_netcdf_filename(tmpdir):
5758]
5859
5960
60- @pytest .mark .parametrize ('engine,nc_format' , ENGINES_AND_FORMATS )
61+ @pytest .mark .parametrize ('engine,nc_format' , ENGINES_AND_FORMATS ) # noqa
6162def test_dask_distributed_netcdf_roundtrip (
6263 loop , tmp_netcdf_filename , engine , nc_format ):
6364
@@ -87,7 +88,7 @@ def test_dask_distributed_netcdf_roundtrip(
8788 assert_allclose (original , computed )
8889
8990
90- @pytest .mark .parametrize ('engine,nc_format' , ENGINES_AND_FORMATS )
91+ @pytest .mark .parametrize ('engine,nc_format' , ENGINES_AND_FORMATS ) # noqa
9192def test_dask_distributed_read_netcdf_integration_test (
9293 loop , tmp_netcdf_filename , engine , nc_format ):
9394
@@ -111,7 +112,7 @@ def test_dask_distributed_read_netcdf_integration_test(
111112 assert_allclose (original , computed )
112113
113114
114- @requires_zarr
115+ @requires_zarr # noqar
115116@pytest .mark .parametrize ('consolidated' , [True , False ])
116117@pytest .mark .parametrize ('compute' , [True , False ])
117118def test_dask_distributed_zarr_integration_test (loop , consolidated , compute ):
@@ -137,7 +138,7 @@ def test_dask_distributed_zarr_integration_test(loop, consolidated, compute):
137138 assert_allclose (original , computed )
138139
139140
140- @requires_rasterio
141+ @requires_rasterio # noqa
141142def test_dask_distributed_rasterio_integration_test (loop ):
142143 with create_tmp_geotiff () as (tmp_file , expected ):
143144 with cluster () as (s , [a , b ]):
@@ -148,7 +149,7 @@ def test_dask_distributed_rasterio_integration_test(loop):
148149 assert_allclose (actual , expected )
149150
150151
151- @requires_cfgrib
152+ @requires_cfgrib # noqa
152153def test_dask_distributed_cfgrib_integration_test (loop ):
153154 with cluster () as (s , [a , b ]):
154155 with Client (s ['address' ], loop = loop ):
0 commit comments