From 1323156838aab8af02a4a4427186f06943d2ed76 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 19 Jan 2024 01:48:33 +0100 Subject: [PATCH] Fixed `google.credentials` script order of arguments in the docstring. --- platypush/plugins/google/__init__.py | 3 +-- platypush/plugins/google/calendar/__init__.py | 3 +-- platypush/plugins/google/drive/__init__.py | 3 +-- platypush/plugins/google/fit/__init__.py | 3 +-- platypush/plugins/google/mail/__init__.py | 3 +-- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/platypush/plugins/google/__init__.py b/platypush/plugins/google/__init__.py index b904a91a..d6d8334a 100644 --- a/platypush/plugins/google/__init__.py +++ b/platypush/plugins/google/__init__.py @@ -50,8 +50,7 @@ class GooglePlugin(Plugin): mkdir -p /credentials/google python -m platypush.plugins.google.credentials \ 'calendar.readonly,gmail.modify' \ - [--noauth_local_webserver] \ - /credentials/google/client_secret.json + /credentials/google/client_secret.json [--noauth_local_webserver] When launched with ``--noauth_local_webserver``, the script will start a local webserver and print a URL that should be opened in diff --git a/platypush/plugins/google/calendar/__init__.py b/platypush/plugins/google/calendar/__init__.py index 03296f34..4f06e153 100644 --- a/platypush/plugins/google/calendar/__init__.py +++ b/platypush/plugins/google/calendar/__init__.py @@ -49,8 +49,7 @@ class GoogleCalendarPlugin(GooglePlugin, CalendarInterface): mkdir -p /credentials/google python -m platypush.plugins.google.credentials \ 'calendar.readonly' \ - [--noauth_local_webserver] \ - /credentials/google/client_secret.json + /credentials/google/client_secret.json [--noauth_local_webserver] When launched with ``--noauth_local_webserver``, the script will start a local webserver and print a URL that should be opened in diff --git a/platypush/plugins/google/drive/__init__.py b/platypush/plugins/google/drive/__init__.py index bf57c369..0d53af6f 100644 --- a/platypush/plugins/google/drive/__init__.py +++ b/platypush/plugins/google/drive/__init__.py @@ -49,8 +49,7 @@ class GoogleDrivePlugin(GooglePlugin): mkdir -p /credentials/google python -m platypush.plugins.google.credentials \ 'drive,drive.appfolder,drive.photos.readonly' \ - [--noauth_local_webserver] \ - /credentials/google/client_secret.json + /credentials/google/client_secret.json [--noauth_local_webserver] When launched with ``--noauth_local_webserver``, the script will start a local webserver and print a URL that should be opened in diff --git a/platypush/plugins/google/fit/__init__.py b/platypush/plugins/google/fit/__init__.py index 93d414b1..857c5354 100644 --- a/platypush/plugins/google/fit/__init__.py +++ b/platypush/plugins/google/fit/__init__.py @@ -59,8 +59,7 @@ class GoogleFitPlugin(GooglePlugin, RunnablePlugin): fitness.location.read " $ python -m platypush.plugins.google.credentials "$roles" \ - [--noauth_local_webserver] \ - /credentials/google/client_secret.json + /credentials/google/client_secret.json [--noauth_local_webserver] When launched with ``--noauth_local_webserver``, the script will start a local webserver and print a URL that should be opened in diff --git a/platypush/plugins/google/mail/__init__.py b/platypush/plugins/google/mail/__init__.py index eb9cc8d0..c713ee84 100644 --- a/platypush/plugins/google/mail/__init__.py +++ b/platypush/plugins/google/mail/__init__.py @@ -58,8 +58,7 @@ class GoogleMailPlugin(GooglePlugin): mkdir -p /credentials/google python -m platypush.plugins.google.credentials \ 'gmail.modify' \ - [--noauth_local_webserver] \ - /credentials/google/client_secret.json + /credentials/google/client_secret.json [--noauth_local_webserver] When launched with ``--noauth_local_webserver``, the script will start a local webserver and print a URL that should be opened in