We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 67c82b4 + 42c55ba commit 172229dCopy full SHA for 172229d
1 file changed
.pre-commit-config.yaml
@@ -0,0 +1,24 @@
1
+default_language_version:
2
+ python: python3
3
+ci:
4
+ autofix_commit_msg: |
5
+ [pre-commit.ci] auto fixes from pre-commit hooks
6
+ autofix_prs: true
7
+ autoupdate_branch: 'pre-commit-autoupdate'
8
+ autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
9
+ autoupdate_schedule: monthly
10
+ skip: [no-commit-to-branch]
11
+ submodules: false
12
+repos:
13
+ - repo: https://github.com/pre-commit/pre-commit-hooks
14
+ rev: v4.6.0
15
+ hooks:
16
+ - id: check-yaml
17
+ exclude: 'meta.yaml'
18
19
+ rev: v4.4.0
20
21
+ - id: no-commit-to-branch
22
+ name: Prevent Commit to Main Branch
23
+ args: ["--branch", "main"]
24
+ stages: [pre-commit]
0 commit comments