jw-python/src/python/jw/util/algo
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 4fda12ce6a
mypy: Fix disallow_untyped_calls type errors
Add return type annotations and fix type mismatches to satisfy
disallow_untyped_calls:

- ShuntingYard.py: Operator.func -> Any|None, add assert for None
- ShellCmd.py: format_cmdline, __reap, __exec, __cleanup,
  SubprocessProtocol.__init__ return types, fix unreachable code
- TableIoHandler.py: cast _load() return to List[Dict[str, Any]]
- rows.py: add cast import, cast rows_dumps() return
- CompositeForeignKey.py: __table() cast fix, remove TYPE_CHECKING
- ldap.py: collect() parameter type ObjectClass
- multi_key_dict.py: get(), itervalues(), test function types,
  fix variable name conflicts, add set[Any] annotations

Assisted-by: unsloth/Qwen3.6-35B-A3B-GGUF:IQ4_NL with pi.dev v0.82.0
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-08-12 23:10:13 +00:00
..
Makefile jwutils: Move to jwutils -> jw.util 2026-06-11 23:10:25 +00:00
ShuntingYard.py mypy: Fix disallow_untyped_calls type errors 2026-08-12 23:10:13 +00:00