File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -52,14 +52,13 @@ def test_known_interrupts(
5252 class CustomCmdStub :
5353 CLI_SUBCOMMAND_NAME = 'sentinel'
5454
55- @ staticmethod
56- def populate_argument_parser (
57- subcommand_parser : ArgumentParser , # noqa: ARG004
55+ def populate_argument_parser ( # noqa: PLR6301
56+ self ,
57+ subcommand_parser : ArgumentParser , # noqa: ARG002
5858 ) -> None :
5959 return None
6060
61- @staticmethod
62- def invoke_cli_app (parsed_cli_args : Namespace ) -> ReturnCodeType : # noqa: ARG004
61+ def invoke_cli_app (self , parsed_cli_args : Namespace ) -> ReturnCodeType : # noqa: PLR6301, ARG002
6362 raise raised_error
6463
6564 monkeypatch .setattr (
@@ -83,14 +82,16 @@ def test_app_exit(
8382 class CustomCmdStub :
8483 CLI_SUBCOMMAND_NAME = 'sentinel'
8584
86- @ staticmethod
87- def populate_argument_parser (
88- subcommand_parser : ArgumentParser ,
85+ def populate_argument_parser ( # noqa: PLR6301
86+ self ,
87+ subcommand_parser : ArgumentParser , # noqa: ARG002
8988 ) -> None :
9089 return None
9190
92- @staticmethod
93- def invoke_cli_app (parsed_cli_args : Namespace ) -> ReturnCodeType : # noqa: ARG004
91+ def invoke_cli_app ( # noqa: PLR6301
92+ self ,
93+ parsed_cli_args : Namespace , # noqa: ARG002
94+ ) -> ReturnCodeType :
9495 err = 'sentinel'
9596 raise PreCommitTerraformExit (err )
9697
You can’t perform that action at this time.
0 commit comments