Skip to content

Commit 1433d66

Browse files
Add config for pre-commit bot (#488)
1 parent e8d5af5 commit 1433d66

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.pre-commit-config.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,12 @@ repos:
4646
language: system
4747
entry: python tools/generate_requirements.py
4848
files: "pyproject.toml|requirements/.*\\.txt|tools/generate_requirements.py"
49+
50+
ci:
51+
# This ensures that pr's aren't autofixed by the bot, rather you call
52+
# the bot to make the fix
53+
autofix_prs: false
54+
autofix_commit_msg: |
55+
'[pre-commit.ci 🤖] Apply code format tools to PR'
56+
# Update hook versions every month (so we don't get hit with weekly update pr's)
57+
autoupdate_schedule: monthly

0 commit comments

Comments
 (0)