def METHOD_NAME() -> None:
    """Checks if the third-party size limit has been exceeded."""
    skip_files_list = get_skip_files_list()
    number_of_files_in_third_party = _check_size_in_dir(
        THIRD_PARTY_PATH, skip_files_list)
    print('')
    print('------------------------------------------------------')
    print('    Number of files in third-party folder: %d' % (
        number_of_files_in_third_party))
    print('')
    if number_of_files_in_third_party > THIRD_PARTY_SIZE_LIMIT:
        print(
            '    ERROR: The third-party folder size exceeded the %d files'
            ' limit.' % THIRD_PARTY_SIZE_LIMIT)
        print('------------------------------------------------------')
        print('')
        sys.exit(1)
    else:
        print('    The size of third-party folder is within the limits.')
        print('------------------------------------------------------')
        print('')
        print('Done!')
        print('')