forked from Textualize/trogon
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pre-commit-config.yaml
34 lines (34 loc) · 1.03 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
---
repos:
- repo: 'https://github.com/pre-commit/pre-commit-hooks'
rev: 'v4.5.0'
hooks:
- id: 'check-added-large-files'
- id: 'check-executables-have-shebangs'
# - id: check-json
- id: 'check-shebang-scripts-are-executable'
- id: 'check-merge-conflict'
- id: 'check-symlinks'
- id: 'check-toml'
- id: 'end-of-file-fixer'
- id: 'mixed-line-ending'
- id: 'trailing-whitespace'
# - repo: 'https://github.com/scop/pre-commit-shfmt'
# rev: 'v3.8.0-1'
# hooks:
# - id: 'shfmt'
# args: ['-w', '-s', '-i', '2']
# - id: 'myke-py-format'
# name: 'myke py format'
# entry: 'myke py format'
# description: 'Format Python project.'
# language: 'python'
# types: ['python']
# pass_filenames: false
# - id: 'myke-py-check'
# name: 'myke py check --critical'
# entry: 'myke py check --critical'
# description: 'Check Python project for critical errors.'
# language: 'python'
# types: ['python']
# pass_filenames: false