Fix lint warnings from code climate