From a0bc0dcb7d3b3fd4ec7716429bd1914756ba201d Mon Sep 17 00:00:00 2001 From: Amrith Kumar Date: Fri, 9 Sep 2016 09:33:49 -0400 Subject: initial chkin of pylint this is a pylint wrapper for Trove's tox tests. This commit includes a basic infrastructure for running pylint through tox. It also fixes some very obvious import errors that are flagged by the tool. One is to handle missing imports for _ and _LE. There is one instance where an exception is being raised but trove.common.exception isn't imported, and another where an exception is being incorrectly thrown. A short readme is also provided. Change-Id: I0a38f5efde3cb491f1f6c27f6c6500ab29987968 Partial-Bug: #1621636 --- test-requirements.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test-requirements.txt') diff --git a/test-requirements.txt b/test-requirements.txt index 8a64f0a3..f73ff01e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -28,3 +28,5 @@ cassandra-driver!=3.6.0,>=2.1.4 # Apache-2.0 pycrypto>=2.6 # Public Domain couchdb>=0.8 # Apache-2.0 os-testr>=0.7.0 # Apache-2.0 +astroid<1.4.0 # LGPLv2.1 # breaks pylint 1.4.4 +pylint==1.4.5 # GPLv2 -- cgit v1.2.1