STYLE use types_or in pre-commit
[pre-commit 2.9 adds support for types_or](https://github.com/pre-commit/pre-commit/releases/tag/v2.9.0), which would help clear up some of the less readable regexes like `\.(py|pyx|rst)$`, replacing them with `types_or: [python, cython, rst]`