GitHub Viewer
An unexpected error has occurred: CalledProcessError: Command: ('/usr/lib/git-core/git', '-c', 'core.autocrlf=false', 'apply', '--whitespace=nowarn', '/home/Lin-Buo-Ren/.cache/pre-commit/patch1534248054')
Return code: 1
Expected return code: 0
Output: (none)
Errors:
Clean Filter for GNU Bash Scripts: Cleaning GNU Bash script...
error: 打补丁失败:Test Cases/Unindented Script.bash:125
error: Test Cases/Unindented Script.bash:补丁未应用
Traceback (most recent call last):
File "/home/Lin-Buo-Ren/.pre-commit-venv/lib/python3.5/site-packages/pre_commit/staged_files_only.py", line 20, in _git_apply
cmd_output('git', *args, encoding=None)
File "/home/Lin-Buo-Ren/.pre-commit-venv/lib/python3.5/site-packages/pre_commit/util.py", line 178, in cmd_output
returncode, cmd, retcode, output=(stdout, stderr),
pre_commit.util.CalledProcessError: Command: ('/usr/lib/git-core/git', 'apply', '--whitespace=nowarn', '/home/Lin-Buo-Ren/.cache/pre-commit/patch1534248054')
Return code: 1
Expected return code: 0
Output: (none)
Errors:
Clean Filter for GNU Bash Scripts: Cleaning GNU Bash script...
error: 打补丁失败:Test Cases/Unindented Script.bash:125
error: Test Cases/Unindented Script.bash:补丁未应用
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/Lin-Buo-Ren/.pre-commit-venv/lib/python3.5/site-packages/pre_commit/staged_files_only.py", line 58, in staged_files_only
_git_apply(patch_filename)
File "/home/Lin-Buo-Ren/.pre-commit-venv/lib/python3.5/site-packages/pre_commit/staged_files_only.py", line 23, in _git_apply
cmd_output('git', '-c', 'core.autocrlf=false', *args, encoding=None)
File "/home/Lin-Buo-Ren/.pre-commit-venv/lib/python3.5/site-packages/pre_commit/util.py", line 178, in cmd_output
returncode, cmd, retcode, output=(stdout, stderr),
pre_commit.util.CalledProcessError: Command: ('/usr/lib/git-core/git', '-c', 'core.autocrlf=false', 'apply', '--whitespace=nowarn', '/home/Lin-Buo-Ren/.cache/pre-commit/patch1534248054')
Return code: 1
Expected return code: 0
Output: (none)
Errors:
Clean Filter for GNU Bash Scripts: Cleaning GNU Bash script...
error: 打补丁失败:Test Cases/Unindented Script.bash:125
error: Test Cases/Unindented Script.bash:补丁未应用
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/Lin-Buo-Ren/.pre-commit-venv/lib/python3.5/site-packages/pre_commit/staged_files_only.py", line 20, in _git_apply
cmd_output('git', *args, encoding=None)
File "/home/Lin-Buo-Ren/.pre-commit-venv/lib/python3.5/site-packages/pre_commit/util.py", line 178, in cmd_output
returncode, cmd, retcode, output=(stdout, stderr),
pre_commit.util.CalledProcessError: Command: ('/usr/lib/git-core/git', 'apply', '--whitespace=nowarn', '/home/Lin-Buo-Ren/.cache/pre-commit/patch1534248054')
Return code: 1
Expected return code: 0
Output: (none)
Errors:
Clean Filter for GNU Bash Scripts: Cleaning GNU Bash script...
error: 打补丁失败:Test Cases/Unindented Script.bash:125
error: Test Cases/Unindented Script.bash:补丁未应用
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/Lin-Buo-Ren/.pre-commit-venv/lib/python3.5/site-packages/pre_commit/error_handler.py", line 47, in error_handler
yield
File "/home/Lin-Buo-Ren/.pre-commit-venv/lib/python3.5/site-packages/pre_commit/main.py", line 259, in main
return run(runner, args)
File "/home/Lin-Buo-Ren/.pre-commit-venv/lib/python3.5/site-packages/pre_commit/commands/run.py", line 270, in run
return _run_hooks(runner.config, repo_hooks, args, environ)
File "/usr/lib/python3.5/contextlib.py", line 66, in __exit__
next(self.gen)
File "/home/Lin-Buo-Ren/.pre-commit-venv/lib/python3.5/site-packages/pre_commit/staged_files_only.py", line 68, in staged_files_only
_git_apply(patch_filename)
File "/home/Lin-Buo-Ren/.pre-commit-venv/lib/python3.5/site-packages/pre_commit/staged_files_only.py", line 23, in _git_apply
cmd_output('git', '-c', 'core.autocrlf=false', *args, encoding=None)
File "/home/Lin-Buo-Ren/.pre-commit-venv/lib/python3.5/site-packages/pre_commit/util.py", line 178, in cmd_output
returncode, cmd, retcode, output=(stdout, stderr),
pre_commit.util.CalledProcessError: Command: ('/usr/lib/git-core/git', '-c', 'core.autocrlf=false', 'apply', '--whitespace=nowarn', '/home/Lin-Buo-Ren/.cache/pre-commit/patch1534248054')
Return code: 1
Expected return code: 0
Output: (none)
Errors:
Clean Filter for GNU Bash Scripts: Cleaning GNU Bash script...
error: 打补丁失败:Test Cases/Unindented Script.bash:125
error: Test Cases/Unindented Script.bash:补丁未应用