-
-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
34 lines (30 loc) · 791 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
34 lines (30 loc) · 791 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
repos:
- repo: https://github.com/psf/black
rev: 24.1.0
hooks:
- id: black
language_version: python3
- repo: https://github.com/PyCQA/isort
rev: 5.13.0
hooks:
- id: isort
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.1.3
hooks:
- id: ruff
args: [--fix]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.1
hooks:
- id: mypy
args: ["--ignore-missing-imports", "--show-error-codes", "src"]
pass_filenames: false
- repo: local
hooks:
- id: pyright
name: pyright (node)
entry: pyright --project ./pyrightconfig.json
language: node
pass_filenames: false
types: [python]
additional_dependencies: ["pyright"]