forked from Stephen-RA-King/piptools-sync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
63 lines (63 loc) · 1.48 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
repos:
- hooks:
- id: check-ast
- args:
- --maxkb=500
id: check-added-large-files
- id: fix-byte-order-marker
- id: check-case-conflict
- id: check-json
- id: check-merge-conflict
- id: check-symlinks
- id: check-toml
- id: check-xml
- id: check-yaml
- id: debug-statements
- id: detect-private-key
- id: end-of-file-fixer
- id: trailing-whitespace
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
- hooks:
- id: commitizen
stages:
- commit-msg
repo: https://github.com/commitizen-tools/commitizen
rev: v2.42.1
- hooks:
- args:
- --filter-files
id: isort
repo: https://github.com/pycqa/isort
rev: 5.12.0
- hooks:
- id: black
repo: https://github.com/psf/black
rev: 23.3.0
- hooks:
- additional_dependencies:
- flake8-simplify
args:
- --ignore=E800,F842,F841,W503
id: flake8
repo: https://github.com/pycqa/flake8
rev: 6.0.0
- hooks:
- args:
- --py39
id: pyupgrade
repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
- hooks:
- id: prettier
stages:
- commit
repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.6
- hooks:
- args:
- -s
- B101,B404,B603,B607
id: bandit
repo: https://github.com/PyCQA/bandit
rev: 1.7.5