File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,9 @@ def __init__(
115115
116116 def build_model (self , X , y , coords ) -> None :
117117 """Build the model, must be implemented by subclass."""
118- raise NotImplementedError ("This method must be implemented by a subclass" )
118+ raise NotImplementedError (
119+ "This method must be implemented by a subclass"
120+ ) # pragma: no cover
119121
120122 def _data_setter (self , X : xr .DataArray ) -> None :
121123 """
@@ -274,7 +276,9 @@ def print_coefficients_for_unit(
274276 elif "y_hat_sigma" in self .idata .posterior :
275277 sigma_var_name = "y_hat_sigma"
276278 else :
277- raise ValueError ("Neither 'sigma' nor 'y_hat_sigma' found in posterior" )
279+ raise ValueError (
280+ "Neither 'sigma' nor 'y_hat_sigma' found in posterior"
281+ ) # pragma: no cover
278282
279283 treated_units = coeffs .coords ["treated_units" ].values
280284 for unit in treated_units :
You can’t perform that action at this time.
0 commit comments