Skipped PublicMethodsHaveTypeChecker when function body is None

Fixes #47