Permalink
Browse files

Fix lint issues

  • Loading branch information...
fabaff authored and maxandersen committed Feb 7, 2019
1 parent df9f8c2 commit 58fdc835978f0448d43e43595379c32c161f3af3
Showing with 3 additions and 4 deletions.
  1. +3 −4 homeassistant_cli/yaml.py
@@ -7,23 +7,22 @@


def yaml() -> YAML:
""""Return default YAML parser."""
"""Return default YAML parser."""
yamlp = YAML(typ='rt')
yamlp.preserve_quotes = True
yamlp.default_flow_style = False
return yamlp


def loadyaml(yamlp: YAML, source: str) -> Any:
"""Load yaml."""
"""Load YAML."""
return yamlp.load(source)


def dumpyaml(
yamlp: YAML, data: Any, stream: Any = None, **kw: Any
) -> Optional[str]:
"""Dump yaml to string."""

"""Dump YAML to string."""
inefficient = False
if stream is None:
inefficient = True

0 comments on commit 58fdc83

Please sign in to comment.