hello pylint
small fixes in exception creation