File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ extends : [ '@commitlint/config-conventional' ]
3
+ } ;
Original file line number Diff line number Diff line change 8
8
rev : v0.8.4
9
9
hooks :
10
10
- id : ruff
11
- - id : ruff-format
11
+ - id : ruff-format
12
+ - repo : https://github.com/alessandrojcm/commitlint-pre-commit-hook
13
+ rev : v9.20.0
14
+ hooks :
15
+ - id : commitlint
16
+ stages : [commit-msg]
17
+ additional_dependencies : ['@commitlint/config-conventional']
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ Contributing to trame
5
5
#. Clone the repository using ``git clone ``
6
6
#. Install pre-commit via ``pip install pre-commit ``
7
7
#. Run ``pre-commit install `` to set up pre-commit hooks
8
+ #. Run ``pre-commit install --hook-type commit-msg `` to register commit-msg hook
8
9
#. Make changes to the code, and commit your changes to a separate branch
9
10
#. Create a fork of the repository on GitHub
10
11
#. Push your branch to your fork, and open a pull request
You can’t perform that action at this time.
0 commit comments