Tags: rnorth/mkdocs-codeinclude-plugin
Tags
Modernise build tooling: switch to uv (#35) * Add .worktrees/ to .gitignore for git worktree support Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Modernise build tooling: switch to uv for dependency management - Replace setup.py/setup.cfg/requirements.txt with pyproject.toml - Add uv to .mise.toml managed tools, remove manual venv config - Update CI workflow to use astral-sh/setup-uv and uv commands - Update publish workflow to use uv build/publish with OIDC trusted publishers - Add AGENTS.md with updated setup/test instructions - Add uv.lock to .gitignore (library, not application) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Replace flake8 with ruff; fix uv dev dependency group - Switch from [project.optional-dependencies] to [dependency-groups] so that `uv sync --dev` correctly installs dev dependencies - Replace flake8 with ruff in the CI workflow - Remove dead `found_block` variables in resolver.py caught by ruff Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Fix block_throw silently returning whole file when token matches with… …out braces When block_throw=True and the token appeared as a substring on a line without braces (e.g. block="foo" matching "call_foo();"), found_block was set but no lines were selected, causing the entire file to be returned instead of raising ValueError. Check selected_lines instead of found_block to catch this case. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>