Features:
- Add typing.Literal support to validate_type.
Literal types previously raised TypeHintNotImplementedError, forcing users to disable all type validation.
Now checks value membership in Literal args, with full support for Literal nested inside Optional, Union, List, Dict, Set, and Tuple.
Bug Fixes:
- Fix dbg() wrapper functions (dbg_tensor, dbg_dict, dbg_auto) reporting their own file/line instead of the actual caller's location.
Stack frame walking now skips all frames from dbg.py itself.
- Fix List[X] with do_except=True silently returning False instead of raising IncorrectTypeException when an element has the wrong type.
The list branch was the only container handler missing the _return_func wrapper.
- Fix GitHub source links in generated docs using wrong URL path (missing v prefix and /muutils/ segment).
Commits:
- add typing.Literal support to validate_type (61cedd5)
- fix(dbg): skip dbg.py frames when resolving caller location (136d24b)
- fix List[X] do_except=True silently returning False instead of raising (a1879b9)
- bump version (cd373f0)
- make dep (25bc3a5)
- fix(docs): add v prefix and /muutils/ path to GitHub source links (ce96a17)
- latest ty dep (662851f)
- fix pre-existing ty type-checker errors (deb7091)
- rebuild docs (4494d28)
- make version (109286d)
- makefile fix (caed23b)