pylint: Fixing pylint errors and warnings 31/28431/3
authorgoldammx <martinx.goldammer@intel.com>
Thu, 9 Feb 2017 13:03:00 +0000 (08:03 -0500)
committergoldammx <martinx.goldammer@intel.com>
Mon, 13 Feb 2017 11:21:28 +0000 (06:21 -0500)
commitca9c9275ed6d5d852987c69a378e88a3502cb2ab
tree23a28663a4db92cd1c409b887691650642f18023
parentea4376cb3c89f4e3605d7f48036fd61325a52fcf
pylint: Fixing pylint errors and warnings

All python files must reach pylint score 10/10. This will be
regularly verified by Jenkins jobs to keep constant code quality.
VSPERF specific pylintrc file was updated according to the vsperf
coding standards. Distro version included in reports will be
slightly different, due to migration to new python package distro.
Previously used platform.distro() will be deprecated since python 3.7.

JIRA: VSPERF-487

Change-Id: I934120208b9624787a3567ccaa49e14d77d7a5bf
Signed-off-by: Martin Goldammer <martinx.goldammer@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com>
38 files changed:
core/component_factory.py
core/loader/loader.py
core/loader/loader_servant.py
core/vnf_controller.py
pylintrc
requirements.txt
src/dpdk/__init__.py
src/dpdk/dpdk.py
src/ovs/dpctl.py
src/ovs/ofctl.py
testcases/performance.py
testcases/testcase.py
tools/collectors/sysmetrics/pidstat.py
tools/functions.py
tools/hugepages.py
tools/load_gen/dummy/dummy.py
tools/module_manager.py
tools/networkcard.py
tools/opnfvdashboard/opnfvdashboard.py
tools/pkt_fwd/pkt_fwd.py
tools/pkt_fwd/testpmd.py
tools/pkt_gen/dummy/dummy.py
tools/pkt_gen/ixia/ixia.py
tools/pkt_gen/ixnet/ixnet.py
tools/pkt_gen/testcenter/testcenter-rfc2544-rest.py
tools/pkt_gen/testcenter/testcenter-rfc2889-rest.py
tools/pkt_gen/testcenter/testcenter.py
tools/pkt_gen/xena/XenaDriver.py
tools/pkt_gen/xena/xena_json.py
tools/report/report.py
tools/systeminfo.py
tools/tasks.py
vnfs/qemu/qemu_pci_passthrough.py
vnfs/vnf/vnf.py
vsperf
vswitches/ovs.py
vswitches/ovs_dpdk_vhost.py
vswitches/ovs_vanilla.py