auto-walrus..............................................................Failed
- hook id: auto-walrus
- exit code: 1
Traceback (most recent call last):
File "/home/karlwooster/.cache/pre-commit/repo1ulum2zu/py_env-python3.10/bin/auto-walrus", line 5, in <module>
from auto_walrus import main
File "/home/karlwooster/.cache/pre-commit/repo1ulum2zu/py_env-python3.10/lib/python3.10/site-packages/auto_walrus.py", line 17, in <module>
import tomli as tomllib
ModuleNotFoundError: No module named 'tomli'
Traceback (most recent call last):
File "/home/karlwooster/.cache/pre-commit/repo1ulum2zu/py_env-python3.10/bin/auto-walrus", line 5, in <module>
from auto_walrus import main
File "/home/karlwooster/.cache/pre-commit/repo1ulum2zu/py_env-python3.10/lib/python3.10/site-packages/auto_walrus.py", line 17, in <module>
import tomli as tomllib
ModuleNotFoundError: No module named 'tomli'
Traceback (most recent call last):
File "/home/karlwooster/.cache/pre-commit/repo1ulum2zu/py_env-python3.10/bin/auto-walrus", line 5, in <module>
from auto_walrus import main
File "/home/karlwooster/.cache/pre-commit/repo1ulum2zu/py_env-python3.10/lib/python3.10/site-packages/auto_walrus.py", line 17, in <module>
import tomli as tomllib
ModuleNotFoundError: No module named 'tomli'
Traceback (most recent call last):
File "/home/karlwooster/.cache/pre-commit/repo1ulum2zu/py_env-python3.10/bin/auto-walrus", line 5, in <module>
from auto_walrus import main
File "/home/karlwooster/.cache/pre-commit/repo1ulum2zu/py_env-python3.10/lib/python3.10/site-packages/auto_walrus.py", line 17, in <module>
import tomli as tomllib
ModuleNotFoundError: No module named 'tomli'
Traceback (most recent call last):
File "/home/karlwooster/.cache/pre-commit/repo1ulum2zu/py_env-python3.10/bin/auto-walrus", line 5, in <module>
from auto_walrus import main
File "/home/karlwooster/.cache/pre-commit/repo1ulum2zu/py_env-python3.10/lib/python3.10/site-packages/auto_walrus.py", line 17, in <module>
import tomli as tomllib
ModuleNotFoundError: No module named 'tomli'
I'm not really sure how to debug this in a pre-commit environment.
I'm using poetry and my python version is 3.10.12.