forked from khanlab/snakebids
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
41 lines (41 loc) · 957 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
---
default_language_version:
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: local
hooks:
- id: isort
entry: poetry run isort
name: isort
language: system
types_or: [cython, pyi, python]
- repo: local
hooks:
- id: black
entry: poetry run black
name: black
language: system
types_or: [cython, pyi, python]
- repo: local
hooks:
- id: system
name: Ruff
entry: poetry run ruff
language: system
exclude: \._py\}\}$
types_or: [cython, pyi, python]
- repo: local
hooks:
- id: pyright
name: pyright
entry: poetry run pyright
language: system
exclude: ^docs
types_or: [cython, pyi, python]