Skip to content

Switch from docformatter to pydocstringformatter#2793

Merged
adamtheturtle merged 14 commits intomainfrom
switch-to-pydocstringformatter
Jan 26, 2026
Merged

Switch from docformatter to pydocstringformatter#2793
adamtheturtle merged 14 commits intomainfrom
switch-to-pydocstringformatter

Conversation

@adamtheturtle
Copy link
Member

@adamtheturtle adamtheturtle commented Jan 12, 2026

Replace docformatter with pydocstringformatter for docstring formatting.

Changes

  • Replace docformatter==1.7.7 with pydocstringformatter==0.7.3 in dev dependencies
  • Update [tool.docformatter] to [tool.pydocstringformatter] in pyproject.toml
  • Update pre-commit hook configuration

See: https://github.com/DanielNoord/pydocstringformatter


Note

Adopts pydocstringformatter for docstring formatting and updates project tooling accordingly.

  • Replace docformatter with pydocstringformatter in dev dependencies and pre-commit hooks
  • Add [tool.pydocstringformatter] config and remove [tool.docformatter]; tweak Ruff docstring ignores
  • Reflow/shorten docstrings across src/, tests/, and docs/ to the new style; no runtime logic changes

Written by Cursor Bugbot for commit 7f33021. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@adamtheturtle adamtheturtle merged commit 45600f2 into main Jan 26, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant