Skip to content

Commit

Permalink
Make mypy happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Oct 14, 2024
1 parent d6391de commit b86c613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/antsibull_fileutils/yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b86c613

Please sign in to comment.