Python utility library
  • Python 98.5%
  • Makefile 1.3%
  • Shell 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 20c08f0957
load_yaml: Improve module and function docs
The module has no docstring, so the include/link/inplace-link
extensions and their path rules are only discoverable by reading the
code.  _parse_link() claims a named link 'uses a single pipe' even
though pipes may appear in the target path after the first one, and
_expand_links() does not say that a jw.link node with sibling keys is
not a link at all (the key is kept as-is), which is the behavior a
typo in a link node silently produces.

Add a module docstring describing the three extensions, the relative
path rules, and the known limitations (dotted keys cannot be
addressed, path navigation cannot traverse link nodes).  Correct the
_parse_link() pipe rule, note the sibling-key behavior and the error
types in _expand_links(), and fix the 'stays at the current level'
wording, since a single dot resolves within the dict that contains
the link.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v0.84.2
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-08-25 19:35:03 +02:00
.github/workflows ci.yaml: enable-email-notifications: true 2026-06-08 14:55:11 +02:00
bin Rename the MODDIR makefile variable to JWBDIR 2019-06-29 23:32:20 +02:00
conf Rename the MODDIR makefile variable to JWBDIR 2019-06-29 23:32:20 +02:00
make stree.StringTree: Add unit tests 2026-08-12 23:10:12 +00:00
scripts Add missing async keywords to jwutils.Cmd.run() reimplementations 2020-02-10 19:49:46 +01:00
src load_yaml: Improve module and function docs 2026-08-25 19:35:03 +02:00
test load_yaml: Deepcopy cached link expansions 2026-08-25 19:35:03 +02:00
.gitignore stree.StringTree: Add unit tests 2026-08-12 23:10:12 +00:00
HASH Release 1.0.0-53@suse-tumbleweed/x86_64 2026-08-24 19:29:30 +00:00
Makefile Makefile: Include py-topdir.mk 2026-06-12 04:55:47 +02:00
RELEASES Release 1.0.0-53@suse-tumbleweed/x86_64 2026-08-24 19:29:30 +00:00
VERSION Start version: 1.0.0-53 2026-08-24 18:57:47 +00:00