Skip to content

Commit

Permalink
Another exception type to catch
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Nov 4, 2023
1 parent 0b302a3 commit dfcd3d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/versioningit/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit dfcd3d7

Please sign in to comment.