forked from trypromptly/LLMStack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
37 lines (37 loc) · 1.01 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
exclude: migrations/*
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
files: \.py$
- id: end-of-file-fixer
files: \.py$
- id: check-yaml
files: \.py$
- id: debug-statements
files: \.py$
- id: double-quote-string-fixer
files: \.py$
- id: name-tests-test
files: \.py$
- id: requirements-txt-fixer
files: \.py$
- id: check-added-large-files
files: \.py$
- id: check-ast
files: \.py$
- id: check-byte-order-marker
files: \.py$
- id: check-case-conflict
files: \.py$
- repo: https://github.com/asottile/reorder-python-imports
rev: v3.10.0
hooks:
- id: reorder-python-imports
exclude: ^(pre_commit/resources/|testing/resources/python3_hooks_repo/)
args: [--py38-plus]
- repo: https://github.com/asottile/add-trailing-comma
rev: v3.0.1
hooks:
- id: add-trailing-comma