@@ -42,7 +42,7 @@ def run_test(self, *, retry: bool = False) -> None:
4242 def _run_pre_stage_actions (self ) -> None :
4343 print ("inside '_run_pre_stage_actions' function" )
4444
45- def _begin_stage (self , heading : str ) -> None :
45+ def _begin_stage (self , _heading : str ) -> None :
4646 print ("inside '_begin_stage' function" )
4747
4848 def _skip_stage (self ) -> None :
@@ -54,10 +54,10 @@ def _end_stage(self) -> None:
5454 def _run_post_stage_actions (self ) -> None :
5555 print ("inside '_run_post_stage_actions' function" )
5656
57- def _handle_stage_retry_error (self , retry : Retrying ) -> None :
57+ def _handle_stage_retry_error (self , _retry : Retrying ) -> None :
5858 print ("inside '_handle_stage_retry_error' function" )
5959
60- def _prepare_to_retry_stage (self , retry_state : RetryCallState ) -> None :
60+ def _prepare_to_retry_stage (self , _retry_state : RetryCallState ) -> None :
6161 print ("inside '_prepare_to_retry_stage' function" )
6262
6363
@@ -125,7 +125,7 @@ def test_stage( # noqa: PLR0913
125125 )
126126 if custom_begin_stage :
127127 script ._begin_stage_test = ( # type: ignore[attr-defined]
128- lambda heading : print ("inside '_begin_stage_test' function" )
128+ lambda _heading : print ("inside '_begin_stage_test' function" )
129129 )
130130 if custom_skip_stage :
131131 script ._skip_stage_test = lambda : print ( # type: ignore[attr-defined]
@@ -178,13 +178,13 @@ def test_stage_retry(
178178 script .stages_to_run = {"test" }
179179 if custom_prepare_to_retry :
180180 script ._prepare_to_retry_stage_test = ( # type: ignore[attr-defined]
181- lambda retry_state : print (
181+ lambda _retry_state : print (
182182 "inside '_prepare_to_retry_stage_test' function"
183183 )
184184 )
185185 if custom_handle_retry_error :
186186 script ._handle_stage_retry_error_test = ( # type: ignore[attr-defined]
187- lambda retry : print (
187+ lambda _retry : print (
188188 "inside '_handle_stage_retry_error_test' function"
189189 )
190190 )
0 commit comments