forked from dabeaz-course/practical-python
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.pre-commit-config.yaml
42 lines (40 loc) · 1.13 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: ""
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
# - repo: https://github.com/hakancelik96/unimport
# rev: stable
# hooks:
# - id: unimport
# args: [--remove, --requirements, --include-star-import]
# - repo: https://github.com/pycqa/isort
# rev: ""
# hooks:
# - id: isort
# files: "Work/.*"
# args: ["--profile", "black", "--filter-files"]
- repo: https://github.com/psf/black
rev: ""
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: ""
hooks:
- id: flake8
- repo: https://github.com/kynan/nbstripout
rev: master
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