From 49b3b01d1950ae3cf65f65cfd6b3ea48a1afe203 Mon Sep 17 00:00:00 2001 From: Keith James Date: Mon, 23 Sep 2024 11:56:58 +0100 Subject: [PATCH] Fix punctuation --- src/npg_irods/cli/apply_ont_metadata.py | 4 +++- src/npg_irods/cli/check_checksums.py | 4 +++- src/npg_irods/cli/check_common_metadata.py | 4 +++- src/npg_irods/cli/check_consent_withdrawn.py | 4 +++- src/npg_irods/cli/check_replicas.py | 4 +++- src/npg_irods/cli/locate_data_objects.py | 2 +- src/npg_irods/cli/withdraw_consent.py | 4 +++- 7 files changed, 19 insertions(+), 7 deletions(-) diff --git a/src/npg_irods/cli/apply_ont_metadata.py b/src/npg_irods/cli/apply_ont_metadata.py index 07d5d71b..5a5599fb 100755 --- a/src/npg_irods/cli/apply_ont_metadata.py +++ b/src/npg_irods/cli/apply_ont_metadata.py @@ -63,7 +63,9 @@ "collections are in the local zone.", type=str, ) -parser.add_argument("--version", help="Print the version and exit", action="store_true") +parser.add_argument( + "--version", help="Print the version and exit.", action="store_true" +) args = parser.parse_args() configure_logging( diff --git a/src/npg_irods/cli/check_checksums.py b/src/npg_irods/cli/check_checksums.py index 597a3360..cc4dd801 100755 --- a/src/npg_irods/cli/check_checksums.py +++ b/src/npg_irods/cli/check_checksums.py @@ -79,7 +79,9 @@ type=int, default=4, ) -parser.add_argument("--version", help="Print the version and exit", action="store_true") +parser.add_argument( + "--version", help="Print the version and exit.", action="store_true" +) args = parser.parse_args() configure_logging( diff --git a/src/npg_irods/cli/check_common_metadata.py b/src/npg_irods/cli/check_common_metadata.py index 2b8cc9e2..5ddb0823 100755 --- a/src/npg_irods/cli/check_common_metadata.py +++ b/src/npg_irods/cli/check_common_metadata.py @@ -78,7 +78,9 @@ type=int, default=4, ) -parser.add_argument("--version", help="Print the version and exit", action="store_true") +parser.add_argument( + "--version", help="Print the version and exit.", action="store_true" +) args = parser.parse_args() configure_logging( diff --git a/src/npg_irods/cli/check_consent_withdrawn.py b/src/npg_irods/cli/check_consent_withdrawn.py index d54a0ef1..10f353bd 100755 --- a/src/npg_irods/cli/check_consent_withdrawn.py +++ b/src/npg_irods/cli/check_consent_withdrawn.py @@ -73,7 +73,9 @@ help="Print to output those paths that fail the check.", action="store_true", ) -parser.add_argument("--version", help="Print the version and exit", action="store_true") +parser.add_argument( + "--version", help="Print the version and exit.", action="store_true" +) args = parser.parse_args() diff --git a/src/npg_irods/cli/check_replicas.py b/src/npg_irods/cli/check_replicas.py index f9694adf..7436ed8b 100755 --- a/src/npg_irods/cli/check_replicas.py +++ b/src/npg_irods/cli/check_replicas.py @@ -87,7 +87,9 @@ type=int, default=4, ) -parser.add_argument("--version", help="Print the version and exit", action="store_true") +parser.add_argument( + "--version", help="Print the version and exit.", action="store_true" +) args = parser.parse_args() configure_logging( diff --git a/src/npg_irods/cli/locate_data_objects.py b/src/npg_irods/cli/locate_data_objects.py index 21c1bc3e..122e7df3 100644 --- a/src/npg_irods/cli/locate_data_objects.py +++ b/src/npg_irods/cli/locate_data_objects.py @@ -567,7 +567,7 @@ def main(): type=str, ) parser.add_argument( - "--version", help="Print the version and exit", action="store_true" + "--version", help="Print the version and exit.", action="store_true" ) subparsers = parser.add_subparsers(title="Sub-commands", required=True) diff --git a/src/npg_irods/cli/withdraw_consent.py b/src/npg_irods/cli/withdraw_consent.py index 12cd4a6a..93c4eed4 100755 --- a/src/npg_irods/cli/withdraw_consent.py +++ b/src/npg_irods/cli/withdraw_consent.py @@ -75,7 +75,9 @@ help="Print to output those paths that fail the check.", action="store_true", ) -parser.add_argument("--version", help="Print the version and exit", action="store_true") +parser.add_argument( + "--version", help="Print the version and exit.", action="store_true" +) args = parser.parse_args()