-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
executable file
·43 lines (38 loc) · 1002 Bytes
/
.pre-commit-config.yaml
File metadata and controls
executable file
·43 lines (38 loc) · 1002 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
37
38
39
40
41
42
43
fail_fast: True
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-yaml
exclude: 'docs/.*'
- id: trailing-whitespace
exclude: 'docs/.*'
- id: name-tests-test
args: ["--pytest-test-first"]
exclude: 'docs/.*'
- id: check-added-large-files
args: ["--maxkb=10"]
- id: check-docstring-first
exclude: 'docs/.*'
- id: check-case-conflict
exclude: 'docs/.*'
- id: check-shebang-scripts-are-executable
exclude: 'docs/.*'
- repo: https://github.com/gitleaks/gitleaks
rev: v8.16.1
hooks:
- id: gitleaks
exclude: '.*/tests/.*'
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.3
hooks:
- id: ruff
- id: ruff-format
- repo: local
hooks:
- id: local-ty
name: ty check
entry: uv run ty check .
require_serial: true
language: python
pass_filenames: false