manila/manila/share
Goutham Pacha Ravi 3e855d5f60 [pylint] Fix/ignore pylint errors in non-test modules
Pylint does not play very well with dynamic object
manipulation in python This creates a lot of
false-positives in the code-base which affects
contributors looking for genuine failures.

So, this change
- adds pylint ignore statements where appropriate
  to disable testing these lines of code and failing.
- replaces all the pylint error codes (they are
  hard to remember/relate to) with error names
  which are easier to understand when reading the
  code.
- initializes sqlalchemy model objects as dictionaries
  which is a valid representation over None.
- removes ignore directives on six.moves which
  is globally ignored in our pylintrc.
- adds alembic.op to the ignored
  modules list since they are not supported by
  pylint and have known issues.

This patch is the beginning of a series of
commits to use pylint in a sane way on manila code.

Change-Id: I44616821c5311d6f14986697efbbe5624de364a5
2019-02-25 17:23:15 +00:00
..
drivers [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
hooks Add share hooks 2015-09-04 19:04:34 +03:00
__init__.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
access.py Fix cannot deny ipv6 access rules 2017-08-02 18:16:33 +00:00
api.py Add policy to create/update public shares 2019-02-18 12:56:12 -08:00
configuration.py Trivial: Remove unused logging import 2015-12-28 21:44:26 -05:00
driver.py [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
drivers_private_data.py Remove "host" from driver private data 2016-07-26 14:57:34 +08:00
hook.py Remove log translations in share and share_group 4/5 2017-03-31 10:20:11 +08:00
manager.py Allow configuration of a back end specific availability zone 2019-01-23 17:13:24 +00:00
migration.py Fix Host-assisted Share Migration with IPv4+IPv6 2018-02-06 17:23:16 -05:00
rpcapi.py Remove unused "share_id" parameter 2017-03-05 22:13:43 -05:00
share_types.py Allow configuring availability_zones in share types 2019-02-13 17:39:48 +00:00
snapshot_access.py Fix multiple issues with revert to snapshot in LVM 2017-08-02 16:48:40 -04:00
utils.py Fix Host-assisted Share Migration with IPv4+IPv6 2018-02-06 17:23:16 -05:00