This patch series improves the pylint output on the 2.0 branch. Most of
the fixes are valid for 2.1 also, and will be merged to that, after
which 2.1 will get an even more extensive cleanup.

Basically with the targeted disables, it should be possible to get a
very clean output from pylint, which helps with detecting
newly-introduced issues.

Iustin Pop (7):
  Partial cherry-pick of 6c881c5 from the 2.1 branch
  Add targetted pylint disables
  Update pylintrc
  Fix two bugs in seldom-used codepaths
  Clarifiy some more wide pylint disables
  Implement BuildHooksEnv for NoHooksLU
  Fix indentation in hv_kvm

 lib/__init__.py           |    2 ++
 lib/backend.py            |    6 +++++-
 lib/bdev.py               |    2 +-
 lib/cli.py                |    8 ++++----
 lib/cmdlib.py             |   24 ++++++++++++++++++------
 lib/http/client.py        |    2 +-
 lib/hypervisor/hv_fake.py |    2 +-
 lib/hypervisor/hv_kvm.py  |   14 +++++++-------
 lib/jqueue.py             |   44 ++++++++++++++++++++++++--------------------
 lib/jstore.py             |    7 ++++---
 lib/locking.py            |   10 +++++++---
 lib/mcpu.py               |    2 +-
 lib/objects.py            |    2 ++
 lib/rapi/baserlib.py      |    4 ++++
 lib/rapi/connector.py     |    4 ++++
 lib/rapi/rlib2.py         |    5 ++++-
 lib/rpc.py                |    7 ++++---
 lib/serializer.py         |    4 ++++
 lib/utils.py              |    4 ++--
 pylintrc                  |   37 ++++++++++++++++++++++---------------
 20 files changed, 121 insertions(+), 69 deletions(-)

Reply via email to