From 3363f7a76b26b1be9926a826a387d576faf0dced Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sat, 28 Mar 2020 18:06:00 +0100 Subject: [PATCH] Remove __init__ and exempt doc for QA (long lines) --- library/__init__.py | 1 - library/gandi_dns.py | 10 +++++----- 2 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 library/__init__.py diff --git a/library/__init__.py b/library/__init__.py deleted file mode 100644 index 901e511..0000000 --- a/library/__init__.py +++ /dev/null @@ -1 +0,0 @@ -VERSION = "0.0.1" diff --git a/library/gandi_dns.py b/library/gandi_dns.py index e24fb40..86e0a35 100644 --- a/library/gandi_dns.py +++ b/library/gandi_dns.py @@ -17,9 +17,9 @@ author: options: apirest_key: description: - - The Gandi REST API key. It may also be specified by the - C(API_REST_KEY) environment variable. See the - U(https://github.com/Gandi/gandi.cli/blob/master/gandicli.man.rst#environment) + - The Gandi REST API key. It may also be specified by the C(APIREST_KEY) + environment variable. See U(https://github.com/Gandi/gandi.cli/blob/master/gandicli.man.rst#environment) + for more. type: str required: true domain: @@ -38,7 +38,7 @@ options: - present - absent required: true -""" +""" # noqa EXAMPLES = """ - name: Create a new Gandi DNS entry @@ -65,7 +65,7 @@ except ImportError: def retrieve_domain(domain): """Retrieve information about an existing domain.""" - pass + output = subprocess.check_output(["gandi", ""]) def main():