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
First of all, thanks for this project I used since so many years ago!
I'm new to pre-commit hooks so I'm not sure but it take me a while to found out how to use this pre-commit hooks!
For instance, I discover that in the virtualenv created by pre-commit, pylama try to import config_toml.py but would failed because toml and types-toml python packages are missing from that virtualenv...
Probably there is still something wrong with dependencies?
Or at least, I miss some docs / examples on how to use it ?
(optional) a list of dependencies that will be installed in the environment where this hook gets run. One useful application is to install plugins for hooks such as eslint.
Hi,
First of all, thanks for this project I used since so many years ago!
I'm new to pre-commit hooks so I'm not sure but it take me a while to found out how to use this pre-commit hooks!
For instance, I discover that in the virtualenv created by pre-commit, pylama try to import config_toml.py but would failed because toml and types-toml python packages are missing from that virtualenv...
Probably there is still something wrong with dependencies?
Or at least, I miss some docs / examples on how to use it ?
Anyway, here is my temporary work-around:
By specifiying
additional_dependencies
, the hook is now reading my pyproject.toml config as expected without any fails.And BTW like the doc say, don't forgot to install pylama with :
pip install pylama[toml]
orpoetry add -D pylama[toml]
Thanks for feedbacks!
The text was updated successfully, but these errors were encountered: