"""Verification error messages.""" from constants import general INVALID_PATH_MSG = ( 'Invalid file path. Files must be uploaded ' 'into the root directory of the bucket') INVALID_NAME_MSG = ( 'File name does not match the pattern: ' 'LlabelID_periodID_filename.extension') INVALID_SIZE_MSG = 'Invalid size. Must be less then {} Mb.'.format( general.MAX_ALLOWED_FILE_SIZE_MB) INVALID_EXTENSION_MSG = ( 'Invalid extension. Please use one of the following: ' '{}'.format(', '.join(general.ALLOWED_FILE_EXTENSIONS)))