UCL-ARC / python-tooling

Python package template for new research software projects
http://github-pages.arc.ucl.ac.uk/python-tooling/
MIT License
43 stars 2 forks source link

Prettier no longer works as a pre-commit hook #483

Open dstansby opened 3 weeks ago

dstansby commented 3 weeks ago

Describe the Bug

Prettier is no longer supported as a pre-commit hook - see https://github.com/prettier/prettier/issues/15742. It's a long thread, but the TL;DR is that prettier don't want to adopt an 'official' plugin, and pre-commit doesn't want to host a hook.

Options seem to be:

To Reproduce

n/a

Expected Behaviour

n/a

Actual Behaviour

n/a

Additional Context

No response

paddyroddy commented 3 weeks ago

I'd vote 3 just because of scientific-python recommended. However, the real issue is the pre-commit maintainer, not prettier