Closed akhmerov closed 2 years ago
Install libenchant?
I'm not sure how to achieve this within pre-commit paradigm. I understand that it works locally due to relying on a globally installed library, but I don't think this would work e.g. in pre-commit CI.
There the two pathways are either specifying dependencies using conda or pip, and conda-forge version of libenchant seems to not work with pyenchant: I see OSError: /home/anton/miniconda3/envs/py39/lib/enchant-2: cannot read file data: Is a directory
Perhaps pyenchant can be replaced with something more portable, e.g., pyspellchecker.
This is blocked by https://github.com/barrust/pyspellchecker/issues/122.
I've now removed pyenchant as a dependency.
Wow, excellent, thank you very much!
I'm trying to configure
betterbib update
to work as a pre-commit hook, but right now it fails because of lackinglibenchant
. Is there no workaround?