diff --git a/src/halmos/config.py b/src/halmos/config.py index 7f79a55f..c9d0f963 100644 --- a/src/halmos/config.py +++ b/src/halmos/config.py @@ -551,7 +551,9 @@ def parse_dict(self, parsed: dict, source: str = "halmos.toml") -> dict: # gather custom actions actions = { - field.name: field.metadata["action"] for field in fields(Config) if "action" in field.metadata + field.name: field.metadata["action"] + for field in fields(Config) + if "action" in field.metadata } result = {}