pre-commit CI fails on hooks with 'local' dependencies #254
Labels
flag:discuss
Flag issue that needs to be discussed before it can be implemented.
quick fix
Minimal planning and/or implementation work required.
See https://results.pre-commit.ci/run/github/567874792/1704917018.maEjX3MAQWuRwegTX2LaDw for example.
One of the pre-commit hooks we have in this repo is
docker-compose-check
which checks for valid compose files by runningdocker compose config
.This works fine when pre-commit is run locally, but errors out in CI because docker compose can't be found.
One option would be to use the
skip
config option in thepre-commit-config.yaml
to skipdocker-compose-check
in CI:https://pre-commit.ci/#configuration-skip
Other options:
Relevant open issues in pre-commit.ci:
We should also ensure
autofix_prs
is False in this repo https://pre-commit.ci/#configuration-autofix_prs.The text was updated successfully, but these errors were encountered: