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?

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

I think the idea is to replace with the context manager everywhere that `get/set_option` is not the system under test. Maybe best to start with a precursor PR changing all the places you find where it makes sense to do this replacement. Then in the PR adding the precommit check, can discuss which files it makes sense to skip for this check. This pull request is stale because it has been open for thirty days with no activity. Please update or respond to this comment if you're still interested in working on this.