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

QC.Doc: Pygments package missing for restructuredtext-lint (issue) #103

Open
rjdmartins opened this issue Oct 10, 2022 · 0 comments
Open

Comments

@rjdmartins
Copy link

rjdmartins commented Oct 10, 2022

QC.Doc tests using restructuredtext-lint fail to run and throw error for the following Hackathon example (https://github.com/timofurrer/try)

WARNING try_ibergrid2022_sqaaas/README.rst:24 Cannot analyze code. Pygments package not found.
WARNING try_ibergrid2022_sqaaas/README.rst:43 Cannot analyze code. Pygments package not found.
WARNING try_ibergrid2022_sqaaas/README.rst:50 Cannot analyze code. Pygments package not found.
WARNING try_ibergrid2022_sqaaas/README.rst:56 Cannot analyze code. Pygments package not found.
WARNING try_ibergrid2022_sqaaas/README.rst:62 Cannot analyze code. Pygments package not found.
WARNING try_ibergrid2022_sqaaas/README.rst:69 Cannot analyze code. Pygments package not found.
WARNING try_ibergrid2022_sqaaas/README.rst:76 Cannot analyze code. Pygments package not found.
WARNING try_ibergrid2022_sqaaas/README.rst:84 Cannot analyze code. Pygments package not found.
WARNING try_ibergrid2022_sqaaas/README.rst:94 Cannot analyze code. Pygments package not found.
WARNING try_ibergrid2022_sqaaas/README.rst:107 Cannot analyze code. Pygments package not found.
WARNING try_ibergrid2022_sqaaas/README.rst:115 Cannot analyze code. Pygments package not found.
WARNING try_ibergrid2022_sqaaas/README.rst:123 Cannot analyze code. Pygments package not found.
WARNING try_ibergrid2022_sqaaas/README.rst:142 Cannot analyze code. Pygments package not found.

Checking the error, Pygments is required to run. Seems the restructuredtext-lint does not install it automatically.
Adding "pip install Pygments" to the dockerfile fixes the problem.

@rjdmartins rjdmartins changed the title QC.Doc issue: Add Pygments package to restructuredtext-lint QC.Doc: Pygments package missing for restructuredtext-lint (issue) Oct 24, 2022
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

1 participant