BUG: styler.format options and validator tests
sorry, this is a fix for recent #43256.
the input types were not working using the instance factory approach so this is explicit.

cool, once more rebase pls. grr frequent network issues calling the conda repos hopefully https://github.com/pandas-dev/pandas/issues/42580 helps with this.

```
Collecting package metadata (repodata.json): ...working... failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/repodata.json>
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.

'https://repo.anaconda.com/pkgs/main/win-64'
``` /azp run <samp>
Azure Pipelines successfully started running 1 pipeline(s).<br>

</samp>