-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
34 lines (31 loc) · 996 Bytes
/
.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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: destroyed-symlinks
# - id: end-of-file-fixer
- id: check-added-large-files
args: ['--maxkb=5120']
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-merge-conflict
- id: detect-private-key
- id: check-json
- id: check-toml
- id: check-yaml
# - repo: https://github.com/codingjoe/relint
# rev: 1.2.1
# hooks:
# - id: relint
# - repo: https://github.com/Lucas-C/pre-commit-hooks-safety
# rev: v1.2.2
# hooks:
# - id: python-safety-dependencies-check
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
name: isort (python)