v0.15.5
This patch cleans up the linting pipeline and fixes two regressions from v0.15.4.
Highlights
Pylint removed — ruff-only linting. pylint has been dropped from pre-commit hooks, pyproject.toml dependencies, and tool configuration. All linting is now handled by ruff, matching the kgrag project setup and removing a redundant toolchain dependency.
similar_max_degree parameter restored. DocKG.build(), build_from_cache(), and build_index_from_cache() regain the similar_max_degree: int = 0 parameter that was introduced in v0.15.3 and incorrectly removed in v0.15.4. It is now correctly forwarded to _discover_similar_edges() on all three build paths.
CI tests no longer require network access. Four TestQuerySeedFiltering tests were failing in CI because they inadvertently triggered the lazy SemanticIndex initializer (and a HuggingFace model download) before the mock patch applied. Tests now inject kg._index directly and run in ~0.05 s with no network dependency.
Full changelog: https://github.com/Flux-Frontiers/doc_kg/blob/main/CHANGELOG.md