-
Notifications
You must be signed in to change notification settings - Fork 11
/
.pre-commit-config.yaml
61 lines (54 loc) · 1.27 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
---
repos:
- repo: https://github.com/miki725/importanize
rev: '0.7'
hooks:
- id: importanize
language_version: python3
- repo: https://github.com/psf/black
rev: 22.12.0
hooks:
- id: black
additional_dependencies: ["click==8.0.4"]
language_version: python3
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
hooks:
- id: pyupgrade
args: [--py3-plus]
- repo: https://github.com/myint/docformatter
rev: v1.5.1
hooks:
- id: docformatter
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8
exclude: deployment/roles
additional_dependencies:
- flake8-bugbear
- flake8-comprehensions
- flake8-debugger
- repo: https://github.com/mgedmin/check-manifest
rev: '0.49'
hooks:
- id: check-manifest
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: check-builtin-literals
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-xml
- id: check-yaml
- id: debug-statements
- id: trailing-whitespace
- id: mixed-line-ending
args: [--fix=lf]
- id: pretty-format-json
args: [--autofix]