Went on a PEP-8 rampage

This commit is contained in:
Joel Collins 2019-01-31 17:20:46 +00:00
parent f99ad30fb6
commit 0948c9308a
36 changed files with 186 additions and 218 deletions

View file

@ -36,7 +36,6 @@ def to_map(data, func):
Args:
data: Input iterable data
func: Function to apply to all non-iterable values
excluded_keys: Any dictionary keys to exclude from the returned data
"""
# If the object is a dictionary
if isinstance(data, abc.Mapping):
@ -58,7 +57,6 @@ def json_map(data, clean_keys=True):
Args:
data: Input dictionary
clean_keys: Modify any keys unsuitable for JSON return
"""
# Do not overwrite original data dictionary