Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3126802 commit 1c439b5Copy full SHA for 1c439b5
1 file changed
pre_commit/commands/install_uninstall.py
@@ -103,8 +103,7 @@ def _install_hook_script(
103
104
hook_file.write(before + TEMPLATE_START)
105
hook_file.write(f'INSTALL_PYTHON={shlex.quote(sys.executable)}\n')
106
- # TODO: python3.8+: shlex.join
107
- args_s = ' '.join(shlex.quote(part) for part in args)
+ args_s = shlex.join(args)
108
hook_file.write(f'ARGS=({args_s})\n')
109
hook_file.write(TEMPLATE_END + after)
110
make_executable(hook_path)
0 commit comments