Skip to content
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

Installation and update of black over a docker container #4136

Closed
BollinaVenkataManoj opened this issue Dec 29, 2023 · 1 comment
Closed

Comments

@BollinaVenkataManoj
Copy link

Hey ,
i am using black as a pre-commit over a container and i am trying to install and update this plugin to use it over a application.

**this is my config

I am getting an error asking for some stage. i tried adding a stage parameter also but it is not picking it. any suggesting that you can give.

**Updating https://github.com/psf/black ... [INFO] Initializing environment for https://github.com/psf/black.

==> File /root/.cache/pre-commit/repomskuoqri/.pre-commit-hooks.yaml
==> At Hook(id='black')
==> At key: stages
==> At index 0
=====> Expected one of commit, commit-msg, manual, merge-commit, post-checkout, post-commit, prepare-commit-msg, push but got: 'pre-commit'**

@hauntsaninja
Copy link
Collaborator

20.8b1 is an extremely old version of Black, please update to something newer.

Note there's a similar issue affecting the latest release, see #4065 for some details

@hauntsaninja hauntsaninja closed this as not planned Won't fix, can't repro, duplicate, stale Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants