-
-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Labels
Description
Instead of duplicating these lines
pandas/.pre-commit-config.yaml
Lines 42 to 45 in e39ea30
additional_dependencies: | |
- flake8-comprehensions==3.1.0 | |
- flake8-bugbear==21.3.2 | |
- pandas-dev-flaker==0.2.0 |
pandas/.pre-commit-config.yaml
Lines 79 to 83 in e39ea30
additional_dependencies: | |
- flake8==3.9.2 | |
- flake8-comprehensions==3.1.0 | |
- flake8-bugbear==21.3.2 | |
- pandas-dev-flaker==0.2.0 |
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