diff --git a/pre_commit_hooks/check_yaml.py b/pre_commit_hooks/check_yaml.py index 250794e..12b54a9 100644 --- a/pre_commit_hooks/check_yaml.py +++ b/pre_commit_hooks/check_yaml.py @@ -8,7 +8,7 @@ from typing import Sequence import ruamel.yaml -yaml = ruamel.yaml.YAML(typ='safe') +yaml = ruamel.yaml.YAML(typ='safe', pure=True) def _exhaust(gen: Generator[str, None, None]) -> None: