File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -109,8 +109,10 @@ def invoke_cli_app(parsed_cli_args: Namespace) -> ReturnCodeType: # noqa: WPS23
109109 subprocess .check_call (' ' .join (proc_args ), shell = True ) # noqa: S602
110110 # PERF203 - try-except shouldn't be in a loop, but it's deprecated
111111 # hook, so leave as is
112- except subprocess .CalledProcessError as err : # noqa: PERF203
113- # T201 - Leave print statement as is, as this is deprecated hook
114- print (err ) # noqa: T201,WPS421
112+ # WPS111 - Too short var name, but it's deprecated hook, so leave as is
113+ except subprocess .CalledProcessError as e : # noqa: PERF203,WPS111
114+ # T201,WPS421 - Leave print statement as is, as this is
115+ # deprecated hook
116+ print (e ) # noqa: T201,WPS421,WPS111
115117 retval = ReturnCode .ERROR
116118 return retval
You can’t perform that action at this time.
0 commit comments