-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml.jinja
More file actions
43 lines (40 loc) · 1.06 KB
/
.pre-commit-config.yaml.jinja
File metadata and controls
43 lines (40 loc) · 1.06 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
repos:
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
- id: forbid-binary
- id: script-must-have-extension
- id: shellcheck
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-added-large-files
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
args: [--allow-multiple-documents]
- id: detect-private-key
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: mixed-line-ending
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.10
hooks:
# Run the linter with fixes.
- id: ruff-check
types_or: [python, pyi]
args: ["--fix"]
- id: ruff-format
types_or: [python, pyi]
- repo: local
hooks:
- id: sync-issue-templates
name: Sync GitHub issue templates
entry: hooks/sync_issue_templates.sh
language: script
files: ^\.github/ISSUE_TEMPLATE/.*\.jinja$
pass_filenames: false
always_run: false