From dfcd3d7c75c142d8ea0bc1d7c6f958adc3de8b61 Mon Sep 17 00:00:00 2001 From: "John T. Wodder II" Date: Sat, 4 Nov 2023 12:28:16 -0400 Subject: [PATCH] Another exception type to catch --- src/versioningit/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/versioningit/config.py b/src/versioningit/config.py index 4df7fb6..4a04fc5 100644 --- a/src/versioningit/config.py +++ b/src/versioningit/config.py @@ -90,7 +90,7 @@ def parse_toml_file(cls, filepath: str | Path) -> Config: table = tool.get("versioningit") try: hatch_config = tool["hatch"]["version"] - except (AttributeError, LookupError): + except (AttributeError, LookupError, TypeError): pass else: if (