Skip to content

Commit

Permalink
ci: add support for pre-commit.ci
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Dec 30, 2022
1 parent 4b79396 commit 7df63ff
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ repos:
- id: debug-statements
- id: check-toml
- id: check-json
exclude: >
(?x)^(
.vscode/settings.json
)$
# This one is slow and doesn't check for much
# - detect-private-key
# This is very slow, so I recommend disabling it.
Expand Down Expand Up @@ -82,3 +86,14 @@ repos:
# language: system
# pass_filenames: false
# always_run: true
ci:
autofix_commit_msg: |
style: auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
autofix_prs: true
autoupdate_branch: ""
autoupdate_commit_msg: "build: pre-commit autoupdate"
autoupdate_schedule: weekly
skip: []
submodules: false

0 comments on commit 7df63ff

Please sign in to comment.