From b6931816585e224019afddfc9d78ecbcf0549c74 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Wed, 24 Jan 2018 04:49:03 -0600 Subject: [PATCH] Add Pygments to the requirements list If you run doc8 on a sphinx source dir without sphinx installed and if the source dir has code blocks, doc8 will throw D000 Cannot analyze code. Pygments package not found. This shows up in minimized virtualenvs. It turns out you don't need sphinx or the project in question installed to run doc8. Change-Id: I49e3aee5b592a24e5195dce8205eb9b33c392256 --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 8fcc512..7b73c72 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,3 +7,4 @@ docutils restructuredtext-lint>=0.7 six stevedore +Pygments