<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"MS 明朝";}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Somesh,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">I don’t think that uncrustify and KWStyle are consistent.   I think you need to turn off uncrustify.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Hans<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri;color:black">-- <o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-family:Calibri;color:black">From: </span>
</b><span style="font-family:Calibri;color:black">Insight-developers <insight-developers-bounces@itk.org> on behalf of Somesh <someshsandbox@gmail.com><br>
<b>Date: </b>Monday, September 12, 2016 at 1:49 PM<br>
<b>To: </b>"insight-developers@itk.org" <insight-developers@itk.org><br>
<b>Subject: </b>[ITK-dev] Pre-commit Failure uncrustify<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Hi, <o:p></o:p></p>
<div>
<p class="MsoNormal">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.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:99 Unknown symbol 'indent_cs_delegate_brace'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:287 Unknown symbol 'indent_token_after_brace'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:290 Unknown symbol 'indent_cpp_lambda_body'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:424 Unknown symbol 'sp_angle_paren_empty'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:533 Unknown symbol 'sp_after_operator_sym_empty'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:570 Unknown symbol 'sp_func_proto_paren_empty'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:576 Unknown symbol 'sp_func_def_paren_empty'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:614 Unknown symbol 'sp_func_class_paren_empty'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:644 Unknown symbol 'sp_super_paren'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:647 Unknown symbol 'sp_this_paren'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:851 Unknown symbol 'sp_skip_vbrace_tokens'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:922 Unknown symbol 'align_var_class_span'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:925 Unknown symbol 'align_var_class_thresh'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:928 Unknown symbol 'align_var_class_gap'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1068 Unknown symbol 'nl_oc_block_brace'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1245 Unknown symbol 'nl_enum_own_lines'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1256 Unknown symbol 'nl_func_class_scope'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1284 Unknown symbol 'nl_func_decl_start_multi_line'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1287 Unknown symbol 'nl_func_def_start_multi_line'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1296 Unknown symbol 'nl_func_decl_args_multi_line'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1299 Unknown symbol 'nl_func_def_args_multi_line'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1314 Unknown symbol 'nl_func_decl_end_multi_line'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1317 Unknown symbol 'nl_func_def_end_multi_line'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1326 Unknown symbol 'nl_func_call_start_multi_line'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1329 Unknown symbol 'nl_func_call_args_multi_line'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1332 Unknown symbol 'nl_func_call_end_multi_line'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1388 Unknown symbol 'nl_squeeze_ifdef_top_level'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1461 Unknown symbol 'nl_split_if_one_liner'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1465 Unknown symbol 'nl_split_for_one_liner'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1469 Unknown symbol 'nl_split_while_one_liner'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1541 Unknown symbol 'nl_after_func_class_proto'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1544 Unknown symbol 'nl_after_func_class_proto_group'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1662 Unknown symbol 'mod_full_brace_if_chain_only'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1781 Unknown symbol 'cmt_multi_first_len_minimum'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1812 Unknown symbol 'cmt_insert_before_inlines'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1817 Unknown symbol 'cmt_insert_before_ctor_dtor'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1878 Unknown symbol 'use_options_overriding_for_qt_macros'<o:p></o:p></p>
<p>./Utilities/Maintenance/uncrustify_itk.cfg:1885 Unknown symbol 'warn_level_tabs_found_in_verbatim_string_literals'<o:p></o:p></p>
<p><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Somesh<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</body>
</html>