diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 37fb5ef..866e572 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,6 +23,8 @@ repos: - id: debug-statements - id: pretty-format-json exclude: (\.ipynb$) + - id: no-commit-to-branch + args: [--branch, main] - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version.