STYLE exclude io from inconsistent namespace check
xref https://github.com/pandas-dev/pandas/pull/40069#issuecomment-786931356

- [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