-
Notifications
You must be signed in to change notification settings - Fork 4
/
.pre-commit-config.yaml
36 lines (36 loc) · 1.54 KB
/
.pre-commit-config.yaml
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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.6
hooks:
- id: ruff
args: [ --fix ]
- id: ruff-format
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.4.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 cintinuous 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 behaviour
- 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