applied pylint --pedantic --mmaker corrections