-
Notifications
You must be signed in to change notification settings - Fork 84
/
.pre-commit-config.yaml
46 lines (45 loc) · 1.08 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
repos:
- repo: local
hooks:
- id: chart-lint
name: Linting Charts with Chart Testing
entry: make chart-lint
pass_filenames: false
files: ^(charts|exporters)/
language: system
- id: shellcheck
name: 🐚 📋 Linting shell scripts with shellcheck
entry: make shellcheck
pass_filenames: false
types: [shell]
language: system
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
args:
- --check
- --diff
- repo: https://github.com/psf/black
rev: 22.6.0
hooks:
- id: black
args:
- --check
- --diff
- repo: https://github.com/klen/pylama
rev: 8.4.1
hooks:
- id: pylama
name: 🐍 🦙 Linting with pylama
additional_dependencies:
- toml
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: check-added-large-files
# - id: end-of-file-fixer
# - id: trailing-whitespace
ci:
autofix_commit_msg: 🎨 pre-commit auto format
autoupdate_commit_msg: ⬆ pre-commit auto update