@@ -85,7 +85,7 @@ def __init__(
8585 self .f = f
8686 self .granule = granule
8787
88- def __getattribute__ (self , name : str ) -> Any :
88+ def __getattribute__ (self , name : str ) -> Any : # noqa: ANN401
8989 # use super().__getattribute__ to avoid infinite recursion
9090 if (name in EarthAccessFile .__dict__ ) or (name in self .__dict__ ):
9191 # accessing our attributes
@@ -94,7 +94,7 @@ def __getattribute__(self, name: str) -> Any:
9494 proxy = super ().__getattribute__ ("f" )
9595 return getattr (proxy , name )
9696
97- def __reduce_ex__ (self , protocol : Any ) -> Any :
97+ def __reduce_ex__ (self , protocol : Any ) -> Any : # noqa: ANN401
9898 return make_instance , (
9999 self .__class__ ,
100100 self .granule ,
@@ -163,10 +163,10 @@ def multi_thread_open(data: tuple[str, DataGranule | None]) -> EarthAccessFile:
163163
164164
165165def make_instance (
166- cls : Any ,
166+ cls : Any , # noqa: ANN401
167167 granule : DataGranule ,
168168 auth : Auth ,
169- data : Any ,
169+ data : Any , # noqa: ANN401
170170) -> EarthAccessFile :
171171 # Attempt to re-authenticate
172172 if not earthaccess .__auth__ .authenticated :
@@ -236,7 +236,7 @@ def _sibling_tempfile(sibling: Path) -> Generator[Path, None, None]:
236236class Store :
237237 """Store class to access granules on-prem or in the cloud."""
238238
239- def __init__ (self , auth : Any , pre_authorize : bool = False ) -> None : # noqa: FBT001, FBT002
239+ def __init__ (self , auth : Any , pre_authorize : bool = False ) -> None : # noqa: FBT001, FBT002, ANN401
240240 """Store is the class to access data.
241241
242242 Parameters:
0 commit comments