STYLE use yaml anchors in .pre-commit-config.yaml for flake8
Instead of duplicating these lines

https://github.com/pandas-dev/pandas/blob/e39ea3024cebb4e7a7fd35972a44637de6c41650/.pre-commit-config.yaml#L42-L45

https://github.com/pandas-dev/pandas/blob/e39ea3024cebb4e7a7fd35972a44637de6c41650/.pre-commit-config.yaml#L79-L83

we would use a [yaml anchor](https://ktomk.github.io/writing/yaml-anchor-alias-and-merge-key.html)

See here for an example of how that works https://github.com/psf/black/pull/2459/files

---

This would also mean being able to get rid of a big part of https://github.com/pandas-dev/pandas/blob/e39ea3024cebb4e7a7fd35972a44637de6c41650/scripts/sync_flake8_versions.py