diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a3ead3e8..50436d83 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,4 @@ +default_install_hook_types: [pre-commit, pre-push] repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.2.1 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d53f26cb..56452b54 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,7 +5,7 @@ To use the same dev environment as us, you'll want to run these commands: ```sh pip install .[dev] -pre-commit install --hook-type pre-commit --hook-type pre-push +pre-commit install ``` This will install dependencies & build tools,