-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to explicitly set black version in pre-commit? #122
Comments
this should definitely be possible, but I'm not quite sure where to put it. I would probably suggest to do that in the project's repos:
- repo: https://github.com/psf/black
rev: 22.1.0
hooks:
- id: black
- repo: https://github.com/keewis/blackdoc
rev: v0.3.4
hooks:
- id: blackdoc
additional_dependencies: ["black==22.1.0"]
- id: sync-black-version where the |
I agree it shouldn't be in the (TBC, it's completely your call and I'm asking because I use |
My main concern was that |
notes to myself: it looks like |
Quoting pydata/xarray#6290 (comment)
Again — thank you for the excellent tool!
The text was updated successfully, but these errors were encountered: