forked from aiida-vasp/aiida-vasp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
45 lines (40 loc) · 902 Bytes
/
.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
exclude: '^(doc)|(cookiecutters)|(aiida_vasp/test_data)'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-json
- id: check-added-large-files
- id: double-quote-string-fixer
- id: forbid-new-submodules
- repo: https://github.com/pre-commit/mirrors-yapf
rev: v0.30.0
hooks:
- id: yapf
name: yapf
types: [python]
args: ['-i']
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
types: [python]
language: system
exclude: |
(?x)(
^tutorials/|
^examples/
)
- id: version-updater
name: updating version entries
language: system
entry: python ops/update_version.py
always_run: true
- repo: https://github.com/Lucas-C/pre-commit-hooks-markup
rev: v1.0.1
hooks:
- id: rst-linter