Closed
Description
Instead of duplicating these lines
pandas/.pre-commit-config.yaml
Lines 42 to 45 in e39ea30
pandas/.pre-commit-config.yaml
Lines 79 to 83 in e39ea30
we would use a yaml anchor
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