You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on a repo i cant share publically we have a linting stage that invokes black via pre-commit
on occasion we observe an "aborted" from black in that pileline,
resulting in output like
$ pre-commit run --all
[INFO] Initializing environment for https://github.com/asottile/reorder_python_imports.
[INFO] Initializing environment for https://github.com/ambv/black.
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Initializing environment for https://github.com/asottile/pyupgrade.
[INFO] Installing environment for https://github.com/asottile/reorder_python_imports.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/asottile/pyupgrade.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/ambv/black.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
Reorder python imports...................................................Passed
black....................................................................Failed
hookid: black
Aborted!
Trim Trailing Whitespace.................................................Passed
Fix End of Files.........................................................Passed
Check Yaml...............................................................Passed
Debug Statements (Python)................................................Passed
Flake8...................................................................Passed
pyupgrade................................................................Passed
This is fixed on master but there hasn't been a release.
#673 (comment) outlines the workaround until black makes a tagged release (or you can pre-commit autoupdate --bleeding-edge https://github.com/ambv/black)
on a repo i cant share publically we have a linting stage that invokes black via pre-commit
on occasion we observe an "aborted" from black in that pileline,
resulting in output like
the pre-commit configuration is
the error only crops up on rare occasions and i would appreciate suggestions for better debugging
we are running it under a gitlab ci runner
cc @asottile
The text was updated successfully, but these errors were encountered: