enable pylint:useless-return
Issue #48855. This PR enables pylint type "R" warning:  "useless-return". 
In one place (https://github.com/natmokval/pandas/blob/da3025ae6dec3fed73df0cf1d1bbc5ef0d816695/pandas/tests/groupby/test_apply.py#L151) the warning is disabled to match the style of surrounding functions. 

- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Thanks @natmokval - I think the CI failure's unrelated but I've merged upstream/main to restart the checks to be sure Sweet, thanks @natmokval  Thank you @mroeschke 