forked from GEMDAT-repos/GEMDAT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
52 lines (52 loc) · 1.34 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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
---
exclude: |
(?x)
\.vol
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: end-of-file-fixer
- id: check-case-conflict
- id: check-docstring-first
- id: check-builtin-literals
- id: check-ast
- id: check-merge-conflict
- id: debug-statements
- id: double-quote-string-fixer
- repo: https://github.com/stefsmeets/nbcheckorder/
rev: v0.2.0
hooks:
- id: nbcheckorder
- repo: https://github.com/google/yapf
rev: v0.44.0
hooks:
- id: yapf
additional_dependencies:
- toml
- repo: https://github.com/myint/docformatter
rev: v1.7.2
hooks:
- id: docformatter
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.270
hooks:
- id: ruff
args: [--fix]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.3.0
hooks:
- id: mypy
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.7.0
hooks:
- id: nbqa-yapf
additional_dependencies: [toml, yapf]
types_or: [jupyter]
- id: nbqa-ruff
args: [--fix, --ignore=E402]
types_or: [jupyter]