6868
6969
7070def  _get_shape_chunks (a : ArrayLike  |  Any ) ->  tuple [ChunkCoords  |  None , ChunkCoords  |  None ]:
71-     """helper  function to get the shape and chunks from an array-like object""" 
71+     """Helper  function to get the shape and chunks from an array-like object""" 
7272    shape  =  None 
7373    chunks  =  None 
7474
@@ -86,7 +86,7 @@ def _get_shape_chunks(a: ArrayLike | Any) -> tuple[ChunkCoords | None, ChunkCoor
8686
8787
8888def  _like_args (a : ArrayLike , kwargs : dict [str , Any ]) ->  dict [str , Any ]:
89-     """set  default values for shape and chunks if they are not present in the array-like object""" 
89+     """Set  default values for shape and chunks if they are not present in the array-like object""" 
9090
9191    new  =  kwargs .copy ()
9292
@@ -121,7 +121,7 @@ def _like_args(a: ArrayLike, kwargs: dict[str, Any]) -> dict[str, Any]:
121121def  _handle_zarr_version_or_format (
122122    * , zarr_version : ZarrFormat  |  None , zarr_format : ZarrFormat  |  None 
123123) ->  ZarrFormat  |  None :
124-     """handle  the deprecated zarr_version kwarg and return zarr_format""" 
124+     """Handle  the deprecated zarr_version kwarg and return zarr_format""" 
125125    if  zarr_format  is  not   None  and  zarr_version  is  not   None  and  zarr_format  !=  zarr_version :
126126        raise  ValueError (
127127            f"zarr_format { zarr_format }   does not match zarr_version { zarr_version }  , please only set one" 
@@ -135,7 +135,7 @@ def _handle_zarr_version_or_format(
135135
136136
137137def  _default_zarr_version () ->  ZarrFormat :
138-     """return  the default zarr_version""" 
138+     """Return  the default zarr_version""" 
139139    return  cast (ZarrFormat , int (config .get ("default_zarr_version" , 3 )))
140140
141141
@@ -152,9 +152,9 @@ async def consolidate_metadata(
152152
153153    Parameters 
154154    ---------- 
155-     store: StoreLike 
155+     store  : StoreLike 
156156        The store-like object whose metadata you wish to consolidate. 
157-     path: str, optional 
157+     path  : str, optional 
158158        A path to a group in the store to consolidate at. Only children 
159159        below that group will be consolidated. 
160160
@@ -341,13 +341,13 @@ async def save(
341341    ---------- 
342342    store : Store or str 
343343        Store or path to directory in file system or name of zip file. 
344-     args : ndarray 
344+     * args : ndarray 
345345        NumPy arrays with data to save. 
346346    zarr_format : {2, 3, None}, optional 
347347        The zarr format to use when saving. 
348348    path : str or None, optional 
349349        The path within the group where the arrays will be saved. 
350-     kwargs 
350+     ** kwargs 
351351        NumPy arrays with data to save. 
352352    """ 
353353    zarr_format  =  _handle_zarr_version_or_format (zarr_version = zarr_version , zarr_format = zarr_format )
@@ -386,7 +386,7 @@ async def save_array(
386386    storage_options : dict 
387387        If using an fsspec URL to create the store, these will be passed to 
388388        the backend implementation. Ignored otherwise. 
389-     kwargs 
389+     ** kwargs 
390390        Passed through to :func:`create`, e.g., compressor. 
391391    """ 
392392    zarr_format  =  (
@@ -423,7 +423,7 @@ async def save_group(
423423    ---------- 
424424    store : Store or str 
425425        Store or path to directory in file system or name of zip file. 
426-     args : ndarray 
426+     * args : ndarray 
427427        NumPy arrays with data to save. 
428428    zarr_format : {2, 3, None}, optional 
429429        The zarr format to use when saving. 
@@ -432,7 +432,7 @@ async def save_group(
432432    storage_options : dict 
433433        If using an fsspec URL to create the store, these will be passed to 
434434        the backend implementation. Ignored otherwise. 
435-     kwargs 
435+     ** kwargs 
436436        NumPy arrays with data to save. 
437437    """ 
438438    zarr_format  =  (
@@ -479,7 +479,7 @@ async def array(
479479    ---------- 
480480    data : array_like 
481481        The data to fill the array with. 
482-     kwargs 
482+     ** kwargs 
483483        Passed through to :func:`create`. 
484484
485485    Returns 
0 commit comments