-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
67 lines (58 loc) · 1.65 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
64
65
66
67
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: check-added-large-files
- id: debug-statements
- id: check-json
- id: pretty-format-json
args: [ "--autofix", "--no-ensure-ascii", "--no-sort-keys" ]
- repo: https://github.com/asottile/seed-isort-config
rev: v2.2.0
hooks:
- id: seed-isort-config
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/ambv/black
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: 3.9.2
hooks:
- id: flake8
additional_dependencies:
[
"flake8-assertive",
"flake8-comprehensions",
"flake8-mutable",
"flake8-print",
"flake8-self",
"pep8-naming",
]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.942
hooks:
- id: mypy
additional_dependencies: [types-termcolor]
- repo: https://github.com/hyroai/lint
rev: 96a6998defb11e34d1057cc79616481565f568e3
hooks:
- id: static-analysis
- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
hooks:
- id: codespell
entry: codespell --ignore-words=.codespell_ignore --quiet-level=4 --check-filenames
exclude: \.(csv|json|txt)$
- repo: https://github.com/myint/autoflake
rev: v1.4
hooks:
- id: autoflake
entry: autoflake -i --remove-all-unused-imports
- repo: https://github.com/alan-turing-institute/CleverCSV-pre-commit
rev: v0.7.5
hooks:
- id: clevercsv-standardize