STYLE enable pylint: typevar-name-incorrect-variance
Issue #48855. This PR enables pylint type "C" warning: `typevar-name-incorrect-variance`
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
Thanks @natmokval 