3 ms·
Just have your CI run "pre-commit run —all-files"?
by quentindemetz 5y ago
Just have your CI run "pre-commit run —all-files"?
- LittlePeter 5y agoCI/CD runs from a virtual environment. I guess I have to install pre-commit framework into same virtual environment. Granted, I haven't really looked into it too deeply, so I am a bit embarrassed with my low-effort comment above :-).
- evanpurkhiser 5y agoHere's what we do at sentry.io :) https://github.com/getsentry/sentry/blob/4cf958535563a6b7443b961eac02ea161b3df095/.github/workflows/backend-lint.yml#L50-L79 https://github.com/getsentry/sentry/blob/4cf958535563a6b7443...