some `pylint` suggested changes