def get_deploy_key_repo(deploy_repo, keypath, key_ext='<STR_LIT>'):
<EOL>deploy_key_repo = deploy_repo[:-<NUM_LIT:5>] if deploy_repo.endswith('<STR_LIT>') else deploy_repo<EOL>snake_case_name = deploy_key_repo.replace('<STR_LIT:->', '<STR_LIT:_>').replace('<STR_LIT:.>', '<STR_LIT:_>').replace('<STR_LIT:/>', '<STR_LIT:_>').lower()<EOL>env_name = '<STR_LIT>' + snake_case_name.upper()<EOL>keypath = keypath or '<STR_LIT>' + snake_case_name + key_ext<EOL>return (deploy_key_repo, env_name, keypath)<EOL>
Return (repository of which deploy key is used, environment variable to store
the encryption key of deploy key, path of deploy key file)