Skip to content

MNT Fix rst issues found by sphinx-lint - #31114

Merged
lorentzenchr merged 1 commit into
scikit-learn:mainfrom
lesteve:sphinx-lint
Mar 31, 2025
Merged

lorentzenchr merged 1 commit into
scikit-learn:mainfrom
lesteve:sphinx-lint

Conversation

@lesteve

@lesteve lesteve commented Mar 31, 2025 •

Copy link
Copy Markdown
Member

Run sphinx-lint and fix issues it found.

sphinx-lint is used by pandas and sympy. Maybe we could use sphinx-lint as well, but for a later PR?

Note that some content is generated (like with .rst.template or from .py with sphinx-gallery) so sphinx-gallery would not find everything but still probably an improvement?

@github-actions

Copy link
Copy Markdown

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: e07cd45. Link to the linter CI: here

@ogrisel

ogrisel commented Mar 31, 2025

Copy link
Copy Markdown
Member

Maybe we could use sphinx-lint as well, but for a later PR?

Why not. The majority of the detections by this tool appears to be worthy of fixing.

@lorentzenchr
lorentzenchr merged commit 9acf93e into scikit-learn:main Mar 31, 2025
@lesteve
lesteve deleted the sphinx-lint branch March 31, 2025 12:50
lucyleeow pushed a commit to lucyleeow/scikit-learn that referenced this pull request Apr 2, 2025
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.

3 participants