@@ -125,9 +125,9 @@ def lsmr_annihilate(
125125 return empty_like (y )
126126 use_cache = use_cache and x_hash is not None
127127 regressor_hash = x_hash if x_hash is not None else ""
128- default_opts : dict [
129- str , bool | float | str | ArrayLike | None | dict [ str , Any ]
130- ] = dict ( atol = 1e-8 , btol = 1e-8 , show = False )
128+ default_opts : dict [str , bool | float | str | ArrayLike | None | dict [ str , Any ]] = (
129+ dict ( atol = 1e-8 , btol = 1e-8 , show = False )
130+ )
131131 assert lsmr_options is not None
132132 default_opts .update (lsmr_options )
133133 resids = []
@@ -835,8 +835,9 @@ def _prepare_interactions(self) -> None:
835835 def _first_time_fit (
836836 self ,
837837 use_cache : bool ,
838- absorb_options : None
839- | (dict [str , bool | float | str | ArrayLike | None | dict [str , Any ]]),
838+ absorb_options : None | (
839+ dict [str , bool | float | str | ArrayLike | None | dict [str , Any ]]
840+ ),
840841 method : str ,
841842 ) -> None :
842843 weights = (
@@ -947,8 +948,9 @@ def fit(
947948 cov_type : str = "robust" ,
948949 debiased : bool = False ,
949950 method : str = "auto" ,
950- absorb_options : None
951- | (dict [str , bool | float | str | ArrayLike | None | dict [str , Any ]]) = None ,
951+ absorb_options : None | (
952+ dict [str , bool | float | str | ArrayLike | None | dict [str , Any ]]
953+ ) = None ,
952954 use_cache : bool = True ,
953955 lsmr_options : dict [str , float | bool ] | None = None ,
954956 ** cov_config : Any ,
0 commit comments