File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -796,7 +796,7 @@ def convert_analyse_config(
796796 if src_discover :
797797 analyse_config_dict ["src_files" ] = src_discover .source_paths
798798 analyse_config_dict ["src_dir" ] = src_discover .src_discover_config .src_dir
799- analyse_config_dict ["comment_type" ] = (
799+ analyse_config_dict ["comment_type" ] = CommentType (
800800 src_discover .src_discover_config .comment_type
801801 )
802802
@@ -862,5 +862,5 @@ def generate_project_configs(
862862 analyse_config = convert_analyse_config (analyse_section_config )
863863 analyse_config .get_oneline_needs = True # force to get oneline_need
864864 # Copy comment_type from source_discover_config to analyse_config
865- analyse_config .comment_type = source_discover_config .comment_type
865+ analyse_config .comment_type = CommentType ( source_discover_config .comment_type )
866866 project_config ["analyse_config" ] = analyse_config
You can’t perform that action at this time.
0 commit comments