Add check_rubocop

Uses rubocop to check syntax / style of ruby files.
This commit is contained in:
Jordan Tardif 2015-09-09 08:52:11 +00:00
parent 616c1ebd18
commit a2d690a0ab
7 changed files with 50 additions and 0 deletions

View file

@ -42,6 +42,7 @@ setup(
'check-case-conflict = pre_commit_hooks.check_case_conflict:main',
'check-docstring-first = pre_commit_hooks.check_docstring_first:main',
'check-json = pre_commit_hooks.check_json:check_json',
'check-rubocop = pre_commit_hooks.check_rubocop:check_rubocop',
'check-merge-conflict = pre_commit_hooks.check_merge_conflict:detect_merge_conflict',
'check-xml = pre_commit_hooks.check_xml:check_xml',
'check-yaml = pre_commit_hooks.check_yaml:check_yaml',