making pylint happy and adding a return statement

also removing a ```\```