-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
52 lines (45 loc) · 1.12 KB
/
.pre-commit-config.yaml
File metadata and controls
52 lines (45 loc) · 1.12 KB
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
44
45
46
47
48
49
50
51
52
default_language_version:
python: python3.13
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-merge-conflict
name: Check for merge conflict strings
- id: end-of-file-fixer
name: Fix missing newline at the end of files
- id: check-yaml
name: Check pipelines configuration
files: ^(.github)
- repo: local
hooks:
- id: run_black
name: black
entry: .venv/bin/black .
language: system
types: [python]
- repo: local
hooks:
- id: lint-githubactions
name: Lint github actions
entry: scripts/lint-githubactions.sh
language: system
files: ^.github
types_or: [yaml]
pass_filenames: false
- repo: local
hooks:
- id: run_pyright
name: pyright
entry: .venv/bin/pyright
language: system
types: [python]
- repo: local
hooks:
- id: run_flake8
name: flake8
entry: .venv/bin/flake8
language: system
types: [python]
fail_fast: false
default_stages: [pre-commit, pre-commit]