pre-commit-hooks/pre_commit_hooks
Enji Cooper a17514d55e Add --check support to EOF and Trailing Whitespace fixers
This change adds an advisory mode via `--check` that only warns of
formatting issues with files, but does not address them.

This support is desirable because--while I don't mind the automagic
changes when done in a mechanical way--some individuals who I
described the current behavior of these fixers to were a bit uneasy
about the magic that went along with them. Adding `--check` so
others can opt out (similar to `black --check`) is a compromise on
this front.

Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
2019-12-18 17:30:00 -08:00
..
__init__.py Initial commit. 2014-03-13 08:41:35 -07:00
autopep8_wrapper.py Apply typing to all of pre-commit-hooks 2019-01-31 20:09:15 -08:00
check_added_large_files.py Apply typing to all of pre-commit-hooks 2019-01-31 20:09:15 -08:00
check_ast.py Apply typing to all of pre-commit-hooks 2019-01-31 20:09:15 -08:00
check_builtin_literals.py Use default flake8 config 2019-02-11 19:56:15 -08:00
check_byte_order_marker.py Apply typing to all of pre-commit-hooks 2019-01-31 20:09:15 -08:00
check_case_conflict.py Apply typing to all of pre-commit-hooks 2019-01-31 20:09:15 -08:00
check_docstring_first.py Don't require an encoding for check-docstring-first 2019-03-30 15:31:42 -07:00
check_executables_have_shebangs.py Use default flake8 config 2019-02-11 19:56:15 -08:00
check_json.py Use default flake8 config 2019-02-11 19:56:15 -08:00
check_merge_conflict.py Apply typing to all of pre-commit-hooks 2019-01-31 20:09:15 -08:00
check_symlinks.py Apply typing to all of pre-commit-hooks 2019-01-31 20:09:15 -08:00
check_toml.py Added tests for check_toml 2019-08-03 19:40:57 +01:00
check_vcs_permalinks.py Apply typing to all of pre-commit-hooks 2019-01-31 20:09:15 -08:00
check_xml.py Apply typing to all of pre-commit-hooks 2019-01-31 20:09:15 -08:00
check_yaml.py Changed position of 'import io' 2019-04-22 04:24:41 +09:00
debug_statement_hook.py Add the rpdb debugger to the list of debugger packages 2019-06-05 12:29:23 -04:00
detect_aws_credentials.py Use default flake8 config 2019-02-11 19:56:15 -08:00
detect_private_key.py Apply typing to all of pre-commit-hooks 2019-01-31 20:09:15 -08:00
end_of_file_fixer.py Add --check support to EOF and Trailing Whitespace fixers 2019-12-18 17:30:00 -08:00
file_contents_sorter.py add sys.exit(main()) to file_contents_sorter.py 2019-08-03 20:34:39 +02:00
fix_encoding_pragma.py Handle crlf endings in fix-encoding-pragma 2019-05-15 10:04:18 -07:00
forbid_new_submodules.py Apply typing to all of pre-commit-hooks 2019-01-31 20:09:15 -08:00
mixed_line_ending.py Apply typing to all of pre-commit-hooks 2019-01-31 20:09:15 -08:00
no_commit_to_branch.py Use AbstractSet to appease mypy 2019-04-20 16:21:58 -07:00
pretty_format_json.py Remove unnecessary double printing of filename 2019-10-12 13:48:13 -07:00
requirements_txt_fixer.py Fixed sorting for non editable requirement urls 2019-11-14 02:22:07 +05:30
sort_simple_yaml.py double-quote-string-fixer 2019-02-11 19:57:37 -08:00
string_fixer.py Fix crlf line endings for double-quote-string-fixer 2019-05-16 09:42:04 -07:00
tests_should_end_in_test.py fix regular expression for test files 2019-12-04 11:45:21 -08:00
trailing_whitespace_fixer.py Add --check support to EOF and Trailing Whitespace fixers 2019-12-18 17:30:00 -08:00
util.py azure pipelines [skip travis] [skip appveyor] 2019-03-10 16:56:44 -07:00