Enable strict typing for config (#108023)

This commit is contained in:
Marc Mueller 2024-01-18 09:20:19 +01:00 committed by GitHub
parent 26cc6a5bb4
commit afcb7a26cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 178 additions and 76 deletions

View file

@ -17,7 +17,7 @@ except ImportError:
)
def dump(_dict: dict) -> str:
def dump(_dict: dict | list) -> str:
"""Dump YAML to a string and remove null."""
return yaml.dump(
_dict,