Skip to content
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

Use sphinx-lint #3

Open
JulienPalard opened this issue Nov 14, 2022 · 1 comment
Open

Use sphinx-lint #3

JulienPalard opened this issue Nov 14, 2022 · 1 comment

Comments

@JulienPalard
Copy link
Member

Hi!

I'm developping https://pypi.org/project/sphinx-lint/, and it's now able to lint .po files. We use it on python-docs-fr, it's able to spot many typos, like:

library/ctypes.po:2763: missing space before role ( C:c:type:`). (missing-space-before-role)
library/ctypes.po:2770: missing space before role ( C:c:type:`). (missing-space-before-role)
library/ctypes.po:2825: missing space before role ( C:c:type:`). (missing-space-before-role)
library/ctypes.po:2832: missing space before role ( C:c:type:`). (missing-space-before-role)
library/ctypes.po:2839: missing space before role ( C:c:type:`). (missing-space-before-role)

sphinx-lint show never ever give a false positive (I know, I know, utopia...) but please, please, report any false positive to https://github.com/sphinx-contrib/sphinx-lint/issues if you find one.

@webknjaz
Copy link

Wow, this is going to be useful in https://github.com/pypa/packaging.python.org too.

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

No branches or pull requests

2 participants