Pylint corrections

some corrections following pylin analysis