-
Notifications
You must be signed in to change notification settings - Fork 2
/
.pre-commit-config.yaml
39 lines (35 loc) · 901 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
default_language_version:
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.5.0"
hooks:
- id: trailing-whitespace
- id: check-ast
- id: check-docstring-first
- id: check-json
- id: check-merge-conflict
- id: debug-statements
- id: end-of-file-fixer
- id: check-added-large-files
- id: check-case-conflict
- id: check-toml
- id: check-yaml
- repo: https://github.com/fpgmaas/deptry.git
rev: "0.12.0"
hooks:
- id: deptry
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.1"
hooks:
- id: ruff
args: ["--fix", "--exit-non-zero-on-fix"]
- repo: https://github.com/psf/black
rev: "23.10.0"
hooks:
- id: black
args: ["--preview"]
- repo: https://github.com/ComPWA/mirrors-pyright
rev: "v1.1.332"
hooks:
- id: pyright