-
Notifications
You must be signed in to change notification settings - Fork 105
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
39 lines (34 loc) · 948 Bytes
/
.pre-commit-config.yaml
File metadata and controls
39 lines (34 loc) · 948 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
exclude: "^$"
fail_fast: false
ci:
autofix_commit_msg: "[pre-commit.ci] auto fixes from pre-commit hooks"
autofix_prs: true
autoupdate_branch: "develop"
autoupdate_commit_msg: "[pre-commit.ci] pre-commit autoupdate"
autoupdate_schedule: monthly
skip: []
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-added-large-files
- id: debug-statements
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.10
hooks:
# Run the linter
- id: ruff-check
args: [--fix]
# Run the formatter
- id: ruff-format
- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.407
hooks:
- id: pyright
additional_dependencies: [types-PyYAML]
- repo: https://github.com/twisted/towncrier
rev: 24.8.0
hooks:
- id: towncrier-check