forked from Z2PackDev/TBmodels
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
41 lines (37 loc) · 972 Bytes
/
.pre-commit-config.yaml
File metadata and controls
41 lines (37 loc) · 972 Bytes
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
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.7.2
hooks:
- id: pyupgrade
args: [--py36-plus]
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
language: system
types: [python]
exclude: "^(doc/)|(examples/)|(playground/)|(utils/)"
- id: mypy
name: mypy
entry: mypy
language: python
types: [python]
#args: [--scripts-are-modules]
require_serial: true
exclude: "^(doc/)|(examples/)|(playground/)"
args: []
- id: interpolate-workflows
name: Interpolate Github workflows
entry: python ./utils/interpolate_yaml_anchors.py
language: system
files: |
(?x)^(
.github/(.)*|
utils/interpolate_yaml_anchors.py
)$
pass_filenames: false