-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.pre-commit-config.yaml
47 lines (42 loc) · 1.12 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
repos:
- repo: local
hooks:
- id: black
name: black
entry: black
language: system
files: \.py$
stages: [pre-commit]
types: [python]
- id: pylint
name: PyLint
entry: pylint --rcfile=.pylintrc
language: system
files: \.py$
types: [python]
stages: [pre-commit]
- id: mypy
name: mypy
entry: mypy
language: system
files: \.py$
stages: [ pre-commit ]
- id: jupyter-nb-clear-output
name: jupyter-nb-clear-output
files: \.ipynb$
stages: [pre-commit]
language: system
entry: jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace
- id: sphinx-checking
name: Checking Sphinx building
entry: sphinx-build -M html docs/source/ docs/build -W --keep-going
language: system
files: ^(docs/.*|pandora/.*)$
pass_filenames: False
stages: [pre-push]
- id: meson
name: meson
language: python
entry: meson format -e -i
files: ^(.*/)?(meson\.build|meson\.format|meson\.options)$
additional_dependencies: ['meson==1.6.1']