mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-19 00:17:51 +02:00
pep8 fixes
This commit is contained in:
@ -43,13 +43,13 @@ def process(proc_data):
|
|||||||
Final processing to conform to the schema.
|
Final processing to conform to the schema.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
|
|
||||||
proc_data: (dictionary) raw structured data to process
|
proc_data: (dictionary) raw structured data to process
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
|
||||||
dictionary structured data with the following schema:
|
dictionary structured data with the following schema:
|
||||||
|
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"line": string,
|
"line": string,
|
||||||
@ -74,7 +74,7 @@ def parse(data, raw=False, quiet=False):
|
|||||||
Main text parsing function
|
Main text parsing function
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
|
|
||||||
data: (string) text data to parse
|
data: (string) text data to parse
|
||||||
raw: (boolean) output preprocessed JSON if True
|
raw: (boolean) output preprocessed JSON if True
|
||||||
quiet: (boolean) suppress warning messages if True
|
quiet: (boolean) suppress warning messages if True
|
||||||
@ -83,7 +83,7 @@ def parse(data, raw=False, quiet=False):
|
|||||||
|
|
||||||
dictionary raw or processed structured data
|
dictionary raw or processed structured data
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# compatible options: linux, darwin, cygwin, win32, aix, freebsd
|
# compatible options: linux, darwin, cygwin, win32, aix, freebsd
|
||||||
compatible = ['linux', 'darwin', 'cygwin', 'win32', 'aix', 'freebsd']
|
compatible = ['linux', 'darwin', 'cygwin', 'win32', 'aix', 'freebsd']
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@ def process(proc_data):
|
|||||||
Final processing to conform to the schema.
|
Final processing to conform to the schema.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
|
|
||||||
proc_data: (dictionary) raw structured data to process
|
proc_data: (dictionary) raw structured data to process
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
@ -133,7 +133,7 @@ def process(proc_data):
|
|||||||
Final processing to conform to the schema.
|
Final processing to conform to the schema.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
|
|
||||||
proc_data: (dictionary) raw structured data to process
|
proc_data: (dictionary) raw structured data to process
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
@ -208,7 +208,7 @@ def parse(data, raw=False, quiet=False):
|
|||||||
Main text parsing function
|
Main text parsing function
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
|
|
||||||
data: (string) text data to parse
|
data: (string) text data to parse
|
||||||
raw: (boolean) output preprocessed JSON if True
|
raw: (boolean) output preprocessed JSON if True
|
||||||
quiet: (boolean) suppress warning messages if True
|
quiet: (boolean) suppress warning messages if True
|
||||||
@ -217,7 +217,7 @@ def parse(data, raw=False, quiet=False):
|
|||||||
|
|
||||||
dictionary raw or processed structured data
|
dictionary raw or processed structured data
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# compatible options: linux, darwin, cygwin, win32, aix, freebsd
|
# compatible options: linux, darwin, cygwin, win32, aix, freebsd
|
||||||
compatible = ['linux']
|
compatible = ['linux']
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ def process(proc_data):
|
|||||||
Final processing to conform to the schema.
|
Final processing to conform to the schema.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
|
|
||||||
proc_data: (dictionary) raw structured data to process
|
proc_data: (dictionary) raw structured data to process
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
@ -110,7 +110,7 @@ def parse(data, raw=False, quiet=False):
|
|||||||
Main text parsing function
|
Main text parsing function
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
|
|
||||||
data: (string) text data to parse
|
data: (string) text data to parse
|
||||||
raw: (boolean) output preprocessed JSON if True
|
raw: (boolean) output preprocessed JSON if True
|
||||||
quiet: (boolean) suppress warning messages if True
|
quiet: (boolean) suppress warning messages if True
|
||||||
@ -119,7 +119,7 @@ def parse(data, raw=False, quiet=False):
|
|||||||
|
|
||||||
dictionary raw or processed structured data
|
dictionary raw or processed structured data
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# compatible options: linux, darwin, cygwin, win32, aix, freebsd
|
# compatible options: linux, darwin, cygwin, win32, aix, freebsd
|
||||||
compatible = ['linux', 'darwin', 'cygwin', 'aix', 'freebsd']
|
compatible = ['linux', 'darwin', 'cygwin', 'aix', 'freebsd']
|
||||||
|
|
||||||
|
@ -143,13 +143,13 @@ def process(proc_data):
|
|||||||
Final processing to conform to the schema.
|
Final processing to conform to the schema.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
|
|
||||||
proc_data: (dictionary) raw structured data to process
|
proc_data: (dictionary) raw structured data to process
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
|
||||||
dictionary structured data with the following schema:
|
dictionary structured data with the following schema:
|
||||||
|
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"filename": string,
|
"filename": string,
|
||||||
@ -181,7 +181,7 @@ def parse(data, raw=False, quiet=False):
|
|||||||
Main text parsing function
|
Main text parsing function
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
|
|
||||||
data: (string) text data to parse
|
data: (string) text data to parse
|
||||||
raw: (boolean) output preprocessed JSON if True
|
raw: (boolean) output preprocessed JSON if True
|
||||||
quiet: (boolean) suppress warning messages if True
|
quiet: (boolean) suppress warning messages if True
|
||||||
@ -190,7 +190,7 @@ def parse(data, raw=False, quiet=False):
|
|||||||
|
|
||||||
dictionary raw or processed structured data
|
dictionary raw or processed structured data
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# compatible options: linux, darwin, cygwin, win32, aix, freebsd
|
# compatible options: linux, darwin, cygwin, win32, aix, freebsd
|
||||||
compatible = ['linux', 'darwin', 'cygwin', 'aix', 'freebsd']
|
compatible = ['linux', 'darwin', 'cygwin', 'aix', 'freebsd']
|
||||||
|
|
||||||
|
@ -215,13 +215,13 @@ def process(proc_data):
|
|||||||
Final processing to conform to the schema.
|
Final processing to conform to the schema.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
|
|
||||||
proc_data: (dictionary) raw structured data to process
|
proc_data: (dictionary) raw structured data to process
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
|
||||||
dictionary structured data with the following schema:
|
dictionary structured data with the following schema:
|
||||||
|
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"name": string,
|
"name": string,
|
||||||
@ -289,14 +289,14 @@ def process(proc_data):
|
|||||||
entry[key] = None
|
entry[key] = None
|
||||||
|
|
||||||
return proc_data
|
return proc_data
|
||||||
|
|
||||||
|
|
||||||
def parse(data, raw=False, quiet=False):
|
def parse(data, raw=False, quiet=False):
|
||||||
"""
|
"""
|
||||||
Main text parsing function
|
Main text parsing function
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
|
|
||||||
data: (string) text data to parse
|
data: (string) text data to parse
|
||||||
raw: (boolean) output preprocessed JSON if True
|
raw: (boolean) output preprocessed JSON if True
|
||||||
quiet: (boolean) suppress warning messages if True
|
quiet: (boolean) suppress warning messages if True
|
||||||
@ -305,7 +305,7 @@ def parse(data, raw=False, quiet=False):
|
|||||||
|
|
||||||
dictionary raw or processed structured data
|
dictionary raw or processed structured data
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# compatible options: linux, darwin, cygwin, win32, aix, freebsd
|
# compatible options: linux, darwin, cygwin, win32, aix, freebsd
|
||||||
compatible = ['linux']
|
compatible = ['linux']
|
||||||
|
|
||||||
|
@ -105,13 +105,13 @@ def process(proc_data):
|
|||||||
Final processing to conform to the schema.
|
Final processing to conform to the schema.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
|
|
||||||
proc_data: (dictionary) raw structured data to process
|
proc_data: (dictionary) raw structured data to process
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
|
||||||
dictionary structured data with the following schema:
|
dictionary structured data with the following schema:
|
||||||
|
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"module": string,
|
"module": string,
|
||||||
@ -142,7 +142,7 @@ def parse(data, raw=False, quiet=False):
|
|||||||
Main text parsing function
|
Main text parsing function
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
|
|
||||||
data: (string) text data to parse
|
data: (string) text data to parse
|
||||||
raw: (boolean) output preprocessed JSON if True
|
raw: (boolean) output preprocessed JSON if True
|
||||||
quiet: (boolean) suppress warning messages if True
|
quiet: (boolean) suppress warning messages if True
|
||||||
@ -151,7 +151,7 @@ def parse(data, raw=False, quiet=False):
|
|||||||
|
|
||||||
dictionary raw or processed structured data
|
dictionary raw or processed structured data
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# compatible options: linux, darwin, cygwin, win32, aix, freebsd
|
# compatible options: linux, darwin, cygwin, win32, aix, freebsd
|
||||||
compatible = ['linux']
|
compatible = ['linux']
|
||||||
|
|
||||||
|
@ -96,13 +96,13 @@ def process(proc_data):
|
|||||||
Final processing to conform to the schema.
|
Final processing to conform to the schema.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
|
|
||||||
proc_data: (dictionary) raw structured data to process
|
proc_data: (dictionary) raw structured data to process
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
|
|
||||||
dictionary structured data with the following schema:
|
dictionary structured data with the following schema:
|
||||||
|
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"command": string,
|
"command": string,
|
||||||
@ -136,7 +136,7 @@ def parse(data, raw=False, quiet=False):
|
|||||||
Main text parsing function
|
Main text parsing function
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
|
|
||||||
data: (string) text data to parse
|
data: (string) text data to parse
|
||||||
raw: (boolean) output preprocessed JSON if True
|
raw: (boolean) output preprocessed JSON if True
|
||||||
quiet: (boolean) suppress warning messages if True
|
quiet: (boolean) suppress warning messages if True
|
||||||
@ -145,7 +145,7 @@ def parse(data, raw=False, quiet=False):
|
|||||||
|
|
||||||
dictionary raw or processed structured data
|
dictionary raw or processed structured data
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# compatible options: linux, darwin, cygwin, win32, aix, freebsd
|
# compatible options: linux, darwin, cygwin, win32, aix, freebsd
|
||||||
compatible = ['linux']
|
compatible = ['linux']
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user