Move inconsistent namespace check to pre-commit, fixup more files
xref https://github.com/pandas-dev/pandas/pull/37401#discussion_r515312381
Good catch, thiat one wasn't picked up because the first instance of `Categorical` in that file doesn't have an open parenthesis after it. Have updated (with a little test too) ok this looks good, can you merge master one more time and ping on green. restarted the docbuild, which looked like an HTTPError Thanks - @jreback green now