STYLE: pre-commit check on get/set_option usage
- [x] closes #38813
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them

This is failing across multiple locations. Is there a specific location where get/set_option can be used? or across everything?
