File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -35,4 +35,6 @@ parametrize-values-type = "tuple"
3535 " PLC2701" , # Allow importing internal files needed for testing
3636 " PLR6301" , # Allow 'self' parameter in method definitions (required for test stubs)
3737 " ARG002" , # Allow unused arguments in instance methods (required for test stubs)
38+ " S404" , # Allow importing 'subprocess' module to testing call external tools needed by these hooks
39+
3840]
Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ def invoke_cli_app(cli_args: list[str]) -> ReturnCodeType:
3636 try :
3737 return invoke_cli_app (parsed_cli_args )
3838 except PreCommitTerraformExit as exit_err :
39- # T201 - FIXME here and below - we will replace 'print' with logging later
39+ # T201 - FIXME here and below - we will replace 'print' with
40+ # logging later
4041 print (f'App exiting: { exit_err !s} ' , file = sys .stderr ) # noqa: T201
4142 raise
4243 except PreCommitTerraformRuntimeError as unhandled_exc :
You can’t perform that action at this time.
0 commit comments