Skip to content

Commit 9b02ad4

Browse files
committed
Add a basic pre-commit-config, with some more stricter checks to implement for later
1 parent 0d2918a commit 9b02ad4

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.pre-commit-config.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v3.2.0
6+
hooks:
7+
- id: trailing-whitespace
8+
- id: end-of-file-fixer
9+
- id: check-yaml
10+
- id: check-added-large-files
11+
# - repo: https://github.com/shellcheck-py/shellcheck-py
12+
# rev: v0.10.0.1
13+
# hooks:
14+
# - id: shellcheck
15+
# - repo: https://github.com/openstack/bashate
16+
# rev: 2.1.1
17+
# hooks:
18+
# - id: bashate

0 commit comments

Comments
 (0)