pre-commit-hooks/pre_commit_hooks
Thomas Aglassinger 49b52f4c97
Fix misleading error message
The command given in the previous error message only changed the local script to executable. When running pre-commit the next time, it failed again with the same error message.

The new command actually changes the script in the repository to be executable, and pre-commit runs through the next time.

See also: <https://www.pixelninja.me/make-script-committed-to-git-executable/>.
2022-01-07 03:45:07 +01:00
..
__init__.py Initial commit. 2014-03-13 08:41:35 -07:00
check_added_large_files.py Fix check-added-large-files --enforce-all to correctly consider all git-lfs files. 2021-12-20 23:04:50 -05:00
check_ast.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
check_builtin_literals.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
check_byte_order_marker.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
check_case_conflict.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
check_docstring_first.py pre-commit-hooks: python3.6+ 2020-02-05 11:22:18 -08:00
check_executables_have_shebangs.py Suggest usable call when exec files lack shebang on Windows 2021-12-07 15:53:54 -05:00
check_json.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
check_merge_conflict.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
check_shebang_scripts_are_executable.py Fix misleading error message 2022-01-07 03:45:07 +01:00
check_symlinks.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
check_toml.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
check_vcs_permalinks.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
check_xml.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
check_yaml.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
debug_statement_hook.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
destroyed_symlinks.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
detect_aws_credentials.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
detect_private_key.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
end_of_file_fixer.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
file_contents_sorter.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
fix_byte_order_marker.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
fix_encoding_pragma.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
forbid_new_submodules.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
mixed_line_ending.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
no_commit_to_branch.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
pretty_format_json.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
removed.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
requirements_txt_fixer.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
sort_simple_yaml.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
string_fixer.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
tests_should_end_in_test.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
trailing_whitespace_fixer.py replace exit(main()) with raise SystemExit(main()) 2021-10-23 13:23:50 -04:00
util.py New hook 'destroyed-symlinks' to detect symlinks which are changed to regular files with a content of a path which that symlink was pointing to; move zsplit to util 2020-11-18 11:45:05 -08:00