From 912e0a37e559506f1724966e03762776fa1e5c23 Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Wed, 9 Dec 2020 14:38:01 +0100 Subject: [PATCH] Move pep8 requirements to tox.ini We don't need them for unit tests and they're not usually constrained. Change-Id: Ib1f9235c339df02f2e8c27a46700c9fb1b4be826 --- test-requirements.txt | 6 ------ tox.ini | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index 618af59..933cf4f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,11 +2,5 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. coverage!=4.4,>=4.0 # Apache-2.0 -doc8>=0.6.0 # Apache-2.0 -flake8-import-order>=0.17.1 # LGPLv3 -hacking>=3.1.0,<4.0.0 # Apache-2.0 stestr>=1.0.0 # Apache-2.0 -Pygments>=2.2.0 # BSD ansible>=2.8 -pycodestyle>=2.0.0,<2.7.0 # MIT - diff --git a/tox.ini b/tox.ini index 11b7b87..110f55d 100644 --- a/tox.ini +++ b/tox.ini @@ -42,6 +42,12 @@ passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY \ OS_USER_DOMAIN_NAME OS_PROJECT_DOMAIN_NAME OS_CLOUD OS_CACERT [testenv:pep8] +deps = + Pygments>=2.2.0 # BSD + doc8>=0.6.0 # Apache-2.0 + flake8-import-order>=0.17.1 # LGPLv3 + hacking>=3.1.0,<4.0.0 # Apache-2.0 + pycodestyle>=2.0.0,<2.7.0 # MIT commands = flake8 metalsmith doc8 README.rst doc/source metalsmith_ansible/roles