Skip to content

Commit 67f36b8

Browse files
committed
Add initial pre-commit config
1 parent 83983e2 commit 67f36b8

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.pre-commit-config.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
ci:
2+
autofix_prs: false
3+
repos:
4+
# shared across repos:
5+
- repo: https://github.com/pre-commit/pre-commit-hooks
6+
rev: v4.1.0
7+
hooks:
8+
- id: check-added-large-files
9+
- id: check-case-conflict
10+
- id: check-executables-have-shebangs
11+
- id: check-merge-conflict
12+
- id: check-shebang-scripts-are-executable
13+
- id: check-symlinks
14+
- id: check-xml
15+
- id: check-yaml
16+
- id: destroyed-symlinks
17+
- id: end-of-file-fixer
18+
- id: mixed-line-ending
19+
args: ['--fix=lf']
20+
- id: trailing-whitespace
21+
- repo: https://github.com/python-jsonschema/check-jsonschema
22+
rev: 0.14.2
23+
hooks:
24+
- id: check-github-workflows
25+
- repo: https://github.com/Lucas-C/pre-commit-hooks
26+
rev: v1.1.13
27+
hooks:
28+
- id: forbid-tabs
29+
- id: remove-tabs
30+
# specific to scripts:
31+
- repo: https://github.com/pre-commit/pre-commit-hooks
32+
rev: v4.1.0
33+
hooks:
34+
- id: forbid-new-submodules

0 commit comments

Comments
 (0)