[...]
Run pre-commit run --show-diff-on-failure --color=always --files $(git diff origin/main --name-only)
fatal: ambiguous argument 'origin/main': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
isort................................................(no files to check)Skipped
black-jupyter........................................(no files to check)Skipped
flake8...............................................(no files to check)Skipped
jupytext.............................................(no files to check)Skipped
Describe the bug The code is not linted in CI.
To Reproduce Steps to reproduce the behavior:
Expected behavior The pre-commit hooks should be run in CI
Supporting information See e.g. https://github.com/cta-observatory/nectarchain/actions/runs/10144120767/job/28046944606