From 64647d230ac936cb43864481ae0f45d13707d7b4 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Thu, 14 Nov 2019 16:32:11 -0800 Subject: [PATCH] pep8 cleanup --- jc/parsers/arp.py | 4 ++-- jc/parsers/df.py | 8 ++++---- jc/parsers/dig.py | 8 ++++---- jc/parsers/env.py | 8 ++++---- jc/parsers/foo.py | 8 ++++---- jc/parsers/free.py | 6 +++--- 6 files changed, 21 insertions(+), 21 deletions(-) diff --git a/jc/parsers/arp.py b/jc/parsers/arp.py index 506d2b5a..1fab219c 100644 --- a/jc/parsers/arp.py +++ b/jc/parsers/arp.py @@ -85,7 +85,7 @@ def process(proc_data): Final processing to conform to the schema. Parameters: - + proc_data: (dictionary) raw structured data to process Returns: @@ -117,7 +117,7 @@ def parse(data, raw=False, quiet=False): Main text parsing function Parameters: - + data: (string) text data to parse raw: (boolean) output preprocessed JSON if True quiet: (boolean) suppress warning messages if True diff --git a/jc/parsers/df.py b/jc/parsers/df.py index 69dcf885..6f0d750f 100644 --- a/jc/parsers/df.py +++ b/jc/parsers/df.py @@ -71,13 +71,13 @@ def process(proc_data): Final processing to conform to the schema. Parameters: - + proc_data: (dictionary) raw structured data to process Returns: dictionary structured data with the following schema: - + [ { "filesystem": string, @@ -122,7 +122,7 @@ def parse(data, raw=False, quiet=False): Main text parsing function Parameters: - + data: (string) text data to parse raw: (boolean) output preprocessed JSON if True quiet: (boolean) suppress warning messages if True @@ -131,7 +131,7 @@ def parse(data, raw=False, quiet=False): dictionary raw or processed structured data """ - + # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux'] diff --git a/jc/parsers/dig.py b/jc/parsers/dig.py index 9de29af3..374116af 100644 --- a/jc/parsers/dig.py +++ b/jc/parsers/dig.py @@ -323,13 +323,13 @@ def process(proc_data): Final processing to conform to the schema. Parameters: - + proc_data: (dictionary) raw structured data to process Returns: dictionary structured data with the following schema: - + [ { "id": integer, @@ -494,7 +494,7 @@ def parse(data, raw=False, quiet=False): Main text parsing function Parameters: - + data: (string) text data to parse raw: (boolean) output preprocessed JSON if True quiet: (boolean) suppress warning messages if True @@ -503,7 +503,7 @@ def parse(data, raw=False, quiet=False): dictionary raw or processed structured data """ - + # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'win32', 'aix', 'freebsd'] diff --git a/jc/parsers/env.py b/jc/parsers/env.py index aad3f9b7..89873e8b 100644 --- a/jc/parsers/env.py +++ b/jc/parsers/env.py @@ -51,13 +51,13 @@ def process(proc_data): Final processing to conform to the schema. Parameters: - + proc_data: (dictionary) raw structured data to process Returns: dictionary structured data with the following schema: - + [ { "name": string, @@ -82,7 +82,7 @@ def parse(data, raw=False, quiet=False): Main text parsing function Parameters: - + data: (string) text data to parse raw: (boolean) output preprocessed JSON if True quiet: (boolean) suppress warning messages if True @@ -91,7 +91,7 @@ def parse(data, raw=False, quiet=False): dictionary raw or processed structured data """ - + # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'win32', 'aix', 'freebsd'] diff --git a/jc/parsers/foo.py b/jc/parsers/foo.py index 2252f009..4934b8d9 100644 --- a/jc/parsers/foo.py +++ b/jc/parsers/foo.py @@ -19,13 +19,13 @@ def process(proc_data): Final processing to conform to the schema. Parameters: - + proc_data: (dictionary) raw structured data to process Returns: dictionary structured data with the following schema: - + [ { "foo": string, @@ -44,7 +44,7 @@ def parse(data, raw=False, quiet=False): Main text parsing function Parameters: - + data: (string) text data to parse raw: (boolean) output preprocessed JSON if True quiet: (boolean) suppress warning messages if True @@ -53,7 +53,7 @@ def parse(data, raw=False, quiet=False): dictionary raw or processed structured data """ - + # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux', 'darwin', 'cygwin', 'win32', 'aix', 'freebsd'] diff --git a/jc/parsers/free.py b/jc/parsers/free.py index f96b61ea..ea509019 100644 --- a/jc/parsers/free.py +++ b/jc/parsers/free.py @@ -51,7 +51,7 @@ def process(proc_data): Final processing to conform to the schema. Parameters: - + proc_data: (dictionary) raw structured data to process Returns: @@ -89,7 +89,7 @@ def parse(data, raw=False, quiet=False): Main text parsing function Parameters: - + data: (string) text data to parse raw: (boolean) output preprocessed JSON if True quiet: (boolean) suppress warning messages if True @@ -98,7 +98,7 @@ def parse(data, raw=False, quiet=False): dictionary raw or processed structured data """ - + # compatible options: linux, darwin, cygwin, win32, aix, freebsd compatible = ['linux']