diff --git a/.gitattributes b/.gitattributes index aece420..6646089 100644 --- a/.gitattributes +++ b/.gitattributes @@ -7,6 +7,5 @@ /.editorconfig export-ignore /.gitattributes export-ignore /.gitignore export-ignore -/.pre-commit-config.yaml export-ignore /TESTING.md export-ignore /TROUBLESHOOTING.md export-ignore diff --git a/.github/workflows/pre-commit-auto-update.yml b/.github/workflows/pre-commit-auto-update.yml index cf9d376..726704f 100644 --- a/.github/workflows/pre-commit-auto-update.yml +++ b/.github/workflows/pre-commit-auto-update.yml @@ -20,7 +20,7 @@ jobs: set -x python -m pip install --upgrade pip pip install pre-commit - pre-commit autoupdate + pre-commit autoupdate --config="tests/.pre-commit-config.yaml" - name: Gather changes id: gather-changes diff --git a/.pre-commit-config.yaml b/tests/.pre-commit-config.yaml similarity index 88% rename from .pre-commit-config.yaml rename to tests/.pre-commit-config.yaml index 25906bc..c177426 100644 --- a/.pre-commit-config.yaml +++ b/tests/.pre-commit-config.yaml @@ -6,10 +6,10 @@ # $ brew install pre-commit # # 2. Install hooks -# $ pre-commit install +# $ pre-commit install --config="tests/.pre-commit-config.yaml" # # 3. Optionally, enable automatic updates -# $ pre-commit autoupdate +# $ pre-commit autoupdate --config="tests/.pre-commit-config.yaml" repos: - repo: https://github.com/psf/black rev: 24.10.0