From c827325e09777f9f8e487677e5b3773e1d25eb7e Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Thu, 18 Jan 2024 23:58:16 +0100 Subject: [PATCH] Fixed bullet points indentation in Google plugins docstrings. --- platypush/plugins/google/__init__.py | 36 +++++++++---------- platypush/plugins/google/calendar/__init__.py | 36 +++++++++---------- platypush/plugins/google/drive/__init__.py | 36 +++++++++---------- platypush/plugins/google/fit/__init__.py | 36 +++++++++---------- platypush/plugins/google/mail/__init__.py | 36 +++++++++---------- 5 files changed, 90 insertions(+), 90 deletions(-) diff --git a/platypush/plugins/google/__init__.py b/platypush/plugins/google/__init__.py index a35d1f4b..b904a91a 100644 --- a/platypush/plugins/google/__init__.py +++ b/platypush/plugins/google/__init__.py @@ -26,24 +26,24 @@ class GooglePlugin(Plugin): 4. Click on "Credentials", then "Create credentials" -> "OAuth client ID". - 5 Select "Desktop app", enter whichever name you like, and click "Create". + 5. Select "Desktop app", enter whichever name you like, and click "Create". 6. Click on the "Download JSON" icon next to your newly created client ID. Save the JSON file under ``/credentials/google/client_secret.json``. - 7.1. If you're running the service on a desktop environment, then you - can just start the application. A browser window will open and - you'll be asked to authorize the application - you may be prompted - with a warning because you are running a personal and potentially - unverified application. After authorizing the application, the - process will save the credentials under - ``/credentials/google/.json`` and proceed - with the plugin initialization. + 7. If you're running the service on a desktop environment, then you + can just start the application. A browser window will open and + you'll be asked to authorize the application - you may be prompted + with a warning because you are running a personal and potentially + unverified application. After authorizing the application, the + process will save the credentials under + ``/credentials/google/.json`` and proceed + with the plugin initialization. - 7.2. If you're running the service on a headless environment, or you - prefer to manually generate the credentials file before copying to - another machine, you can run the following command: + 8. If you're running the service on a headless environment, or you + prefer to manually generate the credentials file before copying to + another machine, you can run the following command: .. code-block:: bash @@ -53,12 +53,12 @@ class GooglePlugin(Plugin): [--noauth_local_webserver] \ /credentials/google/client_secret.json - When launched with ``--noauth_local_webserver``, the script will - start a local webserver and print a URL that should be opened in - your browser. After authorizing the application, you may be - prompted with a code that you should copy and paste back to the - script. Otherwise, if you're running the script on a desktop, a - browser window will be opened automatically. + When launched with ``--noauth_local_webserver``, the script will + start a local webserver and print a URL that should be opened in + your browser. After authorizing the application, you may be + prompted with a code that you should copy and paste back to the + script. Otherwise, if you're running the script on a desktop, a + browser window will be opened automatically. """ diff --git a/platypush/plugins/google/calendar/__init__.py b/platypush/plugins/google/calendar/__init__.py index 64d57df9..03296f34 100644 --- a/platypush/plugins/google/calendar/__init__.py +++ b/platypush/plugins/google/calendar/__init__.py @@ -25,24 +25,24 @@ class GoogleCalendarPlugin(GooglePlugin, CalendarInterface): 4. Click on "Credentials", then "Create credentials" -> "OAuth client ID". - 5 Select "Desktop app", enter whichever name you like, and click "Create". + 5. Select "Desktop app", enter whichever name you like, and click "Create". 6. Click on the "Download JSON" icon next to your newly created client ID. Save the JSON file under ``/credentials/google/client_secret.json``. - 7.1. If you're running the service on a desktop environment, then you - can just start the application. A browser window will open and - you'll be asked to authorize the application - you may be prompted - with a warning because you are running a personal and potentially - unverified application. After authorizing the application, the - process will save the credentials under - ``/credentials/google/.json`` and proceed - with the plugin initialization. + 7. If you're running the service on a desktop environment, then you + can just start the application. A browser window will open and + you'll be asked to authorize the application - you may be prompted + with a warning because you are running a personal and potentially + unverified application. After authorizing the application, the + process will save the credentials under + ``/credentials/google/.json`` and proceed + with the plugin initialization. - 7.2. If you're running the service on a headless environment, or you - prefer to manually generate the credentials file before copying to - another machine, you can run the following command: + 8. If you're running the service on a headless environment, or you + prefer to manually generate the credentials file before copying to + another machine, you can run the following command: .. code-block:: bash @@ -52,12 +52,12 @@ class GoogleCalendarPlugin(GooglePlugin, CalendarInterface): [--noauth_local_webserver] \ /credentials/google/client_secret.json - When launched with ``--noauth_local_webserver``, the script will - start a local webserver and print a URL that should be opened in - your browser. After authorizing the application, you may be - prompted with a code that you should copy and paste back to the - script. Otherwise, if you're running the script on a desktop, a - browser window will be opened automatically. + When launched with ``--noauth_local_webserver``, the script will + start a local webserver and print a URL that should be opened in + your browser. After authorizing the application, you may be + prompted with a code that you should copy and paste back to the + script. Otherwise, if you're running the script on a desktop, a + browser window will be opened automatically. """ diff --git a/platypush/plugins/google/drive/__init__.py b/platypush/plugins/google/drive/__init__.py index d5ea5f96..bf57c369 100644 --- a/platypush/plugins/google/drive/__init__.py +++ b/platypush/plugins/google/drive/__init__.py @@ -25,24 +25,24 @@ class GoogleDrivePlugin(GooglePlugin): 4. Click on "Credentials", then "Create credentials" -> "OAuth client ID". - 5 Select "Desktop app", enter whichever name you like, and click "Create". + 5. Select "Desktop app", enter whichever name you like, and click "Create". 6. Click on the "Download JSON" icon next to your newly created client ID. Save the JSON file under ``/credentials/google/client_secret.json``. - 7.1. If you're running the service on a desktop environment, then you - can just start the application. A browser window will open and - you'll be asked to authorize the application - you may be prompted - with a warning because you are running a personal and potentially - unverified application. After authorizing the application, the - process will save the credentials under - ``/credentials/google/.json`` and proceed - with the plugin initialization. + 7. If you're running the service on a desktop environment, then you + can just start the application. A browser window will open and + you'll be asked to authorize the application - you may be prompted + with a warning because you are running a personal and potentially + unverified application. After authorizing the application, the + process will save the credentials under + ``/credentials/google/.json`` and proceed + with the plugin initialization. - 7.2. If you're running the service on a headless environment, or you - prefer to manually generate the credentials file before copying to - another machine, you can run the following command: + 8. If you're running the service on a headless environment, or you + prefer to manually generate the credentials file before copying to + another machine, you can run the following command: .. code-block:: bash @@ -52,12 +52,12 @@ class GoogleDrivePlugin(GooglePlugin): [--noauth_local_webserver] \ /credentials/google/client_secret.json - When launched with ``--noauth_local_webserver``, the script will - start a local webserver and print a URL that should be opened in - your browser. After authorizing the application, you may be - prompted with a code that you should copy and paste back to the - script. Otherwise, if you're running the script on a desktop, a - browser window will be opened automatically. + When launched with ``--noauth_local_webserver``, the script will + start a local webserver and print a URL that should be opened in + your browser. After authorizing the application, you may be + prompted with a code that you should copy and paste back to the + script. Otherwise, if you're running the script on a desktop, a + browser window will be opened automatically. """ diff --git a/platypush/plugins/google/fit/__init__.py b/platypush/plugins/google/fit/__init__.py index f8a36fc6..a4610688 100644 --- a/platypush/plugins/google/fit/__init__.py +++ b/platypush/plugins/google/fit/__init__.py @@ -22,24 +22,24 @@ class GoogleFitPlugin(GooglePlugin): 4. Click on "Credentials", then "Create credentials" -> "OAuth client ID". - 5 Select "Desktop app", enter whichever name you like, and click "Create". + 5. Select "Desktop app", enter whichever name you like, and click "Create". 6. Click on the "Download JSON" icon next to your newly created client ID. Save the JSON file under ``/credentials/google/client_secret.json``. - 7.1. If you're running the service on a desktop environment, then you - can just start the application. A browser window will open and - you'll be asked to authorize the application - you may be prompted - with a warning because you are running a personal and potentially - unverified application. After authorizing the application, the - process will save the credentials under - ``/credentials/google/.json`` and proceed - with the plugin initialization. + 7. If you're running the service on a desktop environment, then you + can just start the application. A browser window will open and + you'll be asked to authorize the application - you may be prompted + with a warning because you are running a personal and potentially + unverified application. After authorizing the application, the + process will save the credentials under + ``/credentials/google/.json`` and proceed + with the plugin initialization. - 7.2. If you're running the service on a headless environment, or you - prefer to manually generate the credentials file before copying to - another machine, you can run the following command: + 8. If you're running the service on a headless environment, or you + prefer to manually generate the credentials file before copying to + another machine, you can run the following command: .. code-block:: bash @@ -56,12 +56,12 @@ class GoogleFitPlugin(GooglePlugin): [--noauth_local_webserver] \ /credentials/google/client_secret.json - When launched with ``--noauth_local_webserver``, the script will - start a local webserver and print a URL that should be opened in - your browser. After authorizing the application, you may be - prompted with a code that you should copy and paste back to the - script. Otherwise, if you're running the script on a desktop, a - browser window will be opened automatically. + When launched with ``--noauth_local_webserver``, the script will + start a local webserver and print a URL that should be opened in + your browser. After authorizing the application, you may be + prompted with a code that you should copy and paste back to the + script. Otherwise, if you're running the script on a desktop, a + browser window will be opened automatically. """ diff --git a/platypush/plugins/google/mail/__init__.py b/platypush/plugins/google/mail/__init__.py index ab174956..eb9cc8d0 100644 --- a/platypush/plugins/google/mail/__init__.py +++ b/platypush/plugins/google/mail/__init__.py @@ -34,24 +34,24 @@ class GoogleMailPlugin(GooglePlugin): 4. Click on "Credentials", then "Create credentials" -> "OAuth client ID". - 5 Select "Desktop app", enter whichever name you like, and click "Create". + 5. Select "Desktop app", enter whichever name you like, and click "Create". 6. Click on the "Download JSON" icon next to your newly created client ID. Save the JSON file under ``/credentials/google/client_secret.json``. - 7.1. If you're running the service on a desktop environment, then you - can just start the application. A browser window will open and - you'll be asked to authorize the application - you may be prompted - with a warning because you are running a personal and potentially - unverified application. After authorizing the application, the - process will save the credentials under - ``/credentials/google/.json`` and proceed - with the plugin initialization. + 7. If you're running the service on a desktop environment, then you + can just start the application. A browser window will open and + you'll be asked to authorize the application - you may be prompted + with a warning because you are running a personal and potentially + unverified application. After authorizing the application, the + process will save the credentials under + ``/credentials/google/.json`` and proceed + with the plugin initialization. - 7.2. If you're running the service on a headless environment, or you - prefer to manually generate the credentials file before copying to - another machine, you can run the following command: + 8. If you're running the service on a headless environment, or you + prefer to manually generate the credentials file before copying to + another machine, you can run the following command: .. code-block:: bash @@ -61,12 +61,12 @@ class GoogleMailPlugin(GooglePlugin): [--noauth_local_webserver] \ /credentials/google/client_secret.json - When launched with ``--noauth_local_webserver``, the script will - start a local webserver and print a URL that should be opened in - your browser. After authorizing the application, you may be - prompted with a code that you should copy and paste back to the - script. Otherwise, if you're running the script on a desktop, a - browser window will be opened automatically. + When launched with ``--noauth_local_webserver``, the script will + start a local webserver and print a URL that should be opened in + your browser. After authorizing the application, you may be + prompted with a code that you should copy and paste back to the + script. Otherwise, if you're running the script on a desktop, a + browser window will be opened automatically. """