-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
36 lines (33 loc) · 919 Bytes
/
.pre-commit-config.yaml
File metadata and controls
36 lines (33 loc) · 919 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
35
36
default_stages: [pre-commit]
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.15
hooks:
- id: ruff-check
priority: 1
args: [--fix]
- id: ruff-format
priority: 0
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-toml
priority: 0
- id: check-yaml
priority: 0
- id: trailing-whitespace
priority: 0
- id: check-merge-conflict
priority: 0
- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.21.2
hooks:
- id: pyproject-fmt
priority: 0
additional_dependencies: [toml-fmt-common<1.3.3] # removed after fix https://github.com/tox-dev/toml-fmt/issues/355
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v2.1.0
hooks:
- id: mypy
priority: 1
files: openfeature|tests/typechecking