STYLE: fix pylint style checks for inherit-non-class.
- [ ] xref #48855 - one of many style checks, still needs work.
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).

Added an ignore statement in the `base.py`. Looks like we need to inherit a non-class in this instance.

Thanks for reviewing quickly 😊 Hi, @MarcoGorelli this might sound like a silly request, but is it possible to add the `hacktoberfest` label to this PR?
Many thanks 😄 