Skip to content

Commit ffbef87

Browse files
authored
Merge pull request #63 from SimpleITK/AddedCXXToPrecommit
Add C, C++, CSharp file types to precommit
2 parents f22acbd + 1d2da72 commit ffbef87

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
entry: comment_spell_check
66
language: python
77
minimum_pre_commit_version: 2.9.2
8-
types_or: [python, rst, markdown, ruby, java ]
8+
types_or: [python, rst, markdown, ruby, java, c++, c, c# ]

comment_spell_check/comment_spell_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
".c": "text/x-c++",
5555
".hxx": "text/x-c++",
5656
".py": "text/x-python",
57-
".ruby": "text/x-ruby",
57+
".rb": "text/x-ruby",
5858
".java": "text/x-java-source",
5959
".txt": "text/plain",
6060
".rst": "text/plain",

0 commit comments

Comments
 (0)