forked from ChelseaKR/power-content-check
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
31 lines (28 loc) · 866 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
31 lines (28 loc) · 866 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
# Local mirror of the checks CI runs. `make verify` remains the gate; this is
# the fast feedback loop, not a substitute for it.
minimum_pre_commit_version: "3.5.0"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-added-large-files
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.16.3
hooks:
- id: ruff-check
args: [--fix]
- id: ruff-format
- repo: local
hooks:
- id: no-dashes
name: no em dashes or en dashes
entry: python3 scripts/check_no_dashes.py
language: system
pass_filenames: true
types_or: [python, markdown, yaml, toml, text]