Setup `mypy' for static type checking

This commit is contained in:
Debanjum Singh Solanky
2022-10-08 17:33:13 +03:00
parent d292bdcc11
commit c467df8fa3
2 changed files with 14 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ from src.utils.rawconfig import FullConfig
# Do not emit tags when dumping to YAML
yaml.emitter.Emitter.process_tag = lambda self, *args, **kwargs: None
yaml.emitter.Emitter.process_tag = lambda self, *args, **kwargs: None # type: ignore[assignment]
def save_config_to_file(yaml_config: dict, yaml_config_file: Path):