8000 refactor(cz): renamed angular cz to conventional changelog cz · ranshamay/commitizen@f8165da · GitHub
[go: up one dir, main page]

Skip to content

Commit f8165da

Browse files
committed
refactor(cz): renamed angular cz to conventional changelog cz
1 parent fa4fcda commit f8165da

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Based on `conventional commits <https://conventionalcommits.org/>`_
3636
Commitizens
3737
===========
3838

39-
* `angular guidelines <https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit>`_
39+
* `angular's conventional-changelog <https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit>`_
4040

4141

4242

commitizen/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def get_parser(config):
5151

5252
def load_cfg():
5353
defaults = {
54-
'name': 'cz_angular'
54+
'name': 'cz_conventional_changelog'
5555
}
5656
config = RawConfigParser('')
5757

commitizen/cz/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import importlib
22
import pkgutil
3-
from commitizen.cz.cz_angular import AngularCz
3+
from commitizen.cz.cz_conventional_changelog import ConventionalChangelogCz
44

55

66
registry = {
@@ -11,5 +11,5 @@
1111
}
1212

1313
registry.update({
14-
'cz_angular': AngularCz
14+
'cz_conventional_changelog': ConventionalChangelogCz
1515
})

commitizen/cz/cz_angular.py renamed to commitizen/cz/cz_conventional_changelog.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
from commitizen.cz.cz_base import BaseCommitizen
33

44

5-
__all__ = ['AngularCz']
5+
__all__ = ['ConventionalChangelogCz']
66

77

8-
class AngularCz(BaseCommitizen):
8+
class ConventionalChangelogCz(BaseCommitizen):
99

1010
def questions(self):
1111
questions = [
@@ -120,7 +120,7 @@ def schema(self):
120120

121121
def info(self):
122122
dir_path = os.path.dirname(os.path.realpath(__file__))
123-
filepath = os.path.join(dir_path, 'cz_angular_info.txt')
123+
filepath = os.path.join(dir_path, 'cz_conventional_changelog_info.txt')
124124
with open(filepath, 'r') as f:
125125
content = f.read()
126126
return content

0 commit comments

Comments
 (0)
0