jw-pkg/conf/templates
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann a3e46121da pyproject.toml: Enable mypy.truthy-iterable
Add the truthy-iterable error code to the mypy configuration. This
detects Iterable parameters that are used in boolean contexts (if not
names, etc.) since Iterable values are always truthy.

The fix is to change Iterable[str] parameters to Collection[str] when
they are tested for emptiness, since Collection guarantees __len__.

Assisted-by: unsloth/Qwen3.6-35B-A3B-GGUF:IQ4_NL and pi.dev 0.81.1
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-08-09 11:32:03 +00:00
..
Makefile conf/templates: Fix installation 2026-06-11 13:30:43 +02:00
pyproject.toml pyproject.toml: Enable mypy.truthy-iterable 2026-08-09 11:32:03 +00:00