Skip to content

Replace doc8 with sphinx-lint #16431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 8, 2024

Conversation

miketheman
Copy link
Member

doc8 didn't catch things that make Sphinx unhappy, so use https://pypi.org/project/sphinx-lint/ instead, like cpython does (they trigger it via pre-commit).

This also should unblock upgrades to readme-renderer, as this checker does not rely on docutils at all.

@miketheman miketheman added documentation developer experience Anything that improves the experience for Warehouse devs dependencies Pull requests that update a dependency file labels Aug 7, 2024
@miketheman miketheman requested a review from a team as a code owner August 7, 2024 20:49
Restrict docs to dev-only, as the others are markdown and don't need to
be checked.

Signed-off-by: Mike Fiedler <[email protected]>
@miketheman miketheman force-pushed the miketheman/doc8-to-sphinx-lint branch from 811145e to 14710d4 Compare August 7, 2024 20:49
Signed-off-by: Mike Fiedler <[email protected]>
@miketheman miketheman merged commit f5d2bda into pypi:main Aug 8, 2024
17 checks passed
@miketheman miketheman deleted the miketheman/doc8-to-sphinx-lint branch August 8, 2024 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file developer experience Anything that improves the experience for Warehouse devs documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants