opensafely-core / ehrql

ehrQL: the electronic health record query language for OpenSAFELY
https://docs.opensafely.org/ehrql/
Other
6 stars 3 forks source link

Stop pre-commit passing filenames to `just check` #2020

Closed evansd closed 3 months ago

evansd commented 3 months ago

This does mean that pre-commit will fail on ill-formatted files which aren't part of your commit. But if you regularly have such files in your repo and you also like using pre-commit then you've just made two bad life choices.

Closes #2017

cloudflare-pages[bot] commented 3 months ago

Deploying databuilder-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: c6a84f1
Status: ✅  Deploy successful!
Preview URL: https://16de3426.databuilder.pages.dev
Branch Preview URL: https://evansd-pre-commit-fix.databuilder.pages.dev

View logs