-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.pre-commit-config.yaml
44 lines (41 loc) · 1.11 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.0.1"
hooks:
# - id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
# - repo: https://github.com/hakancelik96/unimport
# rev: "0.8.4"
# hooks:
# - id: unimport
# args: [--remove, --requirements, --include-star-import]
- repo: https://github.com/pycqa/isort
rev: "5.12.0"
hooks:
- id: isort
name: isort (python)
# files: "pp/.*"
# args: ["--profile", "black", "--filter-files"]
- repo: https://github.com/psf/black
rev: "22.3.0"
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: "3.9.2"
hooks:
- id: flake8
# - repo: https://github.com/kynan/nbstripout
# rev: "0.5.0"
# hooks:
# - id: nbstripout
# # files: ".ipynb"
# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: ""
# hooks:
# - id: mypy
# exclude: ^(docs/|example-plugin/|tests/fixtures)
# - repo: https://github.com/pycqa/pydocstyle
# rev: ""
# hooks:
# - id: pydocstyle