Skip to content

Instantly share code, notes, and snippets.

@alunduil
Created October 25, 2020 09:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alunduil/790b9df8c312a18862022859a2280bf4 to your computer and use it in GitHub Desktop.
Save alunduil/790b9df8c312a18862022859a2280bf4 to your computer and use it in GitHub Desktop.
/home/alunduil/.cache/pre-commit/pre-commit.log
### version information
```
pre-commit version: 2.7.1
sys.version:
3.7.6 (default, Dec 18 2019, 19:23:55)
[GCC 9.2.0]
sys.executable: /home/alunduil/Projects/infrastructure/zfs-replicate/.direnv/python-3.7.6/bin/python3
os.name: posix
sys.platform: linux
```
### error information
```
An unexpected error has occurred: AssertionError: BUG: expected environment for python to be healthy() immediately after install, please open an issue describing your environment
```
```
Traceback (most recent call last):
File "/home/alunduil/Projects/infrastructure/zfs-replicate/.direnv/python-3.7.6/lib/python3.7/site-packages/pre_commit/error_handler.py", line 63, in error_handler
yield
File "/home/alunduil/Projects/infrastructure/zfs-replicate/.direnv/python-3.7.6/lib/python3.7/site-packages/pre_commit/main.py", line 369, in main
args=args.rest[1:],
File "/home/alunduil/Projects/infrastructure/zfs-replicate/.direnv/python-3.7.6/lib/python3.7/site-packages/pre_commit/commands/hook_impl.py", line 217, in hook_impl
return retv | run(config, store, ns)
File "/home/alunduil/Projects/infrastructure/zfs-replicate/.direnv/python-3.7.6/lib/python3.7/site-packages/pre_commit/commands/run.py", line 388, in run
install_hook_envs(hooks, store)
File "/home/alunduil/Projects/infrastructure/zfs-replicate/.direnv/python-3.7.6/lib/python3.7/site-packages/pre_commit/repository.py", line 206, in install_hook_envs
_hook_install(hook)
File "/home/alunduil/Projects/infrastructure/zfs-replicate/.direnv/python-3.7.6/lib/python3.7/site-packages/pre_commit/repository.py", line 87, in _hook_install
f'BUG: expected environment for {hook.language} to be healthy() '
AssertionError: BUG: expected environment for python to be healthy() immediately after install, please open an issue describing your environment
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment