pre-commit-hooks/tests
Luís Ferreira ccdf02dfd4
detect_private_key: add textual version of PKCS #8 encrypted private keys
As described by RFC7468 and RFC5958, keys that are encoded using the "ENCRYPTED
PRIVATE KEY" label are described as private key information and therefore can
contain secrets, even though encrypted.

Signed-off-by: Luís Ferreira <contact@lsferreira.net>
2021-10-02 20:53:33 +01:00
..
__init__.py Initial commit. 2014-03-13 08:41:35 -07:00
check_added_large_files_test.py forbid-new-submodules: fix triggering failure when only a submodule is committed (without any other file); support --from-ref and --to-ref; fixes #609 2021-08-13 21:32:08 +03:00
check_ast_test.py pre-commit-hooks: python3.6+ 2020-02-05 11:22:18 -08:00
check_builtin_literals_test.py Don't use LocalPath.strpath 2020-05-20 12:08:42 -04:00
check_byte_order_marker_test.py Don't use LocalPath.strpath 2020-05-20 12:08:42 -04:00
check_case_conflict_test.py forbid-new-submodules: fix triggering failure when only a submodule is committed (without any other file); support --from-ref and --to-ref; fixes #609 2021-08-13 21:32:08 +03:00
check_docstring_first_test.py Don't use LocalPath.strpath 2020-05-20 12:08:42 -04:00
check_executables_have_shebangs_test.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
check_json_test.py Rename file causing check-json to fail 2021-05-15 12:31:33 +02:00
check_merge_conflict_test.py forbid-new-submodules: fix triggering failure when only a submodule is committed (without any other file); support --from-ref and --to-ref; fixes #609 2021-08-13 21:32:08 +03:00
check_shebang_scripts_are_executable_test.py Add check for executability of scripts with shebangs 2021-05-04 18:45:43 -07:00
check_symlinks_test.py Don't use LocalPath.strpath 2020-05-20 12:08:42 -04:00
check_toml_test.py Don't use LocalPath.strpath 2020-05-20 12:08:42 -04:00
check_vcs_permalinks_test.py Disallow any branch name in checks_vcs_permalinks 2021-04-06 18:19:19 -07:00
check_xml_test.py Apply typing to all of pre-commit-hooks 2019-01-31 20:09:15 -08:00
check_yaml_test.py Don't use LocalPath.strpath 2020-05-20 12:08:42 -04:00
conftest.py Don't use LocalPath.strpath 2020-05-20 12:08:42 -04:00
debug_statement_hook_test.py Don't use LocalPath.strpath 2020-05-20 12:08:42 -04:00
destroyed_symlinks_test.py forbid-new-submodules: fix triggering failure when only a submodule is committed (without any other file); support --from-ref and --to-ref; fixes #609 2021-08-13 21:32:08 +03:00
detect_aws_credentials_test.py Use more inclusive language 2021-05-14 19:12:09 -07:00
detect_private_key_test.py detect_private_key: add textual version of PKCS #8 encrypted private keys 2021-10-02 20:53:33 +01:00
end_of_file_fixer_test.py Don't use LocalPath.strpath 2020-05-20 12:08:42 -04:00
file_contents_sorter_test.py Add --unique arg to file-contents-sorter 2020-10-25 12:18:09 -07:00
fix_byte_order_marker_test.py Add new byte-order-marker checker/fixer 2020-10-11 11:31:05 -07:00
fix_encoding_pragma_test.py Don't use LocalPath.strpath 2020-05-20 12:08:42 -04:00
forbid_new_submodules_test.py forbid-new-submodules: fix triggering failure when only a submodule is committed (without any other file); support --from-ref and --to-ref; fixes #609 2021-08-13 21:32:08 +03:00
mixed_line_ending_test.py Don't use LocalPath.strpath 2020-05-20 12:08:42 -04:00
no_commit_to_branch_test.py forbid-new-submodules: fix triggering failure when only a submodule is committed (without any other file); support --from-ref and --to-ref; fixes #609 2021-08-13 21:32:08 +03:00
pretty_format_json_test.py Don't use LocalPath.strpath 2020-05-20 12:08:42 -04:00
readme_test.py pre-commit-hooks: python3.6+ 2020-02-05 11:22:18 -08:00
removed_test.py hotfix: the user may be define an extra arguments for a removed hook 2020-05-18 19:57:49 -07:00
requirements_txt_fixer_test.py requirements-txt-fixer now supports indents before comments 2021-01-17 21:15:05 +02:00
sort_simple_yaml_test.py Don't use LocalPath.strpath 2020-05-20 12:08:42 -04:00
string_fixer_test.py Don't use LocalPath.strpath 2020-05-20 12:08:42 -04:00
tests_should_end_in_test_test.py add unit test for correct regex 2019-12-04 15:13:29 -08:00
trailing_whitespace_fixer_test.py Don't use LocalPath.strpath 2020-05-20 12:08:42 -04:00
util_test.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