Skip to content

Commit 7c65fdd

Browse files
sambacc: remove extra parens
Found by black --preview (2024 preview style) Signed-off-by: John Mulligan <[email protected]>
1 parent 5277678 commit 7c65fdd

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

sambacc/commands/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def _update_config_args(parser: argparse.ArgumentParser) -> None:
6666
parser.add_argument(
6767
"--watch",
6868
action="store_true",
69-
help=("If set, watch the source for changes and update config."),
69+
help="If set, watch the source for changes and update config.",
7070
)
7171

7272

sambacc/commands/ctdb.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,19 @@ def _ctdb_migrate_args(parser: argparse.ArgumentParser) -> None:
5757
parser.add_argument(
5858
"--dest-dir",
5959
default=ctdb.DB_DIR,
60-
help=("Specify where CTDB database files will be written."),
60+
help="Specify where CTDB database files will be written.",
6161
)
6262

6363

6464
def _ctdb_general_node_args(parser: argparse.ArgumentParser) -> None:
6565
parser.add_argument(
6666
"--hostname",
67-
help=("Specify the host name for the CTDB node"),
67+
help="Specify the host name for the CTDB node",
6868
)
6969
parser.add_argument(
7070
"--node-number",
7171
type=int,
72-
help=("Expected node number"),
72+
help="Expected node number",
7373
)
7474
# This is a choice with a single acceptable param, rather than an on/off
7575
# bool, # in the case that other container orchs have a similar but not
@@ -84,15 +84,15 @@ def _ctdb_general_node_args(parser: argparse.ArgumentParser) -> None:
8484
)
8585
parser.add_argument(
8686
"--persistent-path",
87-
help=("Path to a persistent path for storing nodes file"),
87+
help="Path to a persistent path for storing nodes file",
8888
)
8989

9090

9191
def _ctdb_set_node_args(parser: argparse.ArgumentParser) -> None:
9292
_ctdb_general_node_args(parser)
9393
parser.add_argument(
9494
"--ip",
95-
help=("Specify node by IP"),
95+
help="Specify node by IP",
9696
)
9797

9898

sambacc/commands/dns.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,18 @@ def _dns_register_args(parser: argparse.ArgumentParser) -> None:
3232
parser.add_argument(
3333
"--watch",
3434
action="store_true",
35-
help=("If set, watch the source for changes and update DNS."),
35+
help="If set, watch the source for changes and update DNS.",
3636
)
3737
parser.add_argument(
3838
"--domain",
3939
default="",
40-
help=("Manually specify parent domain for DNS entries."),
40+
help="Manually specify parent domain for DNS entries.",
4141
)
4242
parser.add_argument(
4343
"--target",
4444
default=container_dns.EXTERNAL,
4545
choices=[container_dns.EXTERNAL, container_dns.INTERNAL],
46-
help=("Register IPs that fulfill the given access target."),
46+
help="Register IPs that fulfill the given access target.",
4747
)
4848
parser.add_argument("source", help="Path to source JSON file.")
4949

sambacc/commands/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ def global_args(parser: Parser) -> None:
101101
parser.add_argument(
102102
"--skip-if-file",
103103
action="append",
104-
help=("Perform no action if the specified path exists."),
104+
help="Perform no action if the specified path exists.",
105105
)
106106
parser.add_argument(
107107
"--validate-config",
108108
choices=("auto", "required", "true", "false"),
109-
help=("Perform schema based validation of configuration."),
109+
help="Perform schema based validation of configuration.",
110110
)
111111
parser.add_argument(
112112
"--ceph-id",

0 commit comments

Comments
 (0)