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>

@Fokko Fokko left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice! Thanks @rambleraptor

@Fokko
Fokko added this pull request to the merge queue Oct 1, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 1, 2026
@rambleraptor

Copy link
Copy Markdown
Collaborator Author

@Fokko @kevinjqliu can one of you re-add this to the merge queue? The bot took it off for...reasons?

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.

2 participants