Skip to content

Commit 77d4d30

Browse files
authored
Merge pull request #3 from commitizen-tools/feat/v3-ready
fix: update to v3
2 parents 51a77bb + d627dca commit 77d4d30

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# commitizen cz template
22

3-
cz template for [commitizen](https://github.com/Woile/commitizen)
3+
cz template for [commitizen](https://github.com/Woile/commitizen) v3
44

55
## Prerequiste
66
* Python 3.x
@@ -12,7 +12,7 @@ cz template for [commitizen](https://github.com/Woile/commitizen)
1212
1. Initialize project through cookiecutter
1313

1414
```sh
15-
cookiecutter gh:Lee-W/commitizen_cz_template
15+
cookiecutter gh:commitizen-tools/commitizen_cz_template
1616
```
1717

1818
Note that you don't need to add cz prefix in your project name and package name.
@@ -22,7 +22,9 @@ cz template for [commitizen](https://github.com/Woile/commitizen)
2222
4. Test through `cz --name cz_[cz_name] [command]`
2323
2424
## Lisence
25+
2526
[MIT](https://opensource.org/licenses/MIT)
2627
2728
## Author
29+
2830
[Lee-W](https://github.com/Lee-W/) ([email protected])

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ version = "0.1.0"
1717
requires = ["poetry>=0.12"]
1818
build-backend = "poetry.masonry.api"
1919

20+
[tool.poetry.plugins."commitizen.plugin"]
21+
cz_{{cookiecutter.cz_name}} = "{{cookiecutter.cz_name}}.cz_{{cookiecutter.cz_name}}:{{cookiecutter.cz_name | capitalize}}Cz"

{{cookiecutter.cz_name}}/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
## Usage
44

55
## Author
6+
67
{{cookiecutter.author_name}} ({{cookiecutter.email}})

{{cookiecutter.cz_name}}/cz_{{cookiecutter.cz_name}}.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,3 @@ def questions(self) -> list:
77

88
def message(self, answers: dict) -> str:
99
raise NotImplementedError("Not Implemented yet")
10-
11-
12-
discover_this = {{cookiecutter.cz_name | capitalize}}Cz

0 commit comments

Comments
 (0)