Enable strict typing for config (#108023)
This commit is contained in:
parent
26cc6a5bb4
commit
afcb7a26cd
13 changed files with 178 additions and 76 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue