Skip to content

Commit

Permalink
Linting fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
shyuep committed Jan 12, 2022
1 parent ff6f0f3 commit 8ef2356
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion monty/pprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ def default(self, o):
except Exception:
pass

return None


def pprint_json(data):
"""
Expand All @@ -120,6 +122,6 @@ def pprint_json(data):
https://gist.github.com/jmmshn/d37d5a1be80a6da11f901675f195ca22
"""
from IPython.display import JSON, display
from IPython.display import JSON, display # pylint: disable=C0415

display(JSON(loads(DisplayEcoder().encode(data))))

0 comments on commit 8ef2356

Please sign in to comment.