<commit_before>import ycm_core
from os import getcwd
from os.path import abspath, join, isabs, normpath, exists, splitext, \
        dirname

####
# Global lists for the flags and file detection
####

##
# This is the list of default flags.
##
default_flags = [
    "-Wall",
    "-Wextra"
]

##
# C header extensions
##
c_header_extensions = [
    ".h"
]

##
# C source extensions
##
c_source_extensions = [
    ".c"
]

##
# C additional flags
##
c_additional_flags = [
    # Tell clang that this is a C file.
    "-x"
    "c",

    # Use the latest standard if possible.
    "-std=c11"
]

##
# CPP header extensions
##
cpp_header_extensions = [
    ".h"
    ".hh",
    ".H",
    ".hp",
    ".hpp",
    ".HPP",
    ".hxx",
    ".h++"
]

##
# CPP source extensions
##
cpp_source_extensions = [
    ".cp",
    ".cpp",
    ".CPP",
    ".cc",
    ".C",
    ".cxx",
    ".c++"
]

##
# CPP additional flags
##
cpp_additional_flags = [
    # Tell clang that this file is a CPP file.
    "-x",
    "c++",

    # Use the latest standard if possible.
    "-std=c++11"
]

<commit_msg>Add missing commas in list definitions resulting in wrong behavior<commit_after>import ycm_core
from os import getcwd
from os.path import abspath, join, isabs, normpath, exists, splitext, \
        dirname

####
# Global lists for the flags and file detection
####

##
# This is the list of default flags.
##
default_flags = [
    "-Wall",
    "-Wextra",
]

##
# C header extensions
##
c_header_extensions = [
    ".h",
]

##
# C source extensions
##
c_source_extensions = [
    ".c",
]

##
# C additional flags
##
c_additional_flags = [
    # Tell clang that this is a C file.
    "-x",
    "c",

    # Use the latest standard if possible.
    "-std=c11",
]

##
# CPP header extensions
##
cpp_header_extensions = [
    ".h",
    ".hh",
    ".H",
    ".hp",
    ".hpp",
    ".HPP",
    ".hxx",
    ".h++",
]

##
# CPP source extensions
##
cpp_source_extensions = [
    ".cp",
    ".cpp",
    ".CPP",
    ".cc",
    ".C",
    ".cxx",
    ".c++",
]

##
# CPP additional flags
##
cpp_additional_flags = [
    # Tell clang that this file is a CPP file.
    "-x",
    "c++",

    # Use the latest standard if possible.
    "-std=c++11",
]


{'fraction_non_alphanumeric': 0.17074275362318841, 'fraction_numerical': 0.0036231884057971015, 'mean_word_length': 2.346969696969697, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5539472', 'n_tokens_mistral': 821, 'n_tokens_neox': 805, 'n_words': 229}