-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
54 lines (46 loc) · 1.19 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
# If you see me, please update my `rev` field using the provided links
# Click the repo and update to latest tags.
# If things break on update, raise an issue
repos:
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort
name: isort imports imfas
files: imfas
- id: isort
name: isort imports tests
files: tests
- repo: https://github.com/ambv/black
rev: 22.1.0
hooks:
- id: black
name: black formatter imfas
files: imfas
- id: black
name: black formatter tests
files: tests
- id: black
name: black formatter examples
files: examples
- repo: https://github.com/pycqa/pydocstyle
rev: 6.1.1
hooks:
- id: pydocstyle
files: imfas
additional_dependencies: ["toml"] # Needed to parse pyproject.toml
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.930
hooks:
- id: mypy
name: mypy imfas
files: imfas
- repo: https://gitlab.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8
name: flake8 imfas
files: imfas
- id: flake8
name: flake8 tests
files: tests