pre-commit-hooks/testing/resources
Sander Maijers a5628863e8
Refactor legacy indent: int -> indent: str
The type of `indent` parameter is preferably `str`. See
http://simplejson.readthedocs.io/en/latest/index.html?highlight=dump#simplejson.dump
. This change allows to specify TABs as indentation delimiter to
`pretty_format_json`. Add input validator/converter for backward compat.
2016-06-12 19:19:07 +02:00
..
bad_json.notjson Add a hook for checking parseable json. 2014-08-19 16:03:48 -07:00
bad_xml.notxml Add check-xml hook. 2015-01-17 10:30:58 -08:00
bad_yaml.notyaml Add a hook for yaml files. 2014-04-03 21:36:03 -07:00
broken_symlink new hook tests for broken symlinks 2016-01-14 15:25:46 -08:00
cannot_parse_ast.notpy Give a better message when ast is not parseable. 2014-06-19 17:44:40 -07:00
does_exist new hook tests for broken symlinks 2016-01-14 15:25:46 -08:00
file_with_debug.notpy Improve test coverage. 2014-04-13 22:21:42 -07:00
nonsense.txt add tests, test sample files and minor refactor of exit codes in actual hook in order to facilitate testing 2015-06-12 19:20:56 +04:00
not_pretty_formatted_json.json Adjust formatting for existing test_pretty_format_json 2016-04-14 10:41:39 +01:00
ok_json.json Add a hook for checking parseable json. 2014-08-19 16:03:48 -07:00
ok_xml.xml Add check-xml hook. 2015-01-17 10:30:58 -08:00
ok_yaml.yaml Add a hook for yaml files. 2014-04-03 21:36:03 -07:00
pretty_formatted_json.json Add new hook pretty-format-json 2015-06-11 00:08:03 -04:00
sample_aws_credentials add tests, test sample files and minor refactor of exit codes in actual hook in order to facilitate testing 2015-06-12 19:20:56 +04:00
tab_pretty_formatted_json.json Refactor legacy indent: int -> indent: str 2016-06-12 19:19:07 +02:00
unsorted_pretty_formatted_json.json Add test for '--no-sort-keys' 2016-04-14 10:41:39 +01:00
with_no_secrets.txt add tests, test sample files and minor refactor of exit codes in actual hook in order to facilitate testing 2015-06-12 19:20:56 +04:00
with_secrets.txt add tests, test sample files and minor refactor of exit codes in actual hook in order to facilitate testing 2015-06-12 19:20:56 +04:00
working_symlink new hook tests for broken symlinks 2016-01-14 15:25:46 -08:00