From 2625a6f3f7250a574455236b6aa1415536d6319c Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Tue, 21 Jan 2020 16:09:01 +0100 Subject: [PATCH] tox: rename pep8 to linters pep8 is legacy, we now use flake8 and the virtual environment also runs mypy and openapi-spec-validator. Rename the virtualenv from 'pep8' to 'linters'. Use tox-linters instead of tox-pep8. tox-pep8 skips test-setup.sh Ia140b331ae1502fcf1f685faa6dace117d77d35d Done for tox-linters by Idc72c7d1a88fff8e738c896e2482b5cb1d844600 Depends-On: Idc72c7d1a88fff8e738c896e2482b5cb1d844600 Change-Id: I1fbd8335a2353f750f49b6a763eefc6f399a7143 --- .zuul.yaml | 4 ++-- tox.ini | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index d4a4151d52..c1f155144f 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -203,7 +203,7 @@ jobs: - zuul-build-image - zuul-tox-docs - - tox-pep8 + - tox-linters - tox-py35: irrelevant-files: - zuul/cmd/migrate.py @@ -259,7 +259,7 @@ jobs: - zuul-upload-image - zuul-tox-docs - - tox-pep8 + - tox-linters - tox-py35: irrelevant-files: - zuul/cmd/migrate.py diff --git a/tox.ini b/tox.ini index 485bf10c91..103a92cf75 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] minversion = 3.2 skipsdist = True -envlist = pep8,py3{-docker} +envlist = linters,py3{-docker} ignore_basepython_conflict = True # TODO(stephenfin): It would be good to set 'requires = tox-docker', but doing # so borks the tools/pip.sh wrapper we're using here and probably isn't what @@ -45,7 +45,7 @@ install_command = pip install {opts} {packages} deps = bindep commands = bindep test -[testenv:pep8] +[testenv:linters] install_command = pip install {opts} {packages} # --ignore-missing-imports tells mypy to not try to follow imported modules # out of the current tree. As you might expect, we don't want to run static