-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.pre-commit-config.yaml
59 lines (59 loc) · 1.36 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
default_stages:
- commit
repos:
- hooks:
- id: commitizen
stages:
- commit-msg
repo: https://github.com/commitizen-tools/commitizen
rev: v2.28.0
- hooks:
- id: check-added-large-files
- id: check-merge-conflict
- id: debug-statements
- id: detect-private-key
- id: requirements-txt-fixer
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
- hooks:
- args:
- --autofix
- --indent
- '2'
id: pretty-format-yaml
repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.4.0
- hooks:
- id: black
language_version: python3
repo: https://github.com/python/black
rev: 22.6.0
- hooks:
- additional_dependencies:
- flake8-comprehensions>=3.1.0
id: flake8
language: python_venv
repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
- hooks:
- args:
- --install-types
- --non-interactive
- --ignore-missing-import
files: circlify.py
id: mypy
repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.961
- hooks:
- id: tests
entry: python -m unittest
language: system
name: tests
pass_filenames: false
repo: local
- hooks:
- id: remark
args: [--output, --frail] # list of args for remark
additional_dependencies: [[email protected], [email protected]]
repo: https://github.com/MaratFM/pre-commit-remark
rev: 1.0.0