Skip to content

Commit

Permalink
feat(pre-commit): add ci configurations (#6780)
Browse files Browse the repository at this point in the history
This PR adds a `ci` argument to the `pre-commit-config` with a few
properties to improve the overall configuration of pre-commit. This also
enables future changes to the pre-commit CI system from the config file
itself.

---------

Co-authored-by: Matthias Fey <matthias.fey@tu-dortmund.de>
  • Loading branch information
SauravMaheshkar and rusty1s authored Feb 23, 2023
1 parent 0224fd6 commit e564ba5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
ci:
autofix_prs: true
autoupdate_commit_msg: '[pre-commit.ci] pre-commit suggestions'
autoupdate_schedule: quarterly

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
Expand Down

0 comments on commit e564ba5

Please sign in to comment.