From f557923116b1cb6440ccab48b4b0592fe3f8a98e Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Apr 15 2019 06:33:42 +0000 Subject: Create env without --system-site-packages enabled to run flake8 This fixes these warnings reported by tox: WARNING: test command found but not installed in testenv cmd: /usr/bin/flake8 env: /path/to/fedpkg/.tox/flake8 Maybe you forgot to specify a dependency? See also the whitelist_externals envconfig setting. DEPRECATION WARNING: this will be an error in tox 4 and above! Signed-off-by: Chenxiong Qi --- diff --git a/tox.ini b/tox.ini index 18151f9..903429b 100644 --- a/tox.ini +++ b/tox.ini @@ -21,6 +21,7 @@ commands = {[testenv]commands} [testenv:flake8] +sitepackages = False skip_install = True deps = flake8 == 3.5.0 commands = flake8 fedpkg/ test/