pydata-sphinx-theme
pydata-sphinx-theme copied to clipboard
Prettier pre-commit has been archived
I have been banging my head because I changed computers and thought I had broken stuff on my end.
After debugging my setup, I noticed that for whatever reason, if I called pre-commit run --all-files
or tried to run pre-commit
as a git hook, it kept erroring, but calling it through tox
and pre-commit ci
seemed to work still.
I then realised that the prettier
pre-commit mirror had been archived due to prettier
breaking a lot of plugins (see https://github.com/pre-commit/mirrors-prettier/blob/main/README.md), so I assume I just hit a fresher install of dependencies which broke my prettier hook.
Considering this, it might be worth removing the hook from our pre-commit config as it is just a matter of time before this breaks in other places. I assume the alternative would be to use prettier
as a husky hook but not sure if that would be too much hassle.