From 6a09a44ef716d67b16391e71264a9cf47a231e82 Mon Sep 17 00:00:00 2001 From: Reinier van der Leer Date: Wed, 14 Feb 2024 23:31:35 +0100 Subject: [PATCH] lint(agent): Fix telemetry.py linting error & formatting --- autogpts/autogpt/autogpt/app/telemetry.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/autogpts/autogpt/autogpt/app/telemetry.py b/autogpts/autogpt/autogpt/app/telemetry.py index 41f281b5..c3a6aef7 100644 --- a/autogpts/autogpt/autogpt/app/telemetry.py +++ b/autogpts/autogpt/autogpt/app/telemetry.py @@ -16,12 +16,14 @@ def setup_telemetry() -> None: allow_telemetry = click.prompt( "❓ Do you want to enable telemetry? ❓\n" "This means AutoGPT will send diagnostic data to the core development team " - "when something goes wrong,\nand will help us to diagnose and fix problems " - "earlier and faster.\n\n" - "By entering 'yes', you agree that you have read and agree to our Privacy" - " Policy available here:\n" - "https://www.notion.so/auto-gpt/Privacy-Policy-ab11c9c20dbd4de1a15dcffe84d77984" - "\n\nPlease enter 'yes' or 'no'", + "when something goes wrong,\n" + "and will help us to diagnose and fix problems earlier and faster.\n" + "\n" + "By entering 'yes', you confirm that you have read and agree to our " + "Privacy Policy, which is available here:\n" + "https://www.notion.so/auto-gpt/Privacy-Policy-ab11c9c20dbd4de1a15dcffe84d77984\n" # noqa + "\n" + "Please enter 'yes' or 'no'", type=bool, ) set_env_config_value("TELEMETRY_OPT_IN", "true" if allow_telemetry else "false")