

def load_config():

    def truthy(value):
        return bool((value.lower() in ('yes', 'true')))
    secrets_string = os.environ.get('WEBHOOK_SECRETS', '').encode('utf8')
    webhook_secrets = (secrets_string.split(b',') if secrets_string else [])
    return dict(GAG_GITHUB_STATUS=truthy(os.environ.get('GAG_GITHUB_STATUS', '')), GITHUB_AUTH=(os.environ['GITHUB_TOKEN'], 'x-oauth-basic'), MEMCACHE_SERVER=os.environ.get('MEMCACHE_SERVER'), DATABASE_URL=os.environ['DATABASE_URL'], WEBHOOK_SECRETS=webhook_secrets)

dataset/ETHPy150Open openaddresses/machine/openaddr/ci/__init__.py load_config/original