Closed
Description
we should very rarely be setting / getting options (except to test that functionaily explicity), and instead use pd.option_context
, e.g. this should be changed:
pandas/tests/io/formats/test_format.py is a hotbed for incorrect usages like this.
it may be possible to add a pre-commit hook to check for this in all but a small handful of files.