def checkNamespace(file_path):
    for excluded_path in namespace_check_excluded_paths:
        if file_path.startswith(excluded_path):
            return []
    nolint = ('NOLINT(namespace-%s)' % namespace_check.lower())
    text = readFile(file_path)
    if ((not re.search(('^\\s*namespace\\s+%s\\s*{' % namespace_check), text, re.MULTILINE)) and (not (nolint in text))):
        return [('Unable to find %s namespace or %s for file: %s' % (namespace_check, nolint, file_path))]
    return []
def checkNamespace(file_path):
    for excluded_path in namespace_check_excluded_paths:
        if file_path.startswith(excluded_path):
            return []
    nolint = ('NOLINT(namespace-%s)' % namespace_check.lower())
    text = readFile(file_path)
    if ((not re.search(('^\\s*namespace\\s+%s\\s*{' % namespace_check), text, re.MULTILINE)) and (not (nolint in text))):
        return [('Unable to find %s namespace or %s for file: %s' % (namespace_check, nolint, file_path))]
    return []