-
Notifications
You must be signed in to change notification settings - Fork 5
/
.pre-commit-config.yaml
38 lines (38 loc) · 937 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: local
hooks:
- id: commitizen
name: commitizen check
language: python
stages: [commit-msg]
entry: .venv/bin/cz check --allow-abort --commit-msg-file
- id: black
name: black
language: python
types: [python]
require_serial: true
entry: .venv/bin/black
- id: isort
name: isort
language: python
types: [python]
require_serial: true
entry: .venv/bin/isort --filter-files
- id: flake8
name: flake8
language: python
types: [python]
require_serial: true
entry: .venv/bin/flake8
- id: pyright
name: pyright
language: node
types: [python]
additional_dependencies: ["pyright@1.1.317"]
entry: pyright