mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-30 18:26:53 +00:00
fix(yaml): work around ruamel parser error
This bug made it impossible to check all pnpm-lock.yaml files
This commit is contained in:
parent
4dcb74a498
commit
203cc7a68c
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue