{"categories":[{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance"}],"enrichment":{"capability":"Automatically formats Python docstrings to comply with PEP 257 conventions, including proper quote usage, line breaks, and field list formatting.","skillfed_tags":["code-quality","documentation","formatter"],"use_cases":["Enforce PEP 257 docstring standards across a team's Python codebase automatically.","Integrate into pre-commit hooks or CI/CD pipelines to catch docstring formatting issues before merge.","Reformat legacy codebases with inconsistent docstring styles to a uniform standard.","Work alongside black to ensure both code and docstring formatting align with project conventions.","Configure project-wide docstring rules via pyproject.toml for reproducible formatting."],"what_it_does":"docformatter is a command-line tool and library that automatically reformats Python docstrings to follow PEP 257 conventions. It enforces consistent triple-quote usage, proper line breaks between summary and description, correct placement of closing quotes, and removal of trailing whitespace. It also supports Sphinx and Epytext field list styles and can be configured to work alongside black for code formatting.\n\nThe tool is designed for developers and teams who want to standardize docstring formatting across a codebase without manual editing. It works as both a standalone CLI (with --in-place file modification) and as a library that can be integrated into linting pipelines. The package has minimal dependencies and supports current Python versions, making it straightforward to add to existing projects.","worth_installing":"Yes. docformatter is actively maintained, has no known vulnerabilities, minimal dependencies, and solves a real problem in code standardization. It integrates well with existing Python tooling and is permissively licensed. Install it if your team values consistent docstring formatting or you need PEP 257 compliance automation."},"id":"docformatter","links":{"html":"https://skillfed.io/packages/docformatter","md":"https://skillfed.io/packages/docformatter.md","pypi":"https://pypi.org/project/docformatter/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-28","license_spdx":null,"license_treatment":"permissive","name":"docformatter","python_support":"supports_current","summary":"Formats docstrings to follow PEP 257"},"popularity":{"monthly_downloads":1476184,"position":3859,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.7.8"}
