STYLE: moving unwanted pattern check to precommit
- [x] closes #42123 
- [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



cool, thanks - can you remove "patterns" from ci/code_checks as well? (e.g. in line 20) @MarcoGorelli done. 
Please let me know if this looks okay. Thanks @debnathshoham 