jw-pkg/conf
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
..
bash-completion.d scripts/usr-bin: Install symlink /usr/bin/jw-pkg 2026-04-06 15:58:11 +02:00
project pyproject.toml, pyrightconfig.json: Require @override 2026-08-07 18:02:26 +02:00
templates pyproject.toml: Enable mypy.truthy-iterable 2026-08-09 11:32:03 +00:00
topdir py-topdir.mk: Add machinery to generate pyproject.toml 2026-06-09 07:52:15 +02:00
Makefile conf: Add subdir 2026-03-06 12:06:28 +01:00