-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
40 lines (39 loc) · 1.01 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
repos:
- repo: local
hooks:
- id: rye-lint
name: rye-lint
description: "Lint Python via 'rye lint'"
entry: rye lint --fix
language: system
types_or: [python, pyi]
args: []
require_serial: true
additional_dependencies: []
minimum_pre_commit_version: "2.9.2"
- id: rye-format
name: rye-format
description: "Format Python via 'rye fmt'"
entry: rye fmt
language: system
types_or: [python, pyi]
args: []
require_serial: true
additional_dependencies: []
minimum_pre_commit_version: "2.9.2"
- id: rye-test
name: rye-test
description: "Test Python via 'rye test'"
entry: rye test
language: system
types_or: [python, pyi]
args: []
pass_filenames: false
require_serial: true
additional_dependencies: []
minimum_pre_commit_version: "2.9.2"
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.10.1'
hooks:
- id: mypy
files: src