From 8ceeaa5a20b7f70eb6c15caac0231fc9a59e983a Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Mon, 28 Sep 2020 15:46:22 +0100 Subject: [PATCH] Decouple linters from unit testing Avoids conflicts between unit testing and linter and avoids installing unneeded dependencies on both of them. Change-Id: Id384a998bea298612ec65eaa329f85a38afee3f6 --- test-requirements.txt | 1 - tox.ini | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test-requirements.txt b/test-requirements.txt index 6aab4a2..97b52c3 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,4 +1,3 @@ -hacking sphinx>=1.1.2,<1.2 python-subunit stestr<3.0.0;python_version<'3.5' diff --git a/tox.ini b/tox.ini index 655d2c3..8544aa9 100644 --- a/tox.ini +++ b/tox.ini @@ -14,6 +14,8 @@ commands = stestr run --slowest {posargs} [testenv:pep8] +deps = + hacking commands = flake8 [testenv:docs]