Skip to content

Infra: Replace archived pydocstyle hook with ruff D rules - #4014

Open
rambleraptor wants to merge 1 commit into
apache:mainfrom
rambleraptor:ruff-pydocstyle
Open

rambleraptor wants to merge 1 commit into
apache:mainfrom
rambleraptor:ruff-pydocstyle

Conversation

@rambleraptor

Copy link
Copy Markdown
Collaborator

Rationale for this change

#3920 is showing that the new zizmor-action GitHub action doesn't like our pydocstyle check. We should consolidate this behind ruff, so we can avoid the extra dependency.

Are these changes tested?

GitHub actions should continue to pass.

Are there any user-facing changes?

pycqa/pydocstyle is archived, which zizmor 1.30.0 flags as archived-uses in
.pre-commit-config.yaml. Enable ruff's pydocstyle rules with the same ignore
list and fix the docstrings it reports.

Co-authored-by: Fokko Driesprong <fokko@apache.org>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

This branch has not been deployed

No deployments
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