From b86c61392183a40e32b2e7eed7322bfe9d440418 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Mon, 14 Oct 2024 18:31:05 +0200 Subject: [PATCH] Make mypy happy. --- src/antsibull_fileutils/yaml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/antsibull_fileutils/yaml.py b/src/antsibull_fileutils/yaml.py index 5de9bae..17339bb 100644 --- a/src/antsibull_fileutils/yaml.py +++ b/src/antsibull_fileutils/yaml.py @@ -69,7 +69,7 @@ def store_yaml_stream( Dump ``content`` as YAML to an IO ``stream``. """ dumper = _IndentedDumper if nice else _SafeDumper - dumper.ignore_aliases = lambda *args: True + dumper.ignore_aliases = lambda *args: True # type: ignore[method-assign] yaml.dump( content, stream,