[ITK-dev] Pre-commit Failure uncrustify
Somesh
someshsandbox at gmail.com
Mon Sep 12 14:49:56 EDT 2016
Hi,
I recently set up a ITK dev on my mac. While commiting a patch locally, I
am getting failure in precommit hooks. Specifically uncrustify is giving
the following errors. Do I have to install a specific version of
uncrustify/python ? I installed uncrustify using brew.
./Utilities/Maintenance/uncrustify_itk.cfg:99 Unknown symbol
'indent_cs_delegate_brace'
./Utilities/Maintenance/uncrustify_itk.cfg:287 Unknown symbol
'indent_token_after_brace'
./Utilities/Maintenance/uncrustify_itk.cfg:290 Unknown symbol
'indent_cpp_lambda_body'
./Utilities/Maintenance/uncrustify_itk.cfg:424 Unknown symbol
'sp_angle_paren_empty'
./Utilities/Maintenance/uncrustify_itk.cfg:533 Unknown symbol
'sp_after_operator_sym_empty'
./Utilities/Maintenance/uncrustify_itk.cfg:570 Unknown symbol
'sp_func_proto_paren_empty'
./Utilities/Maintenance/uncrustify_itk.cfg:576 Unknown symbol
'sp_func_def_paren_empty'
./Utilities/Maintenance/uncrustify_itk.cfg:614 Unknown symbol
'sp_func_class_paren_empty'
./Utilities/Maintenance/uncrustify_itk.cfg:644 Unknown symbol
'sp_super_paren'
./Utilities/Maintenance/uncrustify_itk.cfg:647 Unknown symbol
'sp_this_paren'
./Utilities/Maintenance/uncrustify_itk.cfg:851 Unknown symbol
'sp_skip_vbrace_tokens'
./Utilities/Maintenance/uncrustify_itk.cfg:922 Unknown symbol
'align_var_class_span'
./Utilities/Maintenance/uncrustify_itk.cfg:925 Unknown symbol
'align_var_class_thresh'
./Utilities/Maintenance/uncrustify_itk.cfg:928 Unknown symbol
'align_var_class_gap'
./Utilities/Maintenance/uncrustify_itk.cfg:1068 Unknown symbol
'nl_oc_block_brace'
./Utilities/Maintenance/uncrustify_itk.cfg:1245 Unknown symbol
'nl_enum_own_lines'
./Utilities/Maintenance/uncrustify_itk.cfg:1256 Unknown symbol
'nl_func_class_scope'
./Utilities/Maintenance/uncrustify_itk.cfg:1284 Unknown symbol
'nl_func_decl_start_multi_line'
./Utilities/Maintenance/uncrustify_itk.cfg:1287 Unknown symbol
'nl_func_def_start_multi_line'
./Utilities/Maintenance/uncrustify_itk.cfg:1296 Unknown symbol
'nl_func_decl_args_multi_line'
./Utilities/Maintenance/uncrustify_itk.cfg:1299 Unknown symbol
'nl_func_def_args_multi_line'
./Utilities/Maintenance/uncrustify_itk.cfg:1314 Unknown symbol
'nl_func_decl_end_multi_line'
./Utilities/Maintenance/uncrustify_itk.cfg:1317 Unknown symbol
'nl_func_def_end_multi_line'
./Utilities/Maintenance/uncrustify_itk.cfg:1326 Unknown symbol
'nl_func_call_start_multi_line'
./Utilities/Maintenance/uncrustify_itk.cfg:1329 Unknown symbol
'nl_func_call_args_multi_line'
./Utilities/Maintenance/uncrustify_itk.cfg:1332 Unknown symbol
'nl_func_call_end_multi_line'
./Utilities/Maintenance/uncrustify_itk.cfg:1388 Unknown symbol
'nl_squeeze_ifdef_top_level'
./Utilities/Maintenance/uncrustify_itk.cfg:1461 Unknown symbol
'nl_split_if_one_liner'
./Utilities/Maintenance/uncrustify_itk.cfg:1465 Unknown symbol
'nl_split_for_one_liner'
./Utilities/Maintenance/uncrustify_itk.cfg:1469 Unknown symbol
'nl_split_while_one_liner'
./Utilities/Maintenance/uncrustify_itk.cfg:1541 Unknown symbol
'nl_after_func_class_proto'
./Utilities/Maintenance/uncrustify_itk.cfg:1544 Unknown symbol
'nl_after_func_class_proto_group'
./Utilities/Maintenance/uncrustify_itk.cfg:1662 Unknown symbol
'mod_full_brace_if_chain_only'
./Utilities/Maintenance/uncrustify_itk.cfg:1781 Unknown symbol
'cmt_multi_first_len_minimum'
./Utilities/Maintenance/uncrustify_itk.cfg:1812 Unknown symbol
'cmt_insert_before_inlines'
./Utilities/Maintenance/uncrustify_itk.cfg:1817 Unknown symbol
'cmt_insert_before_ctor_dtor'
./Utilities/Maintenance/uncrustify_itk.cfg:1878 Unknown symbol
'use_options_overriding_for_qt_macros'
./Utilities/Maintenance/uncrustify_itk.cfg:1885 Unknown symbol
'warn_level_tabs_found_in_verbatim_string_literals'
Thanks,
Somesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-developers/attachments/20160912/c7b87b15/attachment.html>
More information about the Insight-developers
mailing list