mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 10:16:52 +00:00
There was already a guard preventing the check-executables-have-shebangs hook from raising false positives on win32 by looking up the Git file mode rather than relying on the file mode in the file system. Git already automatically probes the file system for executable bit support. Leverage Git's core.fileMode config variable to prevent false positives on all file systems that don't track executable bits. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| check_added_large_files.py | ||
| check_ast.py | ||
| check_builtin_literals.py | ||
| check_byte_order_marker.py | ||
| check_case_conflict.py | ||
| check_docstring_first.py | ||
| check_executables_have_shebangs.py | ||
| check_json.py | ||
| check_merge_conflict.py | ||
| check_shebang_scripts_are_executable.py | ||
| check_symlinks.py | ||
| check_toml.py | ||
| check_vcs_permalinks.py | ||
| check_xml.py | ||
| check_yaml.py | ||
| debug_statement_hook.py | ||
| destroyed_symlinks.py | ||
| detect_aws_credentials.py | ||
| detect_private_key.py | ||
| end_of_file_fixer.py | ||
| file_contents_sorter.py | ||
| fix_byte_order_marker.py | ||
| fix_encoding_pragma.py | ||
| forbid_new_submodules.py | ||
| mixed_line_ending.py | ||
| no_commit_to_branch.py | ||
| pretty_format_json.py | ||
| removed.py | ||
| requirements_txt_fixer.py | ||
| sort_simple_yaml.py | ||
| string_fixer.py | ||
| tests_should_end_in_test.py | ||
| trailing_whitespace_fixer.py | ||
| util.py | ||