diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index bc908ed..de9b2d9 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -5,4 +5,4 @@ entry: comment_spell_check language: python minimum_pre_commit_version: 2.9.2 - types_or: [python, rst, markdown, ruby, java ] + types_or: [python, rst, markdown, ruby, java, c++, c, c# ] diff --git a/comment_spell_check/comment_spell_check.py b/comment_spell_check/comment_spell_check.py index e5a793b..686b7e3 100755 --- a/comment_spell_check/comment_spell_check.py +++ b/comment_spell_check/comment_spell_check.py @@ -54,7 +54,7 @@ ".c": "text/x-c++", ".hxx": "text/x-c++", ".py": "text/x-python", - ".ruby": "text/x-ruby", + ".rb": "text/x-ruby", ".java": "text/x-java-source", ".txt": "text/plain", ".rst": "text/plain",