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

Pre-commit fails on exit code 3 #152

Closed
omer-za opened this issue Mar 28, 2022 · 3 comments
Closed

Pre-commit fails on exit code 3 #152

omer-za opened this issue Mar 28, 2022 · 3 comments
Labels
invalid This doesn't seem right

Comments

@omer-za
Copy link

omer-za commented Mar 28, 2022

Since 2 days ago the pre-commit action fails consistently on exit code 3
See details in screenshot:
image

Any idea what changed?

@asottile
Copy link
Member

this is not a problem with pre-commit nor pre-commit/action but whatever hook you've configured which has an assets and pre_commit_hooks top level but no packages / py_modules definition as the error code indicates

also just a tip for the future for open source: don't post screenshots of text they are (1) inaccessible (can't be viewed with contrast / font size / other settings and can't be accessed by screenreaders) (2) unsearchable (3) undiscoverable

@asottile
Copy link
Member

also don't elide output in errors -- your actual problem is just barely off screen

@asottile asottile added the invalid This doesn't seem right label Mar 28, 2022
@fdansey-ostmodern
Copy link

I think the problem was in this pre-commit hook repo: jumanjihouse/pre-commit-hook-yamlfmt#33.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Development

No branches or pull requests

3 participants