Use sphinx-lint
JulienPalard opened this issue · 1 comments
JulienPalard commented
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 commented
Wow, this is going to be useful in https://github.com/pypa/packaging.python.org too.