From 22e082e32ae0af47f0b52c1d99f50c6e2522fdc5 Mon Sep 17 00:00:00 2001 From: Ye Chen Date: Fri, 6 Dec 2024 14:44:31 -0500 Subject: [PATCH] fix lint&doc --- docs/inventory/instance.rst | 6 +++--- plugins/modules/ip.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/inventory/instance.rst b/docs/inventory/instance.rst index 56c71ed8..c4f28a31 100644 --- a/docs/inventory/instance.rst +++ b/docs/inventory/instance.rst @@ -58,7 +58,7 @@ Parameters **strict (type=bool):** - \• If \ :literal:`yes`\ make invalid entries a fatal error, otherwise skip and continue. + \• If :literal:`yes` make invalid entries a fatal error, otherwise skip and continue. \• Since it is possible to use facts in the expressions they might not always be available and we ignore those errors by default. @@ -94,13 +94,13 @@ Parameters **default_value (type=str):** \• The default value when the host variable's value is an empty string. - \• This option is mutually exclusive with \ :literal:`keyed\_groups[].trailing\_separator`\ . + \• This option is mutually exclusive with :literal:`keyed\_groups[].trailing\_separator`. **trailing_separator (type=bool, default=True):** \• Set this option to :literal:`false` to omit the :literal:`keyed\_groups[].separator` after the host variable when the value is an empty string. - \• This option is mutually exclusive with \ :literal:`keyed\_groups[].default\_value`\ . + \• This option is mutually exclusive with :literal:`keyed\_groups[].default\_value`. diff --git a/plugins/modules/ip.py b/plugins/modules/ip.py index a37845af..d57f095f 100644 --- a/plugins/modules/ip.py +++ b/plugins/modules/ip.py @@ -42,7 +42,7 @@ "address": SpecField( type=FieldType.string, description=["The IP address to delete."], - conflicts_with=["linode_id", "public", "type"] + conflicts_with=["linode_id", "public", "type"], ), "state": SpecField( type=FieldType.string,