Changelog¶
All notable changes to this project are documented here. The format is inspired by Keep a Changelog, and the project adheres to Semantic Versioning.
[0.1.4] - 2026-08-28¶
Bug Fixes¶
- Fix silent output.
- CI mode was enabled by default (
ci = true), suppressing all terminal output. - CI mode can now be enabled explicitly with
--cior viaci = truein the config.
[0.1.3] - 2026-08-28¶
Features¶
- Add percentage metrics to file and overall statistics tables.
- Support configuration via
pyproject.tomlwith the[tool.docstr-health]section. - Add
--short-namesflag to display short module names instead of full paths. - Add configurable status thresholds.
- Add CI mode for quiet output and a non-zero exit code when project status falls below the configured level.
Bug Fixes¶
- Fix double counting of functions and classes.
- Fix a memory leak by clearing cached functions on tree release and sharing a single output instance.
- Speed up large-codebase scanning (CPython now checked in ~20 seconds instead of ~140 seconds) via AST caching and disabled type-comment parsing.
- Reduce I/O by loading the
pyproject.tomlconfig once. - Use
file://URIs instead of raw paths in report titles.
Refactoring¶
- Introduce the
DocstrHealthErrorbase class with dedicated exceptions and non-zero exit codes.
[0.1.2] - 2026-07-10¶
Bug Fixes¶
- Fix a type-hinting bug with support for Python 3.11–3.12.
[0.1.1] - 2026-07-10¶
Bug Fixes¶
- Fix
FileNotFoundErroron first run by ensuring~/.cache/docstr-health/logs/exists before logger initialization.
[0.1.0] - 2026-07-09¶
Features¶
- Core docstring parsing engine with quality grading (
bad → good → special → epic). - CLI with argparse supporting local, Git, and PyPI targets.
- Rich terminal UI with color-coded output, panels, and tables.
- Remote Git repository scanning with caching.
- PyPI package scanning (via pip or uv).
- Progress bar display during scanning.
- Configuration via
config.toml(symbols, colors, keyword levels). - Multiple docstring requirement levels.
- Module-level statistics with per-status breakdown.
- Async function detection and support.
- PEP 257 section awareness (Args, Returns, Raises, etc.).
- Custom exception classes.
- Cache and no-cache modes for remote sources.
- Skipped modules tracking with error display.
Infrastructure¶
- Project scaffolding with
pyproject.toml(uv-based build). - Type checking with mypy, linting with ruff.
The full history is available in CHANGELOG.md.