CI move validate unwanted patterns over to pre-commit
This becomes much simpler with pre-commit :smile: As with other PRs of this kind, the motivation for moving checks like these over to pre-commit is that they become cross-platform and that they provide faster feedback to devs

----

example: if I apply
```diff
diff --git a/pandas/io/formats/info.py b/pandas/io/formats/info.py
index 891b3ea7a..6c1075910 100644
--- a/pandas/io/formats/info.py
+++ b/pandas/io/formats/info.py
@@ -479,7 +479,7 @@ class DataFrameTableBuilder(TableBuilderAbstract):
         collected_dtypes = [
             f"{key}({val:d})" for key, val in sorted(self.dtype_counts.items())
         ]
-        self._lines.append(f"dtypes: {', '.join(collected_dtypes)}")
+        self._lines.append(" " f"dtypes: {', '.join(collected_dtypes)}")
 
     def add_memory_usage_line(self) -> None:
         """Add line containing memory usage."""
```
then I get
```console
$ pre-commit run unwanted-patterns-strings-to-concatenate --all
Check for use of not concatenated strings................................Failed
- hook id: unwanted-patterns-strings-to-concatenate
- exit code: 1

pandas/io/formats/info.py:482:String unnecessarily split in two by black. Please merge them manually.
```