diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e4dd3cb..9d30e38a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -331,7 +331,7 @@ ### Features - Expose `source` and `object-name` (positional args) of `prepare-commit-msg` - hook as `PRE_COMMIT_COMIT_MSG_SOURCE` and `PRE_COMMIT_COMMIT_OBJECT_NAME`. + hook as `PRE_COMMIT_COMMIT_MSG_SOURCE` and `PRE_COMMIT_COMMIT_OBJECT_NAME`. - #2407 PR by @M-Whitaker. - #2406 issue by @M-Whitaker. @@ -681,7 +681,7 @@ - Add `types_or` which allows matching multiple disparate `types` in a hook - #1677 by @MarcoGorelli. - #607 by @asottile. -- Add Github Sponsors / Open Collective links +- Add GitHub Sponsors / Open Collective links - https://github.com/sponsors/asottile - https://opencollective.com/pre-commit diff --git a/tests/clientlib_test.py b/tests/clientlib_test.py index 7aa84af0..9c89e2b4 100644 --- a/tests/clientlib_test.py +++ b/tests/clientlib_test.py @@ -29,7 +29,7 @@ def is_valid_according_to_schema(obj, obj_schema): return False -@pytest.mark.parametrize('value', ('definitely-not-a-tag', 'fiel')) +@pytest.mark.parametrize('value', ('definitely-not-a-tag', 'file')) def test_check_type_tag_failures(value): with pytest.raises(cfgv.ValidationError): check_type_tag(value) diff --git a/tests/commands/install_uninstall_test.py b/tests/commands/install_uninstall_test.py index 9eb0e741..e8368d4c 100644 --- a/tests/commands/install_uninstall_test.py +++ b/tests/commands/install_uninstall_test.py @@ -879,7 +879,7 @@ def test_post_rewrite_integration(tempdir_factory, store): assert not os.path.exists('post-rewrite.tmp') - git_commit('--amend', '-m', 'ammended message') + git_commit('--amend', '-m', 'amended message') assert os.path.exists('post-rewrite.tmp') @@ -1071,7 +1071,7 @@ def test_install_allow_missing_config(tempdir_factory, store): assert expected in output -def test_install_temporarily_allow_mising_config(tempdir_factory, store): +def test_install_temporarily_allow_missing_config(tempdir_factory, store): path = make_consuming_repo(tempdir_factory, 'script_hooks_repo') with cwd(path): remove_config_from_repo(path) diff --git a/tests/error_handler_test.py b/tests/error_handler_test.py index a79d9c1a..da9a1b05 100644 --- a/tests/error_handler_test.py +++ b/tests/error_handler_test.py @@ -197,7 +197,7 @@ def test_error_handler_no_tty(tempdir_factory): @xfailif_windows # pragma: win32 no cover def test_error_handler_read_only_filesystem(mock_store_dir, cap_out, capsys): # a better scenario would be if even the Store crash would be handled - # but realistically we're only targetting systems where the Store has + # but realistically we're only targeting systems where the Store has # already been set up Store() diff --git a/tests/languages/r_test.py b/tests/languages/r_test.py index 10919e4a..fce3642d 100644 --- a/tests/languages/r_test.py +++ b/tests/languages/r_test.py @@ -291,7 +291,7 @@ def test_health_check_without_version(prefix, installed_environment, version): prefix=prefix, version=C.DEFAULT, cwd=env_dir, ) - # no R version specified fails as unhealty + # no R version specified fails as unhealthy msg = 'Hooks were installed with an unknown R version' check_output = r.health_check(prefix, C.DEFAULT) assert check_output is not None and check_output.startswith(msg)