Skip to content

Commit 499eba3

Browse files
committed
chore: make pre-commit output prettier
1 parent 6e14794 commit 499eba3

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.pre-commit-config.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repos:
44
- repo: local
55
hooks:
66
- id: generate-api-client
7-
name: "Generate: API TypeScript types"
7+
name: "Build: API TypeScript types"
88
entry: ./web/generate-api-typescript-client-pre-commit.sh
99
language: system
1010
pass_filenames: false
@@ -13,67 +13,67 @@ repos:
1313
rev: v3.4.0
1414
hooks:
1515
- id: conventional-pre-commit
16-
name: "Validate: commit message follows conventional standards"
16+
name: "Check: conventional formatted commit message"
1717
stages: [commit-msg]
1818

1919
- repo: https://github.com/pre-commit/pre-commit-hooks
2020
rev: v5.0.0
2121
hooks:
2222
- id: check-merge-conflict
23-
name: "Validate: no merge conflict strings"
23+
name: "Check: no merge conflict strings"
2424
- id: no-commit-to-branch
25-
name: "Validate: no commit to main"
25+
name: "Check: no commit to main"
2626
args: [--branch, main, --branch, master]
2727
stages: [commit-msg]
2828
- id: check-ast
29-
name: "Validate: parse .py files"
29+
name: "Check: parse .py files"
3030
language_version: python3.12
3131
- id: check-json
32-
name: "Validate: parse .json files"
32+
name: "Check: parse .json files"
3333
- id: check-toml
34-
name: "Validate: parse .toml files"
34+
name: "Check: parse .toml files"
3535
- id: check-yaml
36-
name: "Validate: parse .yaml files"
36+
name: "Check: parse .yaml files"
3737
- id: check-case-conflict
38-
name: "Validate: no case conflicting file names"
38+
name: "Check: no case conflicting file names"
3939
- id: trailing-whitespace
40-
name: "Lint: remove trailing whitespaces"
40+
name: "Lint : remove trailing whitespaces"
4141
exclude: ^web/src/api/generated/|^.*\.(lock)$
4242
- id: end-of-file-fixer
43-
name: "Lint: make files end with only newline"
43+
name: "Lint : files end with only newline"
4444
exclude: ^web/src/api/generated/|^.*\.(lock)$
4545
- id: mixed-line-ending
46-
name: "Lint: ensure file ending is consistent"
46+
name: "Lint : consistent file ending"
4747
exclude: ^.*\.(lock)$
4848
- id: detect-private-key
49-
name: "Validate: ensure no private keys are commited"
49+
name: "Check: no private keys are commited"
5050
exclude: api/src/tests/integration/mock_authentication.py
5151

5252
- repo: https://github.com/astral-sh/ruff-pre-commit
5353
rev: "v0.9.7"
5454
hooks:
5555
- id: ruff
56-
name: "Lint: ruff (python)"
56+
name: "Lint : ruff (python)"
5757
files: ^api/.*\.py$
5858
args: ["--fix"]
5959

6060
- id: ruff-format
61-
name: "Lint: ruff-format (python)"
61+
name: "Lint : ruff-format (python)"
6262
files: ^api/.*\.py$
6363

6464
- repo: https://github.com/biomejs/pre-commit
6565
rev: v0.6.1
6666
hooks:
6767
- id: biome-check
68-
name: "Lint: biome (ts/js)"
68+
name: "Lint : biome (ts/js)"
6969
additional_dependencies: ["@biomejs/biome@1.9.4"]
7070
args: ["--config-path", "web"]
7171

7272
- repo: https://github.com/codespell-project/codespell
7373
rev: v2.4.1
7474
hooks:
7575
- id: codespell
76-
name: "Lint: spelling"
76+
name: "Lint : spelling"
7777
description: Checks for common misspellings in text files.
7878
entry: codespell --toml=api/pyproject.toml
7979
exclude: documentation/docs/changelog/changelog.md

0 commit comments

Comments
 (0)