Skip to content

Commit 8cbaf60

Browse files
authored
Move pre-commit configuration out of root directory (#911)
1 parent 29cca2e commit 8cbaf60

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@
77
/.editorconfig export-ignore
88
/.gitattributes export-ignore
99
/.gitignore export-ignore
10-
/.pre-commit-config.yaml export-ignore
1110
/TESTING.md export-ignore
1211
/TROUBLESHOOTING.md export-ignore

.github/workflows/pre-commit-auto-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
set -x
2121
python -m pip install --upgrade pip
2222
pip install pre-commit
23-
pre-commit autoupdate
23+
pre-commit autoupdate --config="tests/.pre-commit-config.yaml"
2424
2525
- name: Gather changes
2626
id: gather-changes
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
# $ brew install pre-commit
77
#
88
# 2. Install hooks
9-
# $ pre-commit install
9+
# $ pre-commit install --config="tests/.pre-commit-config.yaml"
1010
#
1111
# 3. Optionally, enable automatic updates
12-
# $ pre-commit autoupdate
12+
# $ pre-commit autoupdate --config="tests/.pre-commit-config.yaml"
1313
repos:
1414
- repo: https://github.com/psf/black
1515
rev: 24.10.0

0 commit comments

Comments
 (0)