summaryrefslogtreecommitdiffstats
path: root/pre_commit_hooks/check_yaml.py
diff options
context:
space:
mode:
Diffstat (limited to 'pre_commit_hooks/check_yaml.py')
-rw-r--r--pre_commit_hooks/check_yaml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pre_commit_hooks/check_yaml.py b/pre_commit_hooks/check_yaml.py
index 9563347..0187392 100644
--- a/pre_commit_hooks/check_yaml.py
+++ b/pre_commit_hooks/check_yaml.py
@@ -11,7 +11,7 @@ import ruamel.yaml
yaml = ruamel.yaml.YAML(typ='safe')
-def _exhaust(gen: Generator[str, None, None]) -> None:
+def _exhaust(gen: Generator[str]) -> None:
for _ in gen:
pass