-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
39 lines (38 loc) · 1.61 KB
/
.pre-commit-config.yaml
File metadata and controls
39 lines (38 loc) · 1.61 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
default_install_hook_types: [pre-commit, commit-msg]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
- id: check-json
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.0
hooks:
- id: ruff
args: [ --fix ]
- id: ruff-format
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v4.2.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
args:
- build # changes of the build system or dependencies
- change # commit alters the implementation of an existing feature
- chore # technical or maintenance task not related to feature or user story
- ci # edits to the continuous integration scripts/configuration
- deprecate # a feature or functionality will be deprecated
- docs # add, update of revise the documentation
- feat # a new feature was implemented (bump MINOR version)
- fix # an issue or bug has been fixed (bump PATCH version)
- perf # performance improvements that do not alter existing behavior
- refac # update shuffles code around but does not alter functionality
- remove # a feature or functionality is removed
- style # source code is improved w.r.t. its code quality
- test # commits enhance or add to the test suite
- merge # merge one branch into another. Should be ignored by git-chglog
- revert # revert previous commit(s). Should be ignored by git-chglog