diff options
author | Amrith Kumar <amrith@tesora.com> | 2016-09-09 09:33:49 -0400 |
---|---|---|
committer | Amrith Kumar <amrith@tesora.com> | 2016-09-14 13:56:24 -0400 |
commit | a0bc0dcb7d3b3fd4ec7716429bd1914756ba201d (patch) | |
tree | 0da4536fe34348c55de7c32ddec76093966c8ee0 /trove/datastore | |
parent | 92a78ea5e5a6d6a1479e63909d2917b4e983670f (diff) | |
download | trove-a0bc0dcb7d3b3fd4ec7716429bd1914756ba201d.tar.gz |
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
Diffstat (limited to 'trove/datastore')
-rw-r--r-- | trove/datastore/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/trove/datastore/models.py b/trove/datastore/models.py index cd67019d..07d70554 100644 --- a/trove/datastore/models.py +++ b/trove/datastore/models.py @@ -19,6 +19,7 @@ from oslo_log import log as logging from trove.common import cfg from trove.common import exception +from trove.common.i18n import _ from trove.common.remote import create_nova_client from trove.common import utils from trove.db import get_db_api |