-
Notifications
You must be signed in to change notification settings - Fork 17
/
.pre-commit-config.yaml
executable file
·44 lines (44 loc) · 1.14 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-yapf
rev: "v0.31.0"
hooks:
- id: yapf
args: ["--style=.style.yapf", "--parallel", "--in-place"]
- repo: https://github.com/asottile/seed-isort-config
rev: v2.2.0
hooks:
- id: seed-isort-config
- repo: https://github.com/pycqa/isort
rev: 5.9.3
hooks:
- id: isort
name: isort (python)
verbose: true
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
args: [picatrix]
language: system
types: [python]
# To be enabled later when all code type checks
# - id: pyright
# name: pyright
# entry: pyright
# language: node
# types: [python]
# pass_filenames: false
# additional_dependencies: ["[email protected]"]
- id: pytest-check
name: pytest-check
entry: pytest
language: system
pass_filenames: false
always_run: true