Lint successful, but PyPI rendering failed · Issue #27 · twolfson/restructuredtext-lint (original) (raw)

I installed rst-lint to verify my readme file after successive failures to render it successfully in PyPI. rst-lint said my file was clean, however, when I uploaded it to PyPI, it did not render the file again.

In order to make a clean .rst file, I had to install a few packages in my computer, like bibtex-pygments-lexer, so that Pygments could recognize and pygmentize BibTeX snippets. In short, I believe rst-lint is not exactly a linter that validates rst files for PyPI, like its README file says. It just validates rst files generally. PyPI still has its own cryptic way to render rst files.