Move pre-commit configuration out of root directory (#911)

This commit is contained in:
Zach Borboa
2025-01-12 15:59:05 -05:00
committed by GitHub
parent 29cca2e48b
commit 8cbaf60cf0
3 changed files with 3 additions and 4 deletions
-1
View File
@@ -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
+1 -1
View File
@@ -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
@@ -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