path: root/tox.ini
diff options
authorChuck Short <>2018-10-11 15:08:16 -0400
committerChuck Short <>2018-10-11 15:13:49 -0400
commit4d0abb4a149eea597e51f79c8e76d9d2284d65ee (patch)
treedf4f86f1c99cf07ffb7fd0fedf1d09743c1fa3d3 /tox.ini
parentb18bae3b99ec66e06023d9103a7b0adb6373c305 (diff)
Simplify running pylint
This commit does several things: - Setup and run pylint directly rather than running through a script. This allows the user to see what is happening while the user is running through pylint. - Allow the user to either run pylint on a particular changeset, or the entire manila tree. - Allow the user to run on a particular changeset. Using like HEAD~1, etc. - I disabled the tests that were reported by pylint. The thought here would be go through the failures and correct them. - Update pylint to 2.1.1. Change-Id: I398d1ba01a3fd7f1c86ad4065a7984d276f33383 Signed-off-by: Chuck Short <>
Notes (review): Code-Review+2: Tom Barron <> Code-Review+2: Rodrigo Barbieri <> Workflow+1: Rodrigo Barbieri <> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 16 Oct 2018 18:03:43 +0000 Reviewed-on: Project: openstack/manila Branch: refs/heads/master
Diffstat (limited to 'tox.ini')
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 98dad5e..394e340 100644
--- a/tox.ini
+++ b/tox.ini
@@ -104,9 +104,9 @@ commands =
104[testenv:pylint] 104[testenv:pylint]
105basepython = python3 105basepython = python3
106deps = -r{toxinidir}/requirements.txt 106deps = -r{toxinidir}/requirements.txt
107 pylint==1.9.0 107 pylint==2.1.1
108whitelist_externals = bash 108whitelist_externals = bash
109commands = bash tools/ 109commands = bash ./tools/ --pylint {posargs}
110 110
111[testenv:lint] 111[testenv:lint]
112basepython = python3 112basepython = python3